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
Return to search
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
Repository Revision Date User Message
ASF #385154 Sat Mar 11 20:35:31 UTC 2006 jgallacher Added support for configuring the mutex directory and number of locks
at apache startup using PythonOption directives. The unit tests still need
to be refactored to take advantage of this new capability.
Ref MODPYTHON-131, MODPYTHON-145
Files Changed
MODIFY /httpd/mod_python/trunk/Doc/modpython2.tex
MODIFY /httpd/mod_python/trunk/src/include/mod_python.h
MODIFY /httpd/mod_python/trunk/src/mod_python.c
MODIFY /httpd/mod_python/trunk/Doc/appendixc.tex
MODIFY /httpd/mod_python/trunk/src/include/mod_python.h.in

Repository Revision Date User Message
ASF #393441 Wed Apr 12 11:56:58 UTC 2006 grahamd Minor documentation fix related to MODPYTHON-145.
Files Changed
MODIFY /httpd/mod_python/trunk/Doc/appendixc.tex

Repository Revision Date User Message
ASF #393442 Wed Apr 12 12:03:09 UTC 2006 grahamd Backported MODPYTHON-131 and MODPYTHON-145 from trunk to branches/3.2.x.
Files Changed
MODIFY /httpd/mod_python/branches/3.2.x/test/test.py
MODIFY /httpd/mod_python/branches/3.2.x/src/mod_python.c
MODIFY /httpd/mod_python/branches/3.2.x/Doc/appendixc.tex
MODIFY /httpd/mod_python/branches/3.2.x/src/include/mod_python.h.in
MODIFY /httpd/mod_python/branches/3.2.x/configure.in
MODIFY /httpd/mod_python/branches/3.2.x/test/htdocs/tests.py
MODIFY /httpd/mod_python/branches/3.2.x/configure
MODIFY /httpd/mod_python/branches/3.2.x/Doc/modpython2.tex
MODIFY /httpd/mod_python/branches/3.2.x/src/include/mod_python.h