httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Moret <mart...@mmoret.com>
Subject [users@httpd] Strange problem - Apache httpd 2.2.11 on Solaris 10 sparc
Date Tue, 11 Aug 2009 08:22:05 GMT
Hi,

We use Apache httpd 2.2.11 on Solaris 10 (Sparc).
I compiled httpd myself with the following options:
# ./httpd -V
Server version: Apache/2.2.11 (Unix)
Server built:   Feb  5 2009 09:00:47
Server's Module Magic Number: 20051115:21
Server loaded:  APR 1.3.3, APR-Util 1.3.4
Compiled using: APR 1.3.3, APR-Util 1.3.4
Architecture:   32-bit
Server MPM:     Worker
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/worker"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_FCNTL_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="/usr/local/apache2/"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

Worker MPM settings:
<IfModule mpm_worker_module>
    ServerLimit          64
    StartServers          4
    MaxClients         1024
    MinSpareThreads      32
    MaxSpareThreads     128
    ThreadsPerChild      16
    MaxRequestsPerChild  1024
</IfModule>

Sometimes the server load increases heavily, when looking at the processes, a few httpd are
using quitte a lot of CPU.
Output top:
last pid: 19041;  load avg:  8.09,  8.08,  8.07;       up 65+18:17:24  10:12:08
65 processes: 59 sleeping, 6 on cpu
CPU states: 66.5% idle, 33.4% user,  0.1% kernel,  0.0% iowait,  0.0% swap
Memory: 3968M phys mem, 1402M free mem, 4097M total swap, 4097M free swap

   PID USERNAME LWP PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
 28877 daemon     4   0    0   12M 9640K cpu/4   62.3H 12.24% httpd
 28625 daemon     4   0    0   12M 9448K cpu/11  62.3H 12.24% httpd
 28551 daemon     2   0    0   12M 9336K cpu/17  20.8H  4.08% httpd
 29187 daemon     2   0    0   12M 9400K cpu/21  20.8H  4.08% httpd
 19041 root       1  50    0 3456K 2408K cpu/8    0:00  0.06% top

There are no errors in the error log.

When looking at the server-status, these pids are active.
28625 and 28877 have three threads with Mode of operation "W"
28551 and 29187 have one threads with Mode of operation "W"
All pids have no other threads, so it looks like a problem sending the reply to the client....

Any ideas on how to solve this?

Regards and TIA
Martijn


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message