Jump to content

Recommended Posts

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?

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/132539-server-running-slow/
Share on other sites

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.)

Link to comment
https://forums.phpfreaks.com/topic/132539-server-running-slow/#findComment-689801
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.