I am trying to use multiprocessing within a modwsgi app and am having
an issue. At first I was getting errors regarding permissions to use
stdout, etc. I fixed these by setting WSGIRestrictStdout,
WSGIRestrictStdin, and WSGIRestrictSignal to Off in my conf file. Now
I get no errors, but the process doesn't actually run. My usage is
quite simple: on a page request, I try something along the lines of:

  p = multiprocessing.Process(target=fn, args...)
  p.start()
  p.join()

The target doesn't output anything, but if run properly it should add
some records to the database. I tested that it works normally by
running the app under the django development server, which doesn't
seem to have an issue with multiprocessing. Has anyone encountered
this before?

--~--~---------~--~----~------------~-------~--~----~
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