scoreboard is full, not at MaxRequestWorkers.Increase ServerLimit

qba82

Verified User
Joined
Jun 26, 2018
Messages
65
Hi, after about month of working my apache is not serving any website, even if it is running just fine, until apache is restarted (then everything work just fine), it happens like 3 times now since last months.
In error log I found this:

[Tue Jul 13 10:37:54.440017 2021] [mpm_event:error] [pid 1638:tid 139662962415744] AH03490: scoreboard is full, not at MaxRequestWorkers.Increase ServerLimit.

My current MPM settings is:
Server MPM: event

nano /etc/httpd/conf/extra/httpd-mpm.conf

<IfModule mpm_event_module>
StartServers 6
MinSpareThreads 32
MaxSpareThreads 128
ThreadsPerChild 64
ServerLimit 32
MaxRequestWorkers 2048
MaxConnectionsPerChild 10000
</IfModule>

I have 256GB RAM, how can I fix it?
 
maybe you need to custom that file

change value
Code:
ServerLimit 40
MaxRequestWorkers 2560

note:
MaxRequestWorkers = ThreadsPerChild * ServerLimit < Available Memory ( Ram)


this problem will happend when you have too much client connection to your website
 
i have the same problem,

<IfModule mpm_event_module>
StartServers 6
MinSpareThreads 32
MaxSpareThreads 128
ThreadsPerChild 64
ServerLimit 32
MaxRequestWorkers 2048
MaxConnectionsPerChild 10000
</IfModule>


i have changed settings
ServerLimit 40
MaxRequestWorkers 2560

but after ./build rewrite_confs in DirectAdmin, the settings return to the original.
 
Hi, I have to get back to this problem because it is not solved.

I still get this error:
[Tue Jul 13 10:37:54.440017 2021] [mpm_event:error] [pid 1638:tid 139662962415744] AH03490: scoreboard is full, not at MaxRequestWorkers.Increase ServerLimit.

I have increased settings to:

<IfModule mpm_event_module>
StartServers 6
MinSpareThreads 32
MaxSpareThreads 128
ThreadsPerChild 64
ServerLimit 128
MaxRequestWorkers 8192
MaxConnectionsPerChild 10000
</IfModule>

but still after few days apache not loading any websites, I noticed that after I restart apache and when I check its status, by "service httpd status" I can see correct PIDs, for example:

├─14627 /usr/local/php74/bin/php-cgi74 -d sendmail_path=/usr/sbin/sendmail -t -i -f [email protected] -d sendmail_from="[email protected]" -d open_basedir="...
├─14628 /usr/local/php74/bin/php-cgi74 -d sendmail_path=/usr/sbin/sendmail -t -i -f [email protected] -d sendmail_from="[email protected]...
├─14629 /usr/local/php74/bin/php-cgi74 -d sendmail_path=/usr/sbin/sendmail -t -i -f [email protected] -d sendmail_from="[email protected]...
├─14630 /usr/local/php74/bin/php-cgi74 -d sendmail_path=/usr/sbin/sendmail -t -i -f [email protected] -d sendmail_from="[email protected]" -d open_b...

but when apache is stuck, on its status it showing ONLY below PIDs:

├─14072 /usr/sbin/httpd -DFOREGROUND
├─14073 /usr/sbin/httpd -DFOREGROUND
├─14075 /usr/sbin/httpd -DFOREGROUND
├─14095 /usr/sbin/httpd -DFOREGROUND
├─14154 /usr/sbin/httpd -DFOREGROUND

any idea how to fix it?
 
you must check which processes stuck, a lot of sendmail - someone spamming?
 
maybe you need to custom that file

change value
Code:
ServerLimit 40
MaxRequestWorkers 2560

note:
MaxRequestWorkers = ThreadsPerChild * ServerLimit < Available Memory ( Ram)


this problem will happend when you have too much client connection to your website
Thank you very much for the answer. In which file needs to make the changes?
 

Attachments

  • Screenshot 2023-07-05 at 8.22.01 AM.png
    Screenshot 2023-07-05 at 8.22.01 AM.png
    167.3 KB · Views: 12
Back
Top