BLACK FRIDAY DEALS

Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

Apache

Problem: You see that there are lot of TIME_WAIT connections associated with the Apache and Nginx (or any webserver for that matter) webservers. 

Possible Solution: To reduce the number of TIME_WAIT connections, we have done the following changes in /etc/sysctl.conf:

net.ipv4.tcp_tw_reuse=1
net.ipv4.tcp_tw_recycle=1


Then run 'sysctl -p' (no quotes) as root to reload the sysctl file without a reboot. Be sure to backup the sysctl.conf file before making changes to it.

Lighttpd

Problem: You see that there are lot of TIME_WAIT connections associated with the Apache and Nginx (or any webserver for that matter) webservers. 

Possible Solution: To reduce the number of TIME_WAIT connections, we have done the following changes in /etc/sysctl.conf:

net.ipv4.tcp_tw_reuse=1
net.ipv4.tcp_tw_recycle=1


Then run 'sysctl -p' (no quotes) as root to reload the sysctl file without a reboot. Be sure to backup the sysctl.conf file before making changes to it.

Nginx

Problem: You see that there are lot of TIME_WAIT connections associated with the Apache and Nginx (or any webserver for that matter) webservers. 

Possible Solution: To reduce the number of TIME_WAIT connections, we have done the following changes in /etc/sysctl.conf:

net.ipv4.tcp_tw_reuse=1
net.ipv4.tcp_tw_recycle=1


Then run 'sysctl -p' (no quotes) as root to reload the sysctl file without a reboot. Be sure to backup the sysctl.conf file before making changes to it.

See What Our Customers Say

Leave review
J

James

FL, United States

I have been using AYK for about 2 years now and they are always on top of any issues I have. They ha...

Read full review
M

Mathieu L

MD, United States

I love AYK. been with them for over 5 years and the best ever

Read full review
O

Oliver

Great Service I was using a dedicated server with AYK for about 6 months untill i sold my website. T...

Read full review
J

Johnny

NC, United States

Hi Guys and Gals, I'll just say you all are top notch and go above and behind with support. I'v...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft