Learn when you want, where you want with convenient online training courses. Sign up now!
[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More
Experts Exchange Solution brought to you by
"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.
pm.max_requests = 100
Open in new window
Server version: Apache/2.4.34 ()
Server built: Aug 17 2018 22:14:33
Server's Module Magic Number: 20120211:79
Server loaded: APR 1.6.3, APR-UTIL 1.6.1
Compiled using: APR 1.6.3, APR-UTIL 1.6.1
Server MPM: event
threaded: yes (fixed thread count)
forked: yes (variable process count)
[root@ip-172-31-8-214 ~]# php -v
PHP 7.2.8 (cli) (built: Aug 14 2018 16:45:02) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.
You could probably change the process manager config (pm) to run "ondemand" instead of "dynamic", which could force the php-fpm processes to die a short while after they're done (so they'll still accommodate high bursts traffic really well but then they'll go away completely after a little bit of idle time). However, I'm also cautious about masking the problem accidentally.
Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.
[root@ip-172-31-8-214 ~]# netstat -npa | grep httpd
tcp6 0 0 :::80 :::* LISTEN 830/httpd
tcp6 0 0 :::443 :::* LISTEN 830/httpd
tcp6 0 0 172.31.9.125:443 22.214.171.124:63411 FIN_WAIT2 21100/httpd
unix 2 [ ACC ] STREAM LISTENING 34005020 21088/httpd /run/httpd/cgisock.830
unix 3 [ ] STREAM CONNECTED 33349561 830/httpd
[root@ip-172-31-8-214 wflogs]# ls -la
drwxr-sr-x 2 apache apache 4096 Sep 10 15:09 .
drwxr-sr-x 12 apache apache 4096 Sep 8 14:39 ..
-rw-rw---- 1 apache apache 40083 Sep 10 04:58 attack-data.php
-rw-rw---- 1 apache apache 1113107 Sep 10 15:09 config.php
-rw-r--r-- 1 apache apache 3399631 Jul 16 10:31 GeoLite2-Country.mmdb
-rw-r--r-- 1 apache apache 133 Jul 11 11:22 .htaccess
-rw-rw---- 1 apache apache 51 Sep 10 13:59 ips.php
-rw-rw-r-- 1 apache apache 128057 Sep 10 10:41 rules.php
-rw-rw---- 1 apache apache 58404 Sep 10 10:41 wafRules.rules
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.