apache 2.2 выжирает проц

Discussion in 'Linux, Freebsd, *nix' started by Ex@rcist, 20 Feb 2010.

  1. Ex@rcist

    Ex@rcist New Member

    Joined:
    4 Sep 2009
    Messages:
    22
    Likes Received:
    3
    Reputations:
    0
    Есть у кого идеи почему апач так яростно выжирает проц (на сайте никого!) ?


    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    5894 www-data 20 0 40716 10m 4024 R 20 0.1 0:06.88 apache2
    5899 www-data 20 0 40716 10m 3996 R 20 0.1 0:04.24 apache2
    12779 mysql 20 0 149m 47m 5196 S 20 0.6 35:26.39 mysqld
    5897 www-data 20 0 40704 10m 4068 R 19 0.1 0:05.58 apache2
    5893 www-data 20 0 40716 10m 4048 S 18 0.1 0:06.92 apache2
    5898 www-data 20 0 40848 10m 4064 S 18 0.1 0:05.52 apache2

    KeepAlive Off
    KeepAliveTimeout 2
    MaxKeepAliveRequests 100

    StartServers 5
    MaxClients 10
    MinSpareThreads 25
    MaxSpareThreads 75
    ThreadsPerChild 25
    MaxRequestsPerChild 500

    Server version: Apache/2.2.9 (Debian)
    Server built: Nov 14 2009 20:23:49
    Server's Module Magic Number: 20051115:15
    Server loaded: APR 1.2.12, APR-Util 1.2.12
    Compiled using: APR 1.2.12, APR-Util 1.2.12
    Architecture: 32-bit
    Server MPM: Prefork
    threaded: no
    forked: yes (variable process count)
    Server compiled with....
    -D APACHE_MPM_DIR="server/mpm/prefork"
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
    -D APR_USE_SYSVSEM_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D DYNAMIC_MODULE_LIMIT=128
    -D HTTPD_ROOT=""
    -D SUEXEC_BIN="/usr/lib/apache2/suexec"
    -D DEFAULT_PIDLOG="/var/run/apache2.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
    -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"


    top - 21:42:34 up 1 day, 19:06, 2 users, load average: 1.81, 2.17, 2.32
    Tasks: 110 total, 1 running, 109 sleeping, 0 stopped, 0 zombie
    Cpu(s): 30.1%us, 4.9%sy, 0.0%ni, 64.3%id, 0.1%wa, 0.1%hi, 0.6%si, 0.0%st
    Mem: 8314132k total, 5069888k used, 3244244k free, 166116k buffers
    Swap: 14643236k total, 588k used, 14642648k free, 4611856k cached
     
  2. .::BARS::.

    .::BARS::. Elder - Старейшина

    Joined:
    13 Oct 2007
    Messages:
    379
    Likes Received:
    45
    Reputations:
    10
    логи!?