Results 1 to 3 of 3
  1. #1

    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:

    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.


  2. #2
    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

  3. #3
    Join Date
    Apr 2009
    +1 to the post above

    You could quite easily install visual stats
    █▌KVM-based SSD VPS
    ▌Unmetered Dedicated Servers
    ▌Colocation at 100 Delawanna Ave, Clifton, NJ

Similar Threads

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts