Apache Mod-Python - Created: (MODPYTHON-131) Make name of mutex directory

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > February 2006 > Created: (MODPYTHON-131) Make name of mutex directory





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Created: (MODPYTHON-131) Make name of mutex directory
Graham Dumpleton (JIRA)

2006-02-17, 11:10 pm

Make name of mutex directory configurable.
------------------------------------------

Key: MODPYTHON-131
URL: http://issues.apache.org/jira/browse/MODPYTHON-131
Project: mod_python
Type: Improvement
Components: core
Versions: 3.2
Reporter: Graham Dumpleton


Creating an issue for this so it can be tracked.

Been pointed out in:

http://www.mail-archive.com/python-...g/msg01271.html

that on Mandriva Linux, that is is necessary to manually change the mutex directory in mod_python.c source code. Area of code is:

#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE)
char fname[255];

snprintf(fname, 255, "/tmp/mpmtx%d%d", glb->parent_pid, n);
#else
char *fname = NULL;
#endif

There should be an option to configure program to allow this to be more easily changed.

Way of changing the value through Apache configuration to also be investigated further.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com