Negative Ion
Jul 7 2003, 06:25 PM
I have a server with plesk 5.0, and I want to raise the hard server limit from 256. The problem is that my old server with plesk had apache at /usr/local/psa/apache and it was very easy to recompile. Now with 5, they seem to have moved it to /etc/httpd, and then gotten rid of most of the files or moved them in weird places. Does anyone out there know how I could go about recompiling apache so I can raise the hard server limit?
4PSA
Jul 8 2003, 07:33 AM
The standard version of Plesk had Apache compiled with 2048 hard limit. The RPM version of Plesk has it compiled with 256. You have to download the RPM src and recompile apache.
huck
Jul 8 2003, 11:27 AM
I find in 90% of cases, the hard server limit is not the fix. You could truly have a very busy site and need this increased, but most of the time I find that connections are getting stuck open long after people leave the web site. Run a netstat -anp and look for TIME_WAIT conditions. If there are many of these then you may have a script or something hanging.
Otherwise you will need to recompile to increase the hsl in apache.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.