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: Anton Kiryushkin <swood@xxxxxxxxxxx>
  • Date: Sun, 3 Nov 2013 23:22:16 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fotofor.biz; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=0Jc7TcR4NJIj6afqpqiGjkCbJT4LWSfFohSsZoyY88Y=; b=fTh6+HeTSp90cGkEmProXZaNi7lNtZswHBv4A/P+N/YDHxUlfUP9lfVQbbvYus1eDG kDOOH1SRYP8DBDkvgJCYT5YUEYlZE2egjFVW0WjOBrVNox6gysUOctw6kp3eQXrD/dwS 1lBviFmvPkqxu2GSuq5hOLToqUQarYLv71D4U=
  • In-reply-to: <CAKqRTSH=RCmhRjX8NGdbhg9t43VMNLV1Nn26MesQzFo8WLmHaQ@mail.gmail.com>
  • References: <CAKqRTSEJ+YNMRsV_LzM9Mz7JmDNv==M=nt=LXwrCsHodr+JXAg@mail.gmail.com> <CAM_jxg3aNygZoKeMtQHX=ZcP7E23+45uKvHsihJSrJG-XqHfNw@mail.gmail.com> <CAKqRTSH=RCmhRjX8NGdbhg9t43VMNLV1Nn26MesQzFo8WLmHaQ@mail.gmail.com>

, Ϛoutput_buffers, directio sendfile. , , nginx windows, , , .


2013/11/3 Aleksandr Sytar <sytar.alex@xxxxxxxxx>



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



--
Best regards,
Anton Kiryushkin
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.