[JIRA] Commented: (SSPCPP-446) Try moving child_init hooks in Apache 2.x modules to post_config
Scott Cantor (JIRA)
noreply at shibboleth.net
Fri May 4 02:21:03 BST 2012
[ https://issues.shibboleth.net/jira/browse/SSPCPP-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047#comment-14047 ]
Scott Cantor commented on SSPCPP-446:
-------------------------------------
The problem with using post_config is that the module spins up background threads for config monitoring and cache cleanup, and the child process fork omits them since only the main thread is copied.
I think it would take a new set of APIs to manage child process forking and split those thread creation events into separate API calls that would happen in child_init. That's quite Apache specific, so there's no support for that.
But moving the hook does fix the logging permissions problem, so it would be really nice to somehow preserve that benefit.
> Try moving child_init hooks in Apache 2.x modules to post_config
> ----------------------------------------------------------------
>
> Key: SSPCPP-446
> URL: https://issues.shibboleth.net/jira/browse/SSPCPP-446
> Project: Shibboleth SP - C++
> Issue Type: Improvement
> Components: Web Server Modules
> Reporter: Scott Cantor
> Assignee: Scott Cantor
> Fix For: 2.5
>
> Original Estimate: 1 day
> Time Spent: 1 hour, 30 minutes
> Remaining Estimate: 6 hours, 30 minutes
>
> Moving child_init to post_config may be more efficient and could solve the permissions mess with native.log. Not sure it will work, needs to be tested.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list