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
M

Magnon

Qld, Australia

Very pleased with their quality of service and affordability.

Read full review
D

Diego

Even though I only have a shared hosting plan, their technical support team responded to my tech sup...

Read full review
F

Francesco

Great servers, Great Service, Awesome uptime! Our company has been working with AYKSolutions for alm...

Read full review
A

A.L

IL, United States

AYK Solutions has provided me with a very cost effective hosting service with great uptime and lots...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft