Welcome! Log In Create A New Profile

Advanced

I'm confused about the parameter in http{} , my example is here

November 28, 2009 01:57AM
this config is from a nginx + tomcat5 website ,

server based on
system : redhat linux
cpu*8 : ( Intel(R) Xeon(R) CPU E5310 @ 1.60GHz )
mem : 8G

I don't know how to use these parameters well . and what else should I add ? maybe I added something excess ?
can I find some books to learn about all the parameters and the numerical value ?


worker_rlimit_nofile 655350;
events {
use epoll;
# worker_connections 8192;
worker_connections 51200;
}
http {
include mime.types;
default_type application/octet-stream;

server_names_hash_bucket_size 128;

client_header_buffer_size 32k;
large_client_header_buffers 4 32k;

access_log off;
server_tokens off;

sendfile on;
send_timeout 3m;
tcp_nopush on;
keepalive_timeout 65;

expires 30m;
tcp_nodelay on;

gzip on;
gzip_comp_level 2;
gzip_proxied any;
gzip_types text/plain application/x-javascript text/css text/html application/xml;
gzip_min_length 1100;
gzip_buffers 4 8k;
gzip_http_version 1.1;
output_buffers 1 32k;
postpone_output 1460;

reset_timedout_connection on;
client_max_body_size 30m;
client_body_buffer_size 256k;
client_body_temp_path /web/nginx/client_body_temp;
proxy_temp_path /web/nginx/proxy_temp;
proxy_hide_header Cache-Control;


server {

......

also the tomcat config is here

CATALINA_OPTS='-Xms800M -Xmx1536M'

<Connector port="8080" maxHttpHeaderSize="8192"
maxThreads="3096"
minSpareThreads="100" maxSpareThreads="200"
enableLookups="false" redirectPort="443" acceptCount="1000"
connectionTimeout="20000" disableUploadTimeout="true"
compression="on"
compressionMinSize="2048"
compressableMimeType="text/html,text/xml,text/javascript,text/css,text/plain" />
Subject Author Posted

I'm confused about the parameter in http{} , my example is here

rollingsun November 28, 2009 01:57AM

Re: I'm confused about the parameter in http{} , my example is here

Dinh Pham November 29, 2009 03:52AM

Re: I'm confused about the parameter in http{} , my example is here

rollingsun November 30, 2009 05:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 327
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready