On Jun 17, 7:24 pm, Wichert Akkerman <[EMAIL PROTECTED]> wrote:
> Previously Graham Dumpleton wrote:
> > Is Paste#evalerror the same as EvalException or something different?
>
> It's an entry point which maps to
> paste.evalexception.middleware.make_eval_exception which indeed sets up
> EvalException.
>
> Looking at the code I must have misremembered: it does not support a
> multi-process environment, but does support multi-threading.

Which means that:

  WSGIDaemonProcess debug

alone, ie., allowing default single process to be created, should be
sufficient.

Note, don't use:

  WSGIDaemonProcess processes=1

The use of 'processes' option with any number makes mod_wsgi think you
have a multiprocess configuration and sets wsgi.multiprocess to be
True as a default.

Having thus subtle difference was probably not good in hindsight and
should have allowed flagging of single process as being part of multi
process configuration in a different way.

FWIW, you would use 'processes=1' where want only one process on a
specific Apache instance, but are loading balancing overall across
multiple Apache installations. Need some way in that case to override
wsgi.multiprocess so application knows that although only one process
in this Apache instance, that may also be running elsewhere.

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

Reply via email to