After running for approximately 5 days a Django app running under
mod_wsgi fails with the following error:

  ExtractionError: Can't extract file(s) to egg cache
  The following error occurred while trying to extract file(s) to the
Python egg cache:
  [Errno 13] Permission denied: 'MySQL_python-1.2.2-py2.5-solaris-2.11-
i86pc.egg-tmp'
  The Python egg cache directory is currently set to:   \xae\xc7\xfaD
\xd8\xc8\x15\b

This happens on two different Joyent virtual boxes at different times
of the day, depending on when Apache was last restarted. The corrupt
directory name is different each time.

I've tried it with a global egg setting (WSGIPythonEggs) and daemon
process specific setting as follows:

   WSGIDaemonProcess app user=www group=www processes=10 threads=1
display-name=%{GROUP} python-path=/opt/app/src python-eggs=/tmp/egg/
app/ inactivity-timeout=60
   WSGIApplicationGroup %{GLOBAL}
   WSGIProcessGroup app

Apache serves two different Django apps in single-threaded daemon mode
and a php fastcgi app.

The setup is:
1. Apache 2.2.9 (compiled from the coolstack src)
  Server MPM:     Worker
    threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
2. mod_wsgi 2.1
3. Python 2.5.2 compiled in shared mode

All comments/suggestions on this strange one gratefully accepted!

Robert
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to