[help] many connect to server

xlinux

Verified User
Joined
May 4, 2012
Messages
72
hi all memeber .
i have some problem, i need help
i used for my ip have many connect to server about 200- 300 connect . it is normal is
time_wait.

i config in /etc/httpd/conf/extra/httpd-default

timeout : 30
keepalive: off

and /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_time_wait echo 50

but still have many connect form my ip to my server.

anyone have add-on on firefox or chorme have calulate number of requests to my server ?

how i can do reduce number of request on to my server

thanks
 
You might need to tune Apache settings and reduce:

ServerLimit
MaxClients
i think you think not true. i don't want limit visitor or client . i only want release time_wait status. u understand ?
 
Your post seems to be too hard for reading and understanding.
you know time_wait ?. when enter my website. i see almost connect with statuts: time_wait. i want to release it. how i can do it . you can help me and understand. my english is stupid. please understand for me. thanks
 
I'd rather suggested setting up a front-end to Apache, something like nginx, oops, varnish, etc. It will definitely decrease the number of connections to apache.

If you want to learn where the connections come from and why they stay so long...see netstat output for details. That might help you.
 
I'd rather suggested setting up a front-end to Apache, something like nginx, oops, varnish, etc. It will definitely decrease the number of connections to apache.

If you want to learn where the connections come from and why they stay so long...see netstat output for details. That might help you.

if i don't want install font-end . i can reduce request used apache ?
 
timeout : 30
keepalive: off
Please, try these settings:

# Timeout: The number of seconds before receives and sends time out.
Timeout 60

# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
KeepAlive On

# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
MaxKeepAliveRequests 100

# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
KeepAliveTimeout 1

and see if it works...
 
Please, try these settings:

# Timeout: The number of seconds before receives and sends time out.
Timeout 60

# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
KeepAlive On

# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
MaxKeepAliveRequests 100

# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
KeepAliveTimeout 1

and see if it works...
i think you error. if set defaule timeout: 60 . i think wait_time is is longer. i set up 30 second. i think good
and When KeepAlive On. server accept reconnect. i don't want this problem occur , i only accept new connect.
 
There were already posted some solutions, if you can not make them to work in your case, you should either hire somebody or Google for ready guides and How-To in Internet.
 
Back
Top