Bug 61074

Summary: More helpful logfiles when limits are reached, should mention the actual value of the limit
Product: Apache httpd-2 Reporter: Silviu Marin-Caea <silviumc>
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description Silviu Marin-Caea 2017-05-05 07:28:01 UTC
Right now the errors when a limit is reached looks like this:

AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting

It would be more helpful if the messages was like this:

AH00161: server reached MaxRequestWorkers=150, consider raising the MaxRequestWorkers setting

Why, in this particular, case would have been more helpful than usual: MaxRequestWorkers is a new name for MaxClients and they are both supported.

I was increasing MaxRequestWorkers and it would have no effect. It was because in the same configuration file, a few lines down, MaxClients was set to a low limit and it was overriding MaxRequestWorkers. If the error message would have mentioned the actual value it would have been easier to figure out the problem.