Hi,
Looking for help on why my Apache process's memory continues to grow
until it uses up all avaliable memory when using AB to make simple http static
page request. See details below but I have setup Apache to use http keep
alives and am reusing the connections.
Httpd memory reported by ps aux:
%MEM VSZ RSS
Start: apache1 74459 0.0 0.0 186156 4708 ? Sl
17:16 0:00 /home/httpbld/bin/httpd -k start -f /home/httpbld/conf/httpd.conf
AB 5min:apache1 74041 354 0.9 4511532 2445212 ? Sl 17:03 41:14
/home/httpbld/bin/httpd -k start -f /home/httpbld/conf/httpd.conf
To have the RSS memory grow to over 2GB seem excessive. Please let me know if
this is a known issues.
Thanks,
Dean...
Version Info:
Server version: Apache/2.4.7 (Unix)
Server built: Mar 6 2014 15:32:57
Server's Module Magic Number: 20120211:27
Server loaded: APR 1.5.0, APR-UTIL 1.5.3
Compiled using: APR 1.5.0, APR-UTIL 1.5.3
Architecture: 64-bit
Server MPM: worker
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D BIG_SECURITY_HOLE
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-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=256
-D HTTPD_ROOT="/home/httpbld"
-D SUEXEC_BIN="/home/httpbld/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-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"
Module List:
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (shared)
authn_anon_module (shared)
authn_core_module (shared)
authz_host_module (shared)
authz_user_module (shared)
authz_core_module (shared)
access_compat_module (shared)
auth_basic_module (shared)
mime_module (shared)
headers_module (shared)
unixd_module (shared)
autoindex_module (shared)
dir_module (shared)
worker config:
LoadModule mpm_worker_module modules/mod_mpm_worker.so
<IfModule worker.c>
ServerLimit 500
StartServers 1
MaxRequestWorkers 128000
MaxSpareThreads 128000
#MaxRequestWorkers 1
#MinSpareThreads 4096
ThreadStackSize 128000
ThreadLimit 256
ThreadsPerChild 256
Timeout 90
KeepAlive On
KeepAliveTimeout 90
MaxKeepAliveRequests 0
ListenBackLog 4096
MaxConnectionsPerChild 0
#MaxMemFree 10
</IfModule>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]