alin19 Posted November 13, 2008 Share Posted November 13, 2008 i have a server that is running very slow starting a few days ago; the server stands on : 4 GB af ram memory; 2 xeon 3.0; max amounth of users conected are 250; and those users recive some data onces on 5 seconds; running top comand in the terminal shows that ram memory free is abouth 2GB and abouth 60-80 % of those processors is not used; i'm trying to find out why is this hapening; i have some suspicions: first of all i see that the log file in apache/log/acces_log has abouth 14 GB i can't delete that file wright now because the server is online; can you help me and tell me what should i look for except this file that could make my server run slower? Quote Link to comment https://forums.phpfreaks.com/topic/132539-server-running-slow/ Share on other sites More sharing options...
corbin Posted November 13, 2008 Share Posted November 13, 2008 14GB log file? Damn! Stop the server, do something with the log file, and restart it. Takes 3 seconds. http://httpd.apache.org/docs/2.2/mod/core.html#keepalive and http://httpd.apache.org/docs/2.2/mod/core.html#keepalivetimeout Are probably your problems. You may also want to look into the MaxNumberClients and MaxThreads directives. (Or something like that. You can use google if those aren't the correct names ;p.) Quote Link to comment https://forums.phpfreaks.com/topic/132539-server-running-slow/#findComment-689801 Share on other sites More sharing options...
alin19 Posted November 14, 2008 Author Share Posted November 14, 2008 i think that there you are corect with those maxThreads and keepalive; i have made a script that counts the number of httpd services that are opened; and it can't run ofer 259 Quote Link to comment https://forums.phpfreaks.com/topic/132539-server-running-slow/#findComment-690012 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.