Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Потребление памят и nginx'ом
04.11.2008 19:10, Igor Sysoev wrote:
On Tue, Nov 04, 2008 at 06:49:24PM +0200, Alex Vorona wrote:
[root@host]# uname -rm
7.0-RELEASE i386
Возможно, дело в новом malloc()е. Можно попробовать запустить так:
MALLOC_OPTIONS=Dm /usr/local/nginx/nginx
И добавить в nginx.conf:
env MALLOC_OPTIONS=Dm;
на случай апгрэйда.
[root@host]# MALLOC_OPTIONS=Dm `which nginx`
nginx: (malloc) Unsupported character in malloc options: 'D'
nginx: (malloc) Unsupported character in malloc options: 'm'
^C
Это появилось в 7-STABLE в марте 2008.
аналогичную проблему (с тем же конфигом) наблюдаю на линуксе
host nginx # /etc/init.d/nginx start
* Checking nginx' configuration ...
2008/11/04 17:33:18 [info] 3960#0: the configuration file /etc/nginx/nginx.conf
syntax is ok
2008/11/04 17:33:18 [info] 3960#0: the configuration file /etc/nginx/nginx.conf was tested
successfully [ ok ]
* Starting nginx ...
[ ok ]
host nginx # ps uax|grep nginx
root 3964 0.0 21.3 134672 109112 ? Ss 17:33 0:00 nginx: master process
/usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx 3965 0.0 21.6 135988 110500 ? S< 17:33 0:00 nginx: worker
process
root 3974 0.0 0.1 67460 728 pts/3 S+ 17:33 0:00 grep
--colour=auto nginx
host nginx # kill -1 3964
host nginx # ps uax|grep nginx
root 3964 10.5 41.0 236732 209660 ? Ss 17:33 0:01 nginx: master process
/usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx 3975 0.0 40.9 236732 209368 ? S< 17:33 0:00 nginx: worker
process
root 3977 0.0 0.1 67476 736 pts/3 S+ 17:33 0:00 grep
--colour=auto nginx
host nginx #
|