Issue Details (XML | Word | Printable)

Key: MODPYTHON-145
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Jim Gallacher
Reporter: Jim Gallacher
Votes: 0
Watchers: 0
Operations

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

Make number of mutex locks configurable at apache startup

Created: 11/Mar/06 11:33 PM   Updated: 11/Apr/07 11:34 AM
Component/s: core
Affects Version/s: 3.3.x
Fix Version/s: 3.2.10, 3.3.1

Time Tracking:
Not Specified

Resolution Date: 12/Mar/06 05:43 AM


 Description  « Hide
The number of locks can already be specified at compile time usine ./configure --with-max-locks=value
For completeness, the maximum number of mutex locks created by python_init should be configurable via a PythonOption. The number of locks will only be set if the PythonOption directive appears in the server context. Any other context will be ignored.

PythonOption mod_python.mutex_locks value

The implementation of this will be similar to the code required for http://issues.apache.org/jira/browse/MODPYTHON-131.

The number of locks can already be specified at compile time usine ./configure --with-max-locks=value

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jim Gallacher added a comment - 11/Mar/06 11:37 PM
Use of this PythonOption to configure apache in the unit tests interferes with unit tests which are testing the PythonOption itself. These other tests assume that PythonOption is only used in the testing of PythonOption, and will need to be rewritten if we want to take advantage of PythonOption mod_python.mutex_locks or PythonOption mod_python.mutex_directory in the tests.