Welcome! Log In Create A New Profile

Advanced

Re: Сервер начал затыкаться

November 22, 2010 04:18AM
А файловых дескрипторов вам хватает?

sysctl kern.openfiles
sysctl kern.maxfiles

16 ноября 2010 г. 18:46 пользователь greenh <greenh@gmail.com> написал:

> После увеличения нагрузки (несколько проектов, часть из них - обмен
> инфой с программой клиентом) сервер начал затыкаться
> Это выглядит в браузере как
> "Во время загрузки страницы соединение с сервером было сброшено."
> При этом перестает отвечать фтп, ssh
>
> такое ощущение, что ему не хватает то ли буферов, то ли еще чего. хотя
> вроде всего достаточно
> Подскажите плз, куда смотреть?
>
>
> #netstat -m
> 6190/15575/21765 mbufs in use (current/cache/total)
> 3539/12281/15820/262144 mbuf clusters in use (current/cache/total/max)
> 3539/12205 mbuf+clusters out of packet secondary zone in use
> (current/cache)
> 387/474/861/12800 4k (page size) jumbo clusters in use
> (current/cache/total/max)
> 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max)
> 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max)
> 10173K/30351K/40525K bytes allocated to network (current/cache/total)
> 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
> 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
> 0/0/0 sfbufs in use (current/peak/max)
> 0 requests for sfbufs denied
> 0 requests for sfbufs delayed
> 74700 requests for I/O initiated by sendfile
> 0 calls to protocol drain routines
>
>
> nginx/0.8.53
>
> user www www;
> worker_processes 100;
> worker_rlimit_nofile 32768;
> pid /var/run/nginx.pid;
> events {
> worker_connections 32768;
> use kqueue;
> }
>
> http {
> default_type application/octet-stream;
> client_header_timeout 400;
> client_body_timeout 400;
> send_timeout 400;
> proxy_read_timeout 400;
> proxy_connect_timeout 400;
> proxy_send_timeout 400;
> proxy_buffer_size 32k;
> proxy_buffers 8 64k;
> proxy_busy_buffers_size 256k;
> proxy_temp_file_write_size 256k;
> gzip on;
> gzip_min_length 1100;
> gzip_comp_level 9;
> gzip_http_version 1.0;
> gzip_proxied any;
> gzip_types text/plain text/css applievo3ion/x-javascript text/xml
> applievo3ion/xml applievo3ion/xml+rss text/javascript;
>
> client_max_body_size 950m;
> client_body_buffer_size 128k;
> client_header_buffer_size 1k;
> large_client_header_buffers 4 4k;
> sendfile on;
> tcp_nopush on;
> tcp_nodelay on;
> output_buffers 1 32k;
> postpone_output 1460;
> lingering_time 30;
> lingering_timeout 6;
> reset_timedout_connection on;
> keepalive_timeout 60;
> optimize_server_names on;
> server_names_hash_bucket_size 64;
> include mime.types;
> include virtual.conf;
>
> _______________________________________________
> 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
Subject Author Posted

Сервер начал затыкаться

greenh November 16, 2010 10:48AM

Re: Сервер начал затыкаться

greenh November 16, 2010 11:00AM

Re: Сервер начал затыкаться

tantra November 22, 2010 04:18AM

Re: Сервер начал затыкаться

greenh November 22, 2010 07:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 144
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready