Issue Details (XML | Word | Printable)

Key: MODPYTHON-202
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Graham Dumpleton
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
mod_python

Allow mechanism used by global mutex locks to be specified.

Created: 08/Nov/06 10:41 PM   Updated: 08/May/07 10:39 AM
Return to search
Component/s: core
Affects Version/s: 3.2.10
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
When using experimental Apache ITK MPM, described at:

  http://home.samfundet.no/~sesse/mpm-itk/

global mutex locks will fail if Apache used semaphores because requests against different virtual hosts run as different users and user will not have permission to access the semaphore to lock it. See:

  http://www.modpython.org/pipermail/mod_python/2006-November/022536.html

for original mailing list post about this from Sam Morris.

A suggested fix of finding a specific mechanism that works rather than default used by Apache, seems to work:

  http://www.modpython.org/pipermail/mod_python/2006-November/022537.html
  http://www.modpython.org/pipermail/mod_python/2006-November/022538.html
  http://www.modpython.org/pipermail/mod_python/2006-November/022539.html

If available MPMs with such constraints are going to appear, may make sense to have an option to configure which allows one to override at compile time the default mechanism used for global mutex locks so that it can be made to match what may be required for a specific MPM that Apache is compiled to use.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No changes have yet been made on this issue.