hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Keep getting problematic httpd processes
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Keep getting problematic httpd processes

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-08-2011, 01:16 PM
megafileporn megafileporn is offline
New Member
 
Join Date: Jun 2011
Posts: 2

Keep getting problematic httpd processes


Hey all,
I recently modified my loadavg script to store in a database the output of a top command if there's ever server loads of over 1. Overnight I've had 12 such times logged to a database.

Upon inspecting things (I was expected there is a recurring problem), the top command reveals that there are always three queries running together which take over 30 seconds each, and take up ~9% of memory each:

Quote:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26119 nobody 25 0 73492 38m 4792 S 0 8.5 0:30.00 httpd
7313 nobody 25 0 76716 42m 4992 S 0 9.5 0:29.99 httpd
14212 nobody 19 0 70688 39m 4844 S 0 8.8 0:30.03 httpd
Is there a command that will tell me exactly what these processes are? Like in WHM's "CPU/Memory/MySQL Usage" whereby it says what account these httpd processes are coming from, and the actual page they are coming from as well?

If I could log these details (i.e. account and page these are coming from) along with the output of the top command, I can hopefully troubleshoot where this problem is coming from.

.......................................................

Reply With Quote


Sponsored Links
  #2  
Old 06-09-2011, 08:42 PM
m4rc3 m4rc3 is offline
WHT Addict
 
Join Date: Jun 2008
Posts: 130
Isn't it easier to just have sysstat to know at what time the load spiked and then check the logs around that time?

__________________
Server Management and server solutions / 24x7 live support / 20 minutes response time

Reply With Quote
  #3  
Old 06-10-2011, 07:44 AM
Natcoweb Natcoweb is offline
WHT Addict
 
Join Date: Apr 2009
Posts: 170
+1 to the post above

You could quite easily install visual stats http://munin-monitoring.org/

__________________
█▌KVM-powered SSD VPS
▌Unmetered Dedicated Servers
▌Colocation at 100 Delawanna Ave, Clifton, NJ

Reply With Quote
Sponsored Links
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep getting problematic httpd processes (9% of memory each) Tristan Perry Hosting Security and Technology 3 03-23-2008 05:59 AM
Why so many Httpd processes? the_go_453 VPS Hosting 3 04-19-2007 12:47 AM
Identify httpd processes md2001 Hosting Security and Technology 6 03-18-2006 06:01 AM
5 Httpd processes? runes911 Hosting Security and Technology 9 04-13-2005 05:10 PM
httpd processes phuture Dedicated Server 1 02-03-2002 02:01 AM

Related posts from TheWhir.com
Title Type Date Posted
Web Host PhotonVPS Upgrades Infrastructure, Hosting Services Web Hosting News 2012-07-03 15:13:29
Beyond SOPA / PIPA at SXSW Blog 2012-03-16 15:34:26
Apache Web Server Adds Cloud Capabilities with First Major Update in 5 Years Web Hosting News 2012-02-21 16:05:02
CA Technologies Integrates CA Process Automation and VMware vCloud Director Web Hosting News 2011-10-20 19:09:10
Oracle is the Latest Vendor to Apply Patch for Apache Killer Flaw Web Hosting News 2011-09-19 14:43:58


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?