Uploaded image for project: 'mod_python'
  1. mod_python
  2. MODPYTHON-131

Make name of mutex directory configurable.

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.7
    • 3.2.10, 3.3.1
    • core
    • None

    Description

      Creating an issue for this so it can be tracked.

      Been pointed out in:

      http://www.mail-archive.com/python-dev@httpd.apache.org/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.

      Attachments

        Activity

          People

            jgallacher James Paul Gallacher
            grahamd Graham Phillip Dumpleton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment