Welcome! Log In Create A New Profile

Advanced

Re: Memory leaks nginx with lua memc upstream_keepalive modules/

February 16, 2012 11:54AM
head of nginx.conf

[root@VKRT083 /home/fish]# cat /usr/local/nginx/conf/new.conf
user fish;
worker_processes 32;

pid logs/nginxnew.pid;

#worker_priority -5;

worker_rlimit_nofile 32000;

events
{
worker_connections 32000;
use kqueue;
}

http
{
include mime.types;
default_type application/octet-stream;

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

server_names_hash_bucket_size 512;
sendfile on;
tcp_nopush on;
tcp_nodelay on;

gzip on;
gzip_comp_level 1;
gzip_min_length 1000;
gzip_proxied any;
gzip_disable "MSIE [1-6]\.";
gzip_types application/x-javascript text/plain application/xml;

server_tokens off;
keepalive_timeout 15;
ignore_invalid_headers on;
reset_timedout_connection on;


upstream backend {server 192.168.10.5:11211; keepalive 512 single;}

upstream tycoon0 {server 192.168.10.6:11111; keepalive 512 single;}

upstream tycoon1 {server 192.168.10.7:11111; keepalive 256 single;}
Subject Author Posted

Memory leaks nginx with lua memc upstream_keepalive modules/

fish_ka_praha February 16, 2012 11:52AM

Re: Memory leaks nginx with lua memc upstream_keepalive modules/

fish_ka_praha February 16, 2012 11:54AM

Re: Memory leaks nginx with lua memc upstream_keepalive modules/

agentzh February 16, 2012 11:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 246
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