ПРОЕКТЫ 


  АРХИВ 


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]

странная смерть worker-ов.



Здравствуйте,

я использую nginx для раздачи статики, а в случае если он не находит
файла на диске, он обращается на backend.

стал замечать, что в stub_status стала накапливаться статистика
(большие числа, не совпадающие с действительностью) и мне
порекомендовали проверить на тему умирающих worker-ов.

глянул в error.log, и в правду - nginx у меня сыпется постоянно.

2008/11/08 20:46:10 [error] 9393#0: *705757 open() 
"/data4/cache/gallery_cache/src/10078782-.jpg" failed (2: No such file or 
directory), client: 91.198.212.7, server: data4.gallery.ru, URL: 
"/albums/gallery/59376--10078782-.jpg", host: "data4.gallery.ru", referrer: 
"http://rrrinka.gallery.ru/watch?ph=pBQ-Qr7a&zoom=8";
2008/11/08 20:46:10 [error] 9393#0: *705395 open() 
"/data1/cache/gallery_cache/h200----1/6810039-h200----1.jpg" failed (2: No such 
file or directory), client: 81.94.29.61, server: albcache.gallery.ru, URL: 
"/gallery/0000044414-179066-6810039-h200----1.jpg", host: 
"albcache.gallery.ru", referrer: 
"http://www.diary.ru/~my-love-foto/p41752465.htm";
2008/11/08 20:46:10 [error] 9393#0: *705390 open() 
"/data1/cache/gallery_cache/h200----1/6810011-h200----1.jpg" failed (2: No such 
file or directory), client: 81.94.29.61, server: albcache.gallery.ru, URL: 
"/gallery/0000044414-179066-6810011-h200----1.jpg", host: 
"albcache.gallery.ru", referrer: 
"http://www.diary.ru/~my-love-foto/p41752465.htm";
2008/11/08 20:46:10 [error] 9393#0: *705389 open() 
"/data1/cache/gallery_cache/h200----1/6810040-h200----1.jpg" failed (2: No such 
file or directory), client: 81.94.29.61, server: albcache.gallery.ru, URL: 
"/gallery/0000044414-179066-6810040-h200----1.jpg", host: 
"albcache.gallery.ru", referrer: 
"http://www.diary.ru/~my-love-foto/p41752465.htm";
2008/11/08 20:46:10 [error] 9393#0: *705394 open() 
"/data1/cache/gallery_cache/h200----1/6810042-h200----1.jpg" failed (2: No such 
file or directory), client: 81.94.29.61, server: albcache.gallery.ru, URL: 
"/gallery/0000044414-179066-6810042-h200----1.jpg", host: 
"albcache.gallery.ru", referrer: 
"http://www.diary.ru/~my-love-foto/p41752465.htm";
2008/11/08 20:46:11 [error] 9393#0: *705395 open() 
"/data1/cache/gallery_cache/h200----1/6810043-h200----1.jpg" failed (2: No such 
file or directory), client: 81.94.29.61, server: albcache.gallery.ru, URL: 
"/gallery/0000044414-179066-6810043-h200----1.jpg", host: 
"albcache.gallery.ru", referrer: 
"http://www.diary.ru/~my-love-foto/p41752465.htm";
2008/11/08 20:46:11 [error] 9393#0: *705389 open() 
"/data1/cache/gallery_cache/h200----1/6810044-h200----1.jpg" failed (2: No such 
file or directory), client: 81.94.29.61, server: albcache.gallery.ru, URL: 
"/gallery/0000044414-179066-6810044-h200----1.jpg", host: 
"albcache.gallery.ru", referrer: 
"http://www.diary.ru/~my-love-foto/p41752465.htm";
2008/11/08 20:46:12 [alert] 12655#0: worker process 9393 exited on signal 8

и вот таких, умершил on signal 8 - полно. умирают чуть ли не каждую
секунду:

2008/11/08 20:49:06 [alert] 12655#0: worker process 11983 exited on signal 8
2008/11/08 20:49:07 [alert] 12655#0: worker process 11841 exited on signal 8
2008/11/08 20:49:07 [alert] 12655#0: worker process 11906 exited on signal 8
2008/11/08 20:49:09 [alert] 12655#0: worker process 11917 exited on signal 8
2008/11/08 20:49:09 [alert] 12655#0: worker process 11992 exited on signal 8
2008/11/08 20:49:10 [alert] 12655#0: worker process 11997 exited on signal 8
2008/11/08 20:49:11 [alert] 12655#0: worker process 12033 exited on signal 8
2008/11/08 20:49:11 [alert] 12655#0: worker process 11976 exited on signal 8
2008/11/08 20:49:12 [alert] 12655#0: worker process 11999 exited on signal 8
2008/11/08 20:49:17 [alert] 12655#0: worker process 12056 exited on signal 8
2008/11/08 20:49:30 [alert] 12655#0: worker process 12046 exited on signal 8
2008/11/08 20:49:30 [alert] 12655#0: worker process 12082 exited on signal 8
2008/11/08 20:49:30 [alert] 12655#0: worker process 12266 exited on signal 8
2008/11/08 20:49:30 [alert] 12655#0: worker process 12074 exited on signal 8
2008/11/08 20:49:31 [alert] 12655#0: worker process 12280 exited on signal 8
2008/11/08 20:49:31 [alert] 12655#0: worker process 12126 exited on signal 8
2008/11/08 20:49:32 [alert] 12655#0: worker process 12286 exited on signal 8
2008/11/08 20:49:41 [alert] 12655#0: worker process 12305 exited on signal 8
2008/11/08 20:49:42 [alert] 12655#0: worker process 12279 exited on signal 8
2008/11/08 20:49:42 [alert] 12655#0: worker process 12402 exited on signal 8
2008/11/08 20:49:45 [alert] 12655#0: worker process 12405 exited on signal 8

Nginx версии 0.6.32, что делать?



Arkadiy Kulev                         mailto:eth@xxxxxxxxxxxx
+7 495 5070602
Moscow, Russia




 




Copyright © Lexa Software, 1996-2009.