Summary: | Please tell the root cause of mutex and scoreboard generation failure! | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Jackie Zhang <jackie.qq.zhang> |
Component: | Core | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | apache_bugzilla, jackie.qq.zhang |
Priority: | P2 | Keywords: | PatchAvailable |
Version: | 2.4.3 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: |
To pinpoint the root cause of the scoreboard generation error
Articulate the root cause of mutex generation failure Articulate the root cause of mutex generation failure (updated!) |
Description
Jackie Zhang
2013-01-14 09:16:30 UTC
Hi, Eric, I noticed the severity is changed from "major" to "Enhancement". Ok, let me see whether I have time to help the cases. I guess it's easy to modify the log message but have to make sure its correct under all the abnormal cases. Best, Jackie Created attachment 29856 [details]
To pinpoint the root cause of the scoreboard generation error
Hi, This's the patch for the "scoreboard" problem. The basic idea is to remind users of checking the two relevant configuration options, i.e., "ServerLimt" and "ThreadLimit". These two directives decides the scoreboard size, c.f., "AP_DECLARE(int) ap_calc_scoreboard_size(void)", in "server/scoreboard.c". Also, I intentional notify the different between anonymous scoreboard which is in memory and file-based scoreboard which is on disk. Thanks, Jackie Created attachment 29857 [details]
Articulate the root cause of mutex generation failure
Hi, this patch is for mutex one. Hope it makes sense. Thanks, Jackie Hello Jackie, It looks like the patch to "Articulate the root cause of mutex generation failure" will need a small correction: Because of the added field in line 394, the format string in line 390 will require an additional %s. Thanks, Mike Created attachment 29863 [details]
Articulate the root cause of mutex generation failure (updated!)
Yes, exactly, Mike!
Thanks a lot for the sharp shot. GCC keeps silent this time :-(
Here's the refined one.
Thanks a lot!
Jackie
The logs are really misleading. Applying the proposed patches would be highly appreciated. |