100% CPU usage httpd.bin

Re: 100% CPU usage httpd.bin

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers
So you are saying Bitnami Community can't help? So much for 'easy' installers of AMP stacks! :|

Yes, you probably don't have any settings for MaxRequestWorkers ... therefore your server is using whatever defaults for that are. The reference in the log file said to add ... thus increase from default value.

However, some clips ....
# Supplemental configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.

# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf

# Various default settings
Include conf/extra/httpd-default.conf

For you to research ... Pagespeed - is good for static pages but not dynamic like Moodle

Include conf/pagespeed.conf
Include conf/pagespeed_libraries.conf

On a CentOS 7 Rackspace minimal install  - apache installed via yum ...
/etc/httpd/conf.modules.d ... there is a 00-mpm.conf file.
Contained therein something apache2buddy recommended: MaxRequestWorkers

Did you install apache2buddy and run it like suggested?

I don't use Bitnami ... and will go as far to say I will NEVER use Bitnami.

We all pick our own 'poisons' (OS, stacks, etc.) and have to work on our own antidotes! smile

'SoS', Ken

Average of ratings: Useful (1)