ðòïåëôù 


  áòèé÷ 


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]

Re: malloc(270336) failed


  • To: "nginx-ru@xxxxxxxxx" <nginx-ru@xxxxxxxxx>
  • Subject: Re: malloc(270336) failed
  • From: Aleksandr Sytar <sytar.alex@xxxxxxxxx>
  • Date: Sun, 3 Nov 2013 23:05:02 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=wMj3EwHyUZb3yoiA/okYhc7lGCbV+bnKetJI4JSnyD8=; b=R8p5ekl0eF0CENelbHHXbmNpNPOuOfDScA2fz2q7Y1k+HfLCTy2NrhYz1HrGMIpUl8 Jr34BbH3W1F/XfYvmc9j2yboWkvWjtSh3J9JCy9ETxudrk0xWPpwXdxl7lVf8TKAmDIB tFabQ3VbwlY71ShzwkA43GuEvjQFnGN5zemQkIg5OeNJ1tytnbbTVU13aWhlGh/DMDeq eGntpW+rU+dqnDNTPgiqOY1lK2pChpXJg75FFqnuwywosqIEcCWzd8N7mQb6MXEbISxb 38wbp49SCjtWwRe/vTr91uEOi/tPlaVxtErWrd0m0UaDgYkrP8enq0t20PV7WU4bMeGG 4M8g==
  • In-reply-to: <CAM_jxg3aNygZoKeMtQHX=ZcP7E23+45uKvHsihJSrJG-XqHfNw@mail.gmail.com>
  • References: <CAKqRTSEJ+YNMRsV_LzM9Mz7JmDNv==M=nt=LXwrCsHodr+JXAg@mail.gmail.com> <CAM_jxg3aNygZoKeMtQHX=ZcP7E23+45uKvHsihJSrJG-XqHfNw@mail.gmail.com>




2013/11/3 Anton Kiryushkin <swood@xxxxxxxxxxx>
îÅ ÚÁÐÕÓËÁÔØ nginx × windows. šá ×ÏÏÂÝÅ, Õ ×ÁÓ ÚÁËÏÎÞÉÌÁÓØ ÐÁÍÑÔØ. âÅÚ ËÏÎÆÉÇÁ ÓÌÏÖÎÏ ÐÏÎÑÔØ ÄÌÑ ÞÅÇÏ, ÎÏ, ×ÏÚÍÏÖÎÏ, ÄÌÑ ËÁËÏÇÏ-ÎÉÂÕÄØ ÂÕÆÅÒÁ.


üÔÏ ÓÌÉÛËÏÍ ÏÞÅ×ÉÄÎÏÅ ÏÂßÑÓÎÅÎÉÅ ÐÏÎÑÔÎÏÅ ÉÚ ÏÐÉÓÁÎÉÑ ÏÛÉÂËÉ.

åÓÌÉ ÂÙ ÐÁÍÑÔØ ÒÅÁÌØÎÏ ËÏÎÞÉÌÁÓØ ÎÁ ÓÅÒ×ÅÒ ÎÅÌØÚÑ ÂÙÌÏ ÂÙ ÚÁÌÏÇÉÎÉÔØÓÑ. ðÒÉ ÜÔÏÍ stub_status ÏÔÌÉÞÎÏ ÏÔÒÁÂÁÔÙ×ÁÌ.

ëÏÎÆÉÇ:


#user šnobody;
worker_processes š1;

error_log šlogs/error.log;

events {
š š worker_connections š1024;
}


http {
š š include š š š mime.types;
š š default_type šapplication/octet-stream;
client_max_body_size 20m; #ÄÌÑ ÚÁÇÒÕÚËÉ ÂÏÌØÛÉÈ ËÁÒÔÉÎÏË

š š log_format šmain š'$remote_addr - $remote_user [$time_local] "$request" '
š š š š š š š š š š š '$status $body_bytes_sent "$http_referer" '
š š š š š š š š š š š '"$http_user_agent" "$http_x_forwarded_for"';

š š access_log šoff;

š šš
msie_padding š š š š š š š š š šon;
š š š š ignore_invalid_headers šon;

š š š š gzip š š š š š š š š š š š š š šon;
š š š š gzip_static š š š š š š š š š š on;
š š š š gzip_vary š š š š š š š š š š š on;
š š š š gzip_min_length š š š š 2048;
š š š š gzip_comp_level š š š š 1;
š š š š gzip_buffers š š š š š š š š š š16 8k;
š š š š gzip_types š š š š š š š š š š štext/plain text/css text/xml text/_javascript_ application/x-_javascript_;

š š š š directio š š š š š š š š š š š š4m;
š š š š sendfile š š š š š š š š š š š šon;
š š š š sendfile_max_chunk š š š š š š š256k;
š š š š tcp_nopush š š š š š š š š š š šon;
š š š š tcp_nodelay š š š š š š š š š š on;
š š š š reset_timedout_connection š š š on;

š š š š output_buffers š š š š š16 512k;
š š š š postpone_output š š š š 1460;

š š š š keepalive_timeout š š š š š š š 30 15;
š š š š server_name_in_redirect off;
proxy_connect_timeout 120s;
proxy_http_version 1.1;
proxy_ignore_client_abort off;
proxy_read_timeout 120s;
proxy_send_timeout 120s;

š š š š server_tokens š š š š š š š š š off;
š š include conf.d/*.conf;
}

server {
š š listen š š š 80;
š š server_name example.com;
error_log logs/error.log;
access_log off;

root some_path;
index index.php;
proxy_intercept_errors on;
error_page š 500 502 503 504 /503.html;
location =/503.html {
š š }
location / {
try_files $uri @apache;
}

location @apache {
proxy_set_header Host $host;
proxy_set_header http_referer $http_referer;
proxy_set_header š š š šX-Forwarded-For $proxy_add_x_forwarded_for;
}
location =/nginx_status {
stub_status on;
allow 86.62.121.100;
allow 109.252.246.98;
deny all;
}

location ~* \.php$ {
proxy_set_header Host $host;
proxy_set_header š š š šX-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header http_referer $http_referer;
}

}




2013/11/3 Aleksandr Sytar <sytar.alex@xxxxxxxxx>
óÅÇÏÄÎÑ ÓÔÏÌËÎÕÌÓÑ ÓÏ ÓÌÅÄÕÀÝÅÊ ÐÒÏÂÌÅÍÏÊ:

2013/11/03 17:24:54 [emerg] 4532#1564: *1875523 malloc(270336) failed (8: Not enough storage is available to process this command) while sending to client, client: 5.10.83.57, server: ___.ru, request: "GET /6032/33621/ HTTP/1.1", upstream: "http://127.0.0.1:8081/6032/33621/", host: "____.ru"


šMicrosoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

c:\nginx>nginx -V
nginx version: nginx/1.4.2
TLS SNI support enabled
configure arguments: --with-cc=cl --builddir=objs.msvc8 --with-debug --prefix= -
-conf-path=conf/nginx.conf --pid-path=logs/nginx.pid --http-log-path=logs/access
.log --error-log-path=logs/error.log --sbin-path=nginx.exe --http-client-body-te
mp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp --http-fast
cgi-temp-path=temp/fastcgi_temp --http-scgi-temp-path=temp/scgi_temp --http-uwsg
i-temp-path=temp/uwsgi_temp --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs.msv
c8/lib/pcre-8.32 --with-zlib=objs.msvc8/lib/zlib-1.2.8 --with-select_module --wi
th-http_realip_module --with-http_addition_module --with-http_sub_module --with-
http_dav_module --with-http_stub_status_module --with-http_flv_module --with-htt
p_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-htt
p_random_index_module --with-http_secure_link_module --with-mail --with-openssl=
objs.msvc8/lib/openssl-1.0.1e --with-openssl-opt=enable-tlsext --with-http_ssl_m
odule --with-mail_ssl_module --with-ipv6


þÔÏ ÜÔÏ ÂÙÌÏ É ËÁË ÜÔÏÇÏ ÉÚÂÅÇÁÔØ × ÄÁÌØÎÅÊÛÅÍ?


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru



--
Best regards,
Anton Kiryushkin
š

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.