httpd memory usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: httpd memory usage
- From: Paul Gregory <paulg@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 4 Apr 2022 08:18:36 -0400
- Reply-to: users@xxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0
Hello,
httpd is eating my server memory. 12GB of installed memory.
I've read a lot of info on memory tuning, but can't seem to make it
use less than shown below.
Thanks for any and all help,
Paul
PID USER PR
NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15890 apache 20 0 4291252 1.6g 10544 S 0.0 14.1
4:45.03 httpd
15891 apache 20 0 4383160 1.5g 10640 S 0.0 14.0
5:32.65 httpd
15756 apache 20 0 4156040 1.4g 10260 S 0.0 12.7
2:26.57 httpd
15730 apache 20 0 3697448 980.4m 9888 S 0.0 8.7
1:07.23 httpd
15729 apache 20 0 3229884 810576 6928 S 0.0 7.0
0:50.16 httpd
Server info:
# ./apachectl -V
Server version: Apache/2.4.53 (Unix)
Server built: Apr 3 2022 08:22:55
Server's Module Magic Number: 20120211:124
Server loaded: APR 1.7.0, APR-UTIL 1.6.1, PCRE 8.32 2012-11-30
Compiled using: APR 1.7.0, APR-UTIL 1.6.1, PCRE 8.32 2012-11-30
Architecture: 64-bit
Server MPM: event
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_PROC_PTHREAD_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="/usr/local/apache-2.4.53"
-D SUEXEC_BIN="/usr/local/apache-2.4.53/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"
MPM event settings:
<IfModule
mpm_event_module>
StartServers 5
MinSpareThreads 50
MaxSpareThreads 150
ThreadsPerChild 25
MaxRequestWorkers 200
MaxConnectionsPerChild 1000
</IfModule>
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]