ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

4 worker_connections is not enough while accepting new connection


  • To: nginx-ru@xxxxxxxxx
  • Subject: 4 worker_connections is not enough while accepting new connection
  • From: Roxis <roxis@xxxxxxx>
  • Date: Sat, 2 Jun 2007 18:30:58 +0200
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=mosSRsm4r+HpfLyA4AIk5XMOavj5ymxXEpmcLtUyA2TnE4qogNIcNbdWENt8xrlO9Nt0LxH2nCTCC+/rWUVwIejGBC9lkLdL0F26ESsVXjC9H/ss5QVCPrR14xzLe2KME6z2SnIA3jdtDsK+LcqqfBIgsS5YG38kQra3muH0kkM=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=QckokrVn7Q5vZ5tmcP9ogFT/W/yy/FnGhwRM74G+/MqV8WFMblB6RRym+El2FJzzpr2E6A4cKy0OpL9WMwThLvObO1NydjmQuMAP2lvBbKwcCaC+Ma5YuGUjHMTyI3FfloGWUmpFZW9hO+lsXOnYxHRhq8j5okJFCrp3EcD5Xzs=

Здравствуйте уважаемые,

С worker_connections 4 работают параллельно только 2 коннекта.
Хотелось бы узнать, куда деваются первых 2 коннекта и нет никакой очереди.

# nginx.conf
user www;
worker_processes 1;

events {
    worker_connections 4;
}

http {
error_log   logs/error.log  debug;

server {
    listen  127.0.0.1:80;
    root    /www;
}

}

# uname -srm
Linux 2.6.21.3 i686

# error.log
2007/06/02 18:03:39 [debug] 10187#0: accept on 127.0.0.1:80, ready: 0
2007/06/02 18:03:39 [debug] 10187#0: malloc: 080B1F78:256
2007/06/02 18:03:39 [debug] 10187#0: *3 accept: 127.0.0.1 fd:5
2007/06/02 18:03:39 [debug] 10187#0: *3 event timer add: 5: 60000:3979240381
2007/06/02 18:03:39 [debug] 10187#0: *3 epoll add event: fd:5 op:1 ev:80000001
2007/06/02 18:03:43 [debug] 10187#0: accept on 127.0.0.1:80, ready: 0
2007/06/02 18:03:43 [debug] 10187#0: malloc: 080B2080:256
2007/06/02 18:03:43 [debug] 10187#0: *4 accept: 127.0.0.1 fd:8
2007/06/02 18:03:43 [debug] 10187#0: *4 event timer add: 8: 60000:3979244103
2007/06/02 18:03:43 [debug] 10187#0: *4 epoll add event: fd:8 op:1 ev:80000001
2007/06/02 18:03:47 [debug] 10187#0: accept on 127.0.0.1:80, ready: 0
2007/06/02 18:03:47 [alert] 10187#0: 4 worker_connections is not enough while 
accepting new connection on 127.0.0.1:80



 




Copyright © Lexa Software, 1996-2009.