Questions tagged [mpm-event]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

Accessing default MPM prefork values in Ubuntu(debian based architecture) vs CentOS (Red Hat Enterprise Linux)

I was trying to list the MPM prefork default configuration values in apache web server. In ubuntu, apache web server, I could access the values inside /etc/apache2/mods-available/mpm_prefork.conf file....
0
votes
0answers
38 views

Configure Apache with PHP-FPM Support

I have installed DirectAdmin control panel on my centOS 8 server with PHP FPM and apache MPM event. reading some articles about how to configure apache to work with PHP FPM, I figured out FPM handler ...
0
votes
0answers
71 views

apache-calculating ServerLimit based on buff/cache, available memory? or both?

I have been reading many articles to understand how to configure apache server for a high traffic website. the article here tries to calculate Thrashing point-where swapping occurs-and then calculates ...
2
votes
1answer
2k views

Apache hangs on “child process X still did not exit, sending a SIGKILL”

I did update on server to php7.3-fpm to get http2 working. Setup everything needed, h2 works great, all websites is up. But like every 5 minutes server get stuck on these errors until I restart apache....
0
votes
1answer
33 views

Does MaxClients determine the number of active users in a site

Keeping all factors constant , assuming my apache server is configured as below , in event mpm <IfModule mpm_prefork_module> StartServers 2 MinSpareServers 2 MaxSpareServers 5 MaxClients 200 # ...
0
votes
0answers
178 views

Apache2 can't handle 200 concurrent requests with 8GB Ram and 4 core cpu

I am load testing a worpress site with loader.io , i am sending 100 concurrent requests per second, running the test in exactly 1 minute. The test fails considerably after 20 seconds or so, nothing ...
0
votes
0answers
89 views

Apache won’t run some PHP scripts

I am very new to this php-fpm thing, but I decided I need to get into it. I recently migrated to Centos 8, and with it to Apache 2.4. I have a number of virtual hosts using PHP which worked well until ...
0
votes
0answers
23 views

Real configuration value used by Apache MPM at runtime

How to dump (print out) configuration values being used by Apache? For example, my MPM event module has the following configuration: <IfModule mpm_event_module> StartServers 160 ...
1
vote
0answers
204 views

Which mpm setting to use to limit the number of connections on Centos 7 apache

I am googling around and finding myself going down a rabbit hole and getting nowhere. My over all goal is to limit the number of connections that can be made at the same time to Apache on a Centos 7 ...
0
votes
1answer
62 views

What do these sporadic floods of 301 GET log entries every mean?

I have a new CentOS7 web server running virtualmin. It hosts a new WordPress site that just went into production. Starting mid-day today, on the quarter hour, to the second, I am troubleshooting ...
1
vote
1answer
2k views

Apache too many child process - mpm_event caught SIGTERM shutting down

My Apache with ModSecurity, mod_evasive20 enabled occasionally geting crashed: These are glimpse of error log: [core:warn]**: child process 24709 still did not exit, sending a SIGTERM [core:error]**:...
1
vote
0answers
435 views

Apache performance tuning for high traffic with MPM Event

I currently manage the following set of servers that serve about 700 web pages: SERVER 1 (WEB) Web server: Apache 2.4.29 with MPM Event PHP 7.2.22 CPU: Intel Xeon CPU E5-2673 v4 @2.30GHz (4 cores) ...
1
vote
0answers
92 views

Server still overload after changing from prefork mpm to event mpm

On Ubuntu 14 with Apache/2.4.7. It is 6 CPU cores with 16GB RAM from Linode.com. Even after changing to Event MPM it still is overloaded in the same way. Till noon it was stopping temporarily then ...
2
votes
0answers
1k views

PHP7.3-FPM with Apache: Unknown script request execution timed out

I configured Apache 2.4 MPM Event with PHP7.3-FPM on a pretty busy web server as follows: Timeout 90 <Proxy "unix:/run/php/php7.3-fpm.sock|fcgi://php-fpm"> ProxySet disablereuse=on timeout=...
0
votes
1answer
602 views

403 Forbidden on JS/CSS files after switching Apache to use Event MPM and php-fpm

(I see there are several existing questions about 403 errors and one or two of the rest of the parts of my configuration, but nothing that seems to match up to my exact situation that I've seen so far,...
0
votes
0answers
52 views

Increase in memory utilization after upgrading to httpd 2.4.34 from 2.4.23 for 7.2

We upgraded from httpd 2.4.23 to 2.4.32 . After upgrade, we noticed mpm module got changed from preforx to event in 2.4.23 $ /apps/httpd.2.4.23/bin/httpd -M | grep mpm mpm_prefork_module (...
2
votes
0answers
193 views

php.net discourages the use of threaded MPM in production with Apache 2

php.net discourages the use of threaded MPM in production with Apache 2. Use the prefork MPM, which is the default MPM with Apache 2.0 and 2.2. It doesn't mention anything about apache 2.4, I have ...
-1
votes
2answers
2k views

How to make apache and php use more memory?

I am working on one server having 16GB of RAM. It runs on Apache with php-fpm. The site hosted on this server is taking about 10 seconds to load. First I thought that it's a resources issue, but when ...
1
vote
1answer
1k views

Increasing the max execution time

Mine is Ubuntu 14 and I've enabled fpm-event with Apache. apachectl -V | grep -i mpm shows: Server MPM: event It seems those pages which take more than 30 seconds to execute I'm getting this ...
0
votes
1answer
2k views

SetEnv in htaccess file doesn't work with PHP-FPM

I'm moving from a prefork apache setup to event mode with php-fpm. In prefork mode, I can use SetEnv directives in an htaccess file like so: SetEnv CI_ENV testing And that value ends up in PHP: ...
14
votes
2answers
25k views

switch apache from prefork to event in Ubuntu 16, get php 7 working

Apache was running slow in production. After searching for answers for some time, I finally went to #apache IRC channel and the pros had me check the apache mode with this command: sudo apachectl -V ...
1
vote
1answer
3k views

Debian 8, Apache 2.4.10: Scoreboard is full, not at MaxRequestWorkers

Fresh install of Debian 8. After running my web server for a few minutes/hours, Apache2 stops working. I always get the error "Scoreboard is full, not at MaxRequestWorkers" from Apache2 error.log. ...
5
votes
7answers
10k views

(13) Permission denied on Apache CGI attempt

I have recently upgraded my Apache2 server, and am now unable to run a CGI app. My logs are showing (13) Permission denied unable to connect to cgi deamon after multiple tries I understand that the ...