i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config
there are many things you need to check, if your traffic usage ( in case of correct configuration ) isnt bigger than your server resource then:
1) you need to turn off KeepAlive
2) decrease MaxRequestsPerChild to 30
3) decrease Timeout if its bigger than 90seconds
4) check your sysctl.conf or use this pre-configured sysctl :
5) check .htaccess of websites, sometimes they are using much cpu
6) check whether you are not under attack , use mod_security , mod_evasive , firewall like csf , etc...
7) check enabled modules , and exclude unnecessaries.
8) if your websites are running on php and your apache compiled with mod_suphp/phpSUEXEC/mod_fcgi/ ,etc they are 4 times slower than mod_php , switch to mod_php
9) use caches like eAccelerator , xcache , ...
finally, the information you gave isnt much that we rely on to help you resolve the problem, google for optimizing apache to find more on this.
Got two RHEL servers - one real and one virtual/cloud.
Both run apache web server.
When traffic is applied, CPU seems to go quite high on virtual one (20%) but real is not really affected. Worry is that a further increase in traffic will see a problem.
Experience of RHEL is limited. Whats... (2 Replies)
could someone give me an example for a debian server script? I need to check a process if the process has a high cpu load (top).
If yes the whole server needs to reboot.
Thats it, nothing more. ;)
Hope someone could help me.
woisch (2 Replies)
I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( .
how to find cpu's system high time and user time high in a script??
thanks , help would be appreciated !
:) (9 Replies)
I'm not sure if this belong in dummies or advanced so I made my best guess. Go easy on me if I get it wrong.
I'm trying to determine what a high load for my system is. I run a php/mysql web server with a dedicated host. The host has a Intel Xeon 3110 (Dual Core) processor.
Our load seems to... (5 Replies)
My Server is doing a very intense netowrk traffic operations and the cards are under very high pressure.
I need to call NETSTAT on the shell. Do you know whether this command, under high pressure, might have some impact on the server traffic or can I proceed without any problem? (2 Replies)
Thanx for reading my first post...
After googling a lot and searching so many forums I am feeling down a bit...
Please don't mind my ignorence, and my grammer ... :)
My server is running RHEL 2.6.9-5.EL. The cpu load is going higher than roof, almost 100 sometimes.
I am... (2 Replies)
In my production server the load is very high.
normally it used to be less than 1,but now it is more than 5.
I am new to unix all together.
I want to know what is the reason behind high load.
and if it is high what is the impact? (4 Replies)
I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at?
last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
after a long period of running, the network application's CPU load in our syst em increase slowly, the failed at the end. we use "truss" tool to trace the process, found that it processes something like "semop" ,"semctl","thread_waitlock","kread" kernel call . The trace log file looks like the... (0 Replies)