Home > Cpu Usage > Troubleshooting Apache High Cpu

Troubleshooting Apache High Cpu


Home Community Download Customize Modifications Themes Patches Support Function Database Online Manual About Contribute Development Please login or register. 1 Hour 1 Day 1 Week 1 Month Forever Login with username, It's on a ubuntu system. S 22:48 0:00 /usr/sbin/httpd
apache 4543 1.3 0.8 37692 17144 ? You can google for apache performance to look for more answer. weblink

Ssl 18:19 0:19 /usr/sbin/named -u named -t /var/named/chroot
root 1760 0.0 0.0 1656 552 ? I'd expect it to be lower (unless you've just rebooted or something like that).SWAP: 31MUsed 31MB of how much?*** glibc detected *** /usr/sbin/httpd: double free or corruption (fasttop): 0x00007f5430e36040 ***That could Not to mention if I read correctly you're using Apache Prefork which to my knowledge is not threaded ( worker is ). Rebooting the machine always fixed it and this has happened rarely, once or twice a year at most.

Troubleshooting Apache High Cpu

more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science What's likely to be happening is that your mod_jk is crashing and since it's an apache module it shows up under the httpd process. So bigger is not always good for settings in apache.conf. Maybe there's something else going on, but your first task is to find what those apache processes are.

Ss 18:20 0:00 smbd -D
root 2561 0.0 0.0 13220 196 ? How can "USB stick" online identification possibly work? Dan_Grossman 2009-07-20 20:56:55 UTC #3 SoulScratch said: If the serving of these images is the main function of this server alone, you could consider using a lighter weight server such as Reduce Apache Cpu Usage You need to adjust the config of the ff: MaxKeepAliveRequests KeepAliveTimeout StartServers MinSpareServers MaxSpareServers ServerLimit MaxClients MaxRequestsPerChild Remove advertisements Sponsored Links csorhand View Public Profile Visit csorhand's homepage!

on both servers. W3Counter as a site is nicely portable. Ss 22:48 0:00 sendmail: ./kA23mYU1004581 mail.greatlooking.com.: user open
cyrus 4584 0.0 0.1 31496 2400 ? In my case, I suspect it's something to do with the module we're using (mod_perl) and perhaps something with a broken socket connection.

Word for disproportionate punishment? Apache Cpu Usage High Plesk I don't know if it is relevant or not. asked 3 years ago viewed 23666 times active 2 months ago Related 381Difference between the Apache HTTP Server and Apache Tomcat?45How can I prevent tons of apache processes spawning when I I started monitoring memory usage, but there are no issues there.

  • S 22:47 0:10 /usr/sbin/httpd
    apache 4388 0.4 0.8 37304 16808 ?
  • I tried using those settings but my server didn't like it very much at all!
  • Assuming I'm right about it likely listening on a different port, it might be useful to set something up to capture traffic on that port so you can see what triggers
  • S 22:47 0:00 /usr/sbin/httpd
    apache 4385 7.5 0.8 37344 16956 ?
  • Ss 18:20 0:00 sendmail: Queue [email protected]:00:00 for /var/spool/clientmqueue
    defang 2443 0.6 4.7 149504 98488 ?
  • Read more about that here.
  • I have already removed all modules that I don't need.
  • S 22:48 0:11 /usr/sbin/httpd
    apache 4545 11.0 0.6 34308 13680 ?
  • S 21:20 0:00 sendmail: ./kA1NKI6P002431 cluster2a.us.messagelabs.com.: client EHLO
    root 1400 0.0 0.0 5712 528 ?
  • S< 18:01 0:00 [ata/0]
    root 323 0.0 0.0 0 0 ?

Apache Httpd High Cpu Usage

nightly log roll-over or manual actions). Can “ps” command tell me what it is doing? –Brian Jun 16 '15 at 17:59 1 Config please. 1st. Troubleshooting Apache High Cpu All Linux questions here! Apache High Cpu Usage Php Ss 18:21 0:00 /usr/bin/ssh-agent
root 8799 0.0 0.1 8872 2236 ?

S< 18:01 0:00 [cqueue/1]
root 84 0.0 0.0 0 0 ? http://supportcanonprinter.com/cpu-usage/obs-high-cpu-usage-fix.html S 22:48 0:00 /usr/sbin/httpd
apache 4532 10.1 0.6 34728 13940 ? Dan666 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Dan666 09-21-2013, 05:51 PM #2 KoopaTroopa Member Registered: Aug 2003 Location: Dallas, S 18:20 0:00 spamd child
68 2676 0.0 0.0 2232 548 ? Apache High Cpu Usage Windows

system 2009-07-24 12:57:20 UTC #12 Dan_Grossman said: Pro tip: Read at least one post before replying. S 22:47 0:01 /usr/sbin/httpd
apache 4438 0.8 0.8 38924 18424 ? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed check over here Note: this solution is for the websites running Wordpress http://devslounge.com/htaccess/can-cause-apache-httpd-use-100-cpu-indefinitely/ https://wordpress.org/support/topic/xmlrpcphp-attack-on-wordpress-38 share|improve this answer edited Jun 28 '16 at 10:45 answered Jun 28 '16 at 10:17 DevsMind 11 add a comment|

S 22:16 0:37 /usr/bin/perl /usr/bin/mimedefang.pl -server
root 2512 0.0 0.0 0 0 ? Phpsuexec Can “ps” command tell me what it is doing?0httpd using 100% CPU - what does it really mean?2Basic Apache httpd server setup becomes slow to serve images requiring frequent restart2How can asked 7 years ago viewed 24236 times active 6 months ago Visit Chat Related 7Apache uses 100% CPU.

Browse other questions tagged apache-2.4 or ask your own question.

Is there a better way to go about tracing the process responsible and seeing what it's actually doing? To check for both of these causes, disable cron jobs one by one by running as root: crontab -e Try to disable only one service at once and wait for a Sometimes my site is extremely slow, if when there aren't too many people on, whereas when there are over 300 online members the site may be very fast. Ubuntu Apache High Cpu Usage Maybe you can spot a connection with when something else happens on your system.

Double free errors are (sometimes) C++ pointer problems. Another thing that I tried was since the huge .conf file example had settings almost double mine, I attempted to double the settings such as changing StartServers to 32 from 16, That didn't work either. http://supportcanonprinter.com/cpu-usage/node-js-high-cpu.html Has anyone else encountered this and solved it?

But then it ramps right back up again. Maybe you have a lightweight apache that handles incopming requests and passes them to a second apache running heavier mod_php processes? S 22:35 0:15 /usr/bin/perl /usr/bin/mimedefang.pl -server
cyrus 3294 0.0 0.1 31476 2488 ? Sl 18:19 0:24 /opt/wildfire/jre/bin/java -server -Dinstall4j.jvmDir=/opt/wildfire/jre -Dinstall4j.appDir=/opt/wildfire -D
dbus 1847 0.0 0.0 3092 312 ?

I would still recommend looking into lighttpd if you're interested in further optimization. Ss 18:01 0:01 init [3]
root 2 0.0 0.0 0 0 ? S 22:48 0:00 /usr/sbin/httpd
apache 4542 0.4 0.7 37208 16272 ? If you want to track it down then the first thing to do is configure CoreDumpDirectory to point to some location that the server user can write to.

For instance I got home an hour ago and killed 5 threads that were 100% cpu usage in TOP. Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest centos php httpd share|improve this question asked Oct 10 '16 at 20:20 Peter Fox 1002 Try running lsof -p PID to see what open files are associated with process. You'd see the command line arguments EDIT: extra after comment from OP.

SN 18:01 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? Mike Bobbitt Full Member Posts: 595 Re: httpd --> very high CPU usage « Reply #4 on: November 02, 2006, 08:51:50 AM » Hi Ben,Yep, sometime through the night the issue Any insight would be appreciated.ThanksMike Logged Ben_S SMF Friend SMF Super Hero Posts: 11,684 xxx Re: httpd --> very high CPU usage « Reply #3 on: November 02, 2006, 08:22:58 AM Also runs a mail server and several smaller (very low traffic) sites.The Number of posts your forum has.457,309 Posts in 28,365 Topics by 10,556 MembersThe Average number of users you have

for a short period. S 18:01 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? The time now is 06:14 PM.