LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-26-2011, 03:13 AM   #1
aliabbass
Member
 
Registered: Jun 2008
Posts: 57

Rep: Reputation: 0
qmail httpd process usage goes to 100 %


I am using qmail in my office. I am noticing this for more than a month.
It is my daily routine to check the cpu utilization using top command and by using top different processes can be viewed. the apache process after 1 or 2 days shows cpu utilization of 100%. There is no affect on the server whatsoever of 100% because mail server has 2 processors of 4 core, i think so that may be the reason. Can any one explain why is this happening. What i do after that is i restart the httpd process and cpu utilization comes to normal.What are the reasons behind this and how to solve this permanently.
 
Old 01-27-2011, 12:32 AM   #2
camh
Member
 
Registered: Feb 2005
Distribution: Slack/Debian
Posts: 163
Blog Entries: 2

Rep: Reputation: 33
Quite frankly, there's too many variables (and not nearly enough information) here to even attempt to pose a solution. You're going to need to do more analysis. It could be application related, server related, configuration related or a combination of the above.

I would also say that you are incorrect in assuming that there is no impact on your server, merely due to the fact that is a dual-proc, quad core system. Is the CPU load spread out across all the cores, or is it just pinning one core? If you hit (1) in top, what does it say per-core/cpu?

Until you figure it out though, you might consider writing a cron script that restarts the service (perhaps daily in off-hours), just in-case you are wrong about there being no impact to the server.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU usage over 100% elainelaw Linux - Newbie 11 08-22-2010 06:38 AM
cpu usage 100% ahhkyyda Linux - Enterprise 2 09-03-2009 07:26 AM
Strange httpd memory usage TTiZ Linux - Server 1 05-25-2007 08:19 AM
100% Server Memory usage; too many httpd procs hansmast Linux - Server 3 09-11-2006 01:08 AM
CPU usage 100% ecsfan Red Hat 17 11-19-2003 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration