ПРОЕКТЫ 


  АРХИВ 


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]

nginx: [alert] sem_init() failed (28: No space left on device)


  • To: nginx-ru@xxxxxxxxx
  • Subject: nginx: [alert] sem_init() failed (28: No space left on device)
  • From: "igor.goncharenko" <nginx-forum@xxxxxxxx>
  • Date: Wed, 01 Jun 2011 02:47:28 -0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=YA+GeWRcH2xCeetpZKFJlvDTWALNuPn6eCwjhO0GnJI=; b=GdvleN+/3DnMNmHhfhXFUQa2IC2xecNyFSAQBGG6zNkCq23pCzN1YAjp2aCi1CMDT7caJEkSviQ3YYUN2gixK6c/YNRNuhuetxXtzAqwWBvb+ag5hb3gzMEYKHCz+xJF;

Hi!

После апгрейда freebsd на 8.2 и nginx на 1.0.3, при
старте стала появляться ошибка:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is
ok
nginx: [alert] sem_init() failed (28: No space left on device)
nginx: [alert] sem_init() failed (28: No space left on device)
nginx: [alert] sem_init() failed (28: No space left on device)
nginx: [alert] sem_init() failed (28: No space left on device)
{skip}
{43 ошибки}


Это связано с
http://forum.nginx.org/read.php?21,195519,195519#msg-195519

По умолчанию, sysctl p1003_1b.sem_nsems_max = 30 во freebsd
8.2. Похоже nginxу их не хватает. Увеличил
на:
nginx# sysctl p1003_1b.sem_nsems_max=64

ошибок стало меньше:
nginx# nginx -t
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is
ok
nginx: [alert] sem_init() failed (28: No space left on device)
nginx: [alert] sem_init() failed (28: No space left on device)
{skip}
{11 ошибок}

При nginx# sysctl p1003_1b.sem_nsems_max=128
ошибки исчезли:
nginx# nginx -t
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is
ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is
successful


Собственно, вопрос, какой критерий
увеличения p1003_1b.sem_nsems_max?


---
Igor

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,202865,202865#msg-202865


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.