на что влияет размер занимаемой памяти worker процессом?

Vasiliy G Tolstov v.tolstov at selfip.ru
Wed Oct 14 14:12:51 MSD 2009


Добрый день.

Занялся попыткой оптимизации памяти, используемой приложениями, и
заметил, что у меня 

ps ax -o user,pid,rss,size,args | grep nginx 

root      7363   692   240 grep --colour=auto nginx
root     11733   584   464 nginx: master process /usr/sbin/nginx
-c /etc/nginx/nginx-mx1.conf -g pid=/var/run/nginx-mx1.pid
nginx    11734 20484 20072 nginx: worker
process                                                     
root     11741   472   464 nginx: master process /usr/sbin/nginx
-c /etc/nginx/nginx-imap.conf -g pid=/var/run/nginx-imap.pid
nginx    11742 20960 20096 nginx: worker
process                                                       
root     11743   448   464 nginx: master process /usr/sbin/nginx
-c /etc/nginx/nginx-mx2.conf -g pid=/var/run/nginx-mx2.pid
nginx    11744 20408 20072 nginx: worker
process                                                     
root     11757   472   464 nginx: master process /usr/sbin/nginx
-c /etc/nginx/nginx-smtp.conf -g pid=/var/run/nginx-smtp.pid
nginx    11758 20260 20000 nginx: worker
process                                                       
root     11777   984   996 nginx: master process /usr/sbin/nginx
-c /etc/nginx/nginx.conf -g pid=/var/run/nginx.pid
nginx    11778 21708 21028 nginx: worker
process                                             
nginx    11781 21592 20984 nginx: worker
process                                             
nginx    11786  1328   996 nginx: cache manager process 

то есть worker процесс занимает 20 мегабайт памяти. На что влияет размер
занимаеомй памяти?

-- 
Vasiliy G Tolstov <v.tolstov at selfip.ru>
Selfip.Ru






More information about the nginx-ru mailing list