Рможете показать конфиг?<br><br><div class="gmail_quote">2011/3/25 Eugene Batogov <span dir="ltr"><<a href="mailto:johnbat26@gmail.com">johnbat26@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
ПриветÑтвую вÑех.<br>Возникли две интереÑные проблемы, а точнее запиÑи в nginx.log:<br>...<br>2011/03/18 17:34:46 [alert] 6431#0: ngx_slab_free(): chunk is already free<br>2011/03/18 17:34:46 [alert] 6429#0: ngx_slab_free(): chunk is already free<br>
2011/03/18 17:34:46 [alert] 6429#0: ngx_slab_free(): chunk is already free<br>2011/03/18 17:35:16 [alert] 6429#0: ngx_slab_free(): chunk is already free<br>2011/03/18 17:35:16 [alert] 6429#0: ngx_slab_free(): chunk is already free<br>
2011/03/18 17:35:46 [alert] 6433#0: ngx_slab_free(): chunk is already free<br>2011/03/18 17:35:46 [alert] 6433#0: ngx_slab_free(): chunk is already free<br>2011/03/18 17:36:16 [crit] 6436#0: ngx_slab_alloc() failed: no memory<br>
2011/03/18 17:36:16 [crit] 6436#0: ngx_slab_alloc() failed: no memory<br>2011/03/18 17:36:16 [crit] 6433#0: ngx_slab_alloc() failed: no memory<br>2011/03/18 17:36:16 [crit] 6433#0: ngx_slab_alloc() failed: no memory<br>2011/03/18 17:36:16 [crit] 6433#0: ngx_slab_alloc() failed: no memory<br>
2011/03/18 17:36:16 [crit] 6433#0: ngx_slab_alloc() failed: no memory<br>2011/03/18 17:36:16 [crit] 6429#0: ngx_slab_alloc() failed: no memory<br>2011/03/18 17:36:16 [crit] 6429#0: ngx_slab_alloc() failed: no memory<br>....<br>
Почему поÑвлÑÑŽÑ‚ÑÑ Ñти ÑообщениÑ?<br>Кто их инициатор?<br><br>и втораÑ:<br>...<br>2011/03/18 17:30:16 [emerg] 6428#0: malloc() 3053187144 bytes failed (12: Cannot allocate memory)<br>...<br>Под что nginx выделÑет так много памÑти?<br>
Как Ñто можно узнать?<br><br>--------<br>И еще вопроÑ: можно ли в Linux x86 увеличить размер памÑти выделÑемого Ñдру ?<br>ПроÑто, еÑли иÑпользовать http_push (a.k.a comet) то памÑти Ð´Ð»Ñ Ñокетов может не хватить при >50K Ñоединений.<br>
Рна 64-bit какой размер памÑти Ð´Ð»Ñ Ñдра по умолчанию?<br><br>И еще возникла проблема Ñ Ð¾Ñтановом nginx поÑле иÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ nginx_http_push_module.<br>Он очень долго оÑтанавливаетÑÑ, такое ощущение, что ждет Ð¾ÐºÐ¾Ð½Ñ‡Ð°Ð½Ð¸Ñ Ñ‚Ð°Ð¹Ð¼Ð°ÑƒÑ‚Ð¾Ð².<br>
<br>Ðаш sysctl.conf прикреплен к пиÑьму.<br><br>--------------<br>Ðаши окружениÑ:<br>-----------<br clear="all">nginx version: nginx/0.7.65<br>built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48)<br>TLS SNI support disabled<br>
configure arguments: --user=nginx --group=nginx --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --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_body --http-proxy-temp-path=/var/lib/nginx/tmp/proxy --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi --pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_perl_module --with-mail --with-mail_ssl_module --with-cc-opt='-O2 -g -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' --add-module=/usr/src/redhat/BUILD/nginx-0.7.65/nginx-upstream-fair --add-module=/usr/src/redhat/BUILD/nginx-0.7.65/nginx_http_push_module-0.692 --add-module=/usr/src/redhat/BUILD/nginx-0.7.65/nginx_upstream_hash-0.3.1<br>
-----------<br>nginx version: nginx/0.8.53<br>built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48)<br>TLS SNI support disabled<br>configure arguments: --user=nginx --group=nginx --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --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_body --http-proxy-temp-path=/var/lib/nginx/tmp/proxy --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi --pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx --with-http_secure_link_module --with-http_random_index_module --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_perl_module --with-mail --with-mail_ssl_module --with-cc-opt='-O2 -g -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' --with-ipv6 --add-module=/usr/src/redhat/BUILD/nginx-0.8.53/nginx-upstream-fair --add-module=/usr/src/redhat/BUILD/nginx-0.8.53/nginx-upload-progress-module --add-module=/usr/src/redhat/BUILD/nginx-0.8.53/mod_zip-1.1.6 --add-module=/usr/src/redhat/BUILD/nginx-0.8.53/nginx_upload_module-2.2.0 --add-module=/usr/src/redhat/BUILD/nginx-0.8.53/nginx_mod_h264_streaming-2.2.7 --add-module=/usr/src/redhat/BUILD/nginx-0.8.53/nginx_http_push_module-0.692 --add-module=/usr/src/redhat/BUILD/nginx-0.8.53/nginx_upstream_hash-0.3.1<br>
------------<br><br>Из Ñторонних модулей мы иÑпользуем:<br> - nginx_upstream_hash-0.3.1<br> - <b><a href="https://github.com/slact/nginx_http_push_module" target="_blank">nginx_http_push_module</a></b> -0.692.<br><font color="#888888"><br>
-- <br><br>
</font><br>_______________________________________________<br>
nginx-ru mailing list<br>
<a href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx-ru" target="_blank">http://nginx.org/mailman/listinfo/nginx-ru</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div>wbr, Kirill</div><br>