Results 1 to 3 of 3

Thread: High httpd processes

  1. #1
    Member
    Join Date
    Jul 2011
    Posts
    52
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    3

    Default High httpd processes

    Hi

    I have few webserver running Centos.
    We have huge database too on the same server.

    Sometimes httpd processes hit max number that is 256 and this affects perfomance of our website.user dont get to login during such event.
    So I just restart httpd service.

    What could be the possible reason for this sudden peak in httpd processes?
    What is the solution to bring them down.

  2. #2
    Junior Member
    Join Date
    Jul 2011
    Posts
    22
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Default

    You need to optimize the apache service on your httpd configuration to get it resolved.

    If you are using mpm preforf,

    StartServers 50 MinSpareServers 15 MaxSpareServers 30 MaxClients 225 MaxRequestsPerChild 4000

    and you can search google about this.

  3. #3
    Senior Member raj's Avatar
    Join Date
    Jun 2005
    Location
    Hyderabad
    Posts
    565
    Thanks
    57
    Thanked 40 Times in 37 Posts
    Rep Power
    13

    Default

    Set small timeout value
    Code:
    Timeout 20
    Set maxclient and other values. See

    1. Apache Performance Tuning - Apache HTTP Server
    2. http://www.stdlib.net/~colmmacc/Apac...esentation.pdf


    Use tool such as top, vmstat, sar and others to find out what causing sudden increase in httpd process.
    Raj
    Linux rulz.
    I have never turned back in my life ; I shall not do so today.. haha

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Logs to check when there are high http processes
    By spik2kush in forum Linux software
    Replies: 0
    Last Post: 3rd August 2011, 11:48 AM
  2. How to control Processes
    By arvnix in forum CentOS / RHEL / Fedora
    Replies: 3
    Last Post: 10th September 2010, 09:59 PM
  3. [Solved] httpd not starting
    By vamsi in forum Web servers
    Replies: 2
    Last Post: 6th May 2010, 03:39 PM
  4. httpd+php problem
    By navlepramod in forum Web servers
    Replies: 4
    Last Post: 15th April 2010, 05:57 PM
  5. httpd process
    By vimalgoel in forum Getting started tutorials
    Replies: 1
    Last Post: 8th October 2007, 12:40 AM

Tags for this Thread

Posting Permissions

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