Welcome! Log In Create A New Profile

Advanced

Re: Nginx 0.8.54 кушает память 300mb/day

SaveFrom.net
March 14, 2011 06:14AM
В конфиге use epoll;
Прикрепил график потребления памяти. Спады - релоад ручками.


14 марта 2011 г. 12:28 пользователь Maxim Dounin <mdounin@masterhost.ru>написал:

> Hello!
>
> On Mon, Mar 14, 2011 at 11:21:37AM +0300, SaveFrom.net wrote:
>
> > Здравствуйте.
> > Заранее благодарю за помощь.
> >
> > Nginx поедает память со скоростью, примерно, 300Мб в день. "Помогает"
> > reload. В чем может быть проблема, куда копать? В логах ничего
> > подозрительного.
> >
> > nginx version: nginx/0.8.54
> > built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
> > TLS SNI support disabled
> > configure arguments: --user=nginx --group=nginx
> > --conf-path=/etc/nginx/nginx.conf --sbin-path=/usr/sbin/nginx
> > --error-log-path=/var/log/nginx/error.log
> > --http-log-path=/var/log/nginx/access.log
> > --http-client-body-temp-path=/var/lib/nginx/tmp/client
> > --http-proxy-temp-path=/var/lib/nginx/tmp/proxy
> > --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi
> > --lock-path=/var/lock/subsys/nginx --pid-path=/var/run/nginx.pid
> > --with-http_ssl_module --with-http_gzip_static_module
> > --with-http_stub_status_module
> >
> > + наложенпатч поддержки переменных в *_bind от M. Dounin
> >
> > ps ax -o pid,ppid,user,%cpu,vsz,wchan,command|egrep '(nginx|PID)'
> > PID PPID USER %CPU VSZ WCHAN COMMAND
> > 9547 4839 root 0.0 61180 pipe_w egrep (nginx|PID)
> > 12567 29764 nginx 3.4 162020 - nginx: worker process
> > 12568 29764 nginx 3.3 153836 - nginx: worker process
> > 12569 29764 nginx 3.0 147760 - nginx: worker process
> > 12570 29764 nginx 2.7 141204 - nginx: worker process
> > 12572 29764 nginx 3.3 156412 - nginx: worker process
> > 12573 29764 nginx 3.3 151968 - nginx: worker process
> > 12574 29764 nginx 2.9 141008 - nginx: worker process
> > 12575 29764 nginx 3.0 145760 - nginx: worker process
> > 29764 1 root 0.0 82972 rt_sig nginx: master process /usr/sbin/nginx -c
> > /etc/nginx/nginx.conf
> >
> >
> > Linux 2.6.18-238.1.1.1.el5 #1 SMP Mon Jan 24 10:43:48 NOVT 2011 x86_64
> > x86_64 x86_64 GNU/Linux
>
> А из чего сделан вывод, что память - течёт?
>
> Maxim Dounin
>
> p.s. rtsig - плохо, на 2.6.18 уже должен быть epoll.
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>



--
С уважением, Антон
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Attachments:
open | download - ngnix_memory-week.png (24.9 KB)
Subject Author Posted

Nginx 0.8.54 кушает память 300mb/day

SaveFrom.net March 14, 2011 04:22AM

Re: Nginx 0.8.54 кушает память 300mb/day

Михаил Монашёв March 14, 2011 04:44AM

Re: Nginx 0.8.54 кушает память 300mb/day

Maxim Dounin March 14, 2011 05:30AM

Re: Nginx 0.8.54 кушает память 300mb/day Attachments

SaveFrom.net March 14, 2011 06:14AM

Re: Nginx 0.8.54 кушает память 300mb/day

Maxim Dounin March 14, 2011 08:20AM

Re: Nginx 0.8.54 кушает память 300mb/day

SaveFrom.net March 14, 2011 08:44AM

Re: Nginx 0.8.54 кушает память 300mb/day

Maxim Dounin March 14, 2011 11:14AM

Re: Nginx 0.8.54 кушает память 300mb/day

Igor Sysoev March 14, 2011 06:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 217
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready