To do it would mean having configuration options to set the listen back log for the UNIX listener socket that a daemon process group listens on, plus a configuration option to disable the back off and reconnect when connection failures occur when connecting to the daemon processes from the Apache child processes.
Overall I cannot think of any good reason to do this though with the result possibly being less stable/predictable behaviour. It possibly would render useless the ability of daemon processes to be restarted by touching the WSGI file as you would cause 503 all the time when you do it. Can you now explain why you would want to do this? Graham On 23 May 2011 20:17, Pieter Ennes <[email protected]> wrote: > That would be daemon mode primarily... > > - Pieter > > > > On 23 mei, 11:06, Graham Dumpleton <[email protected]> wrote: >> Are you specifically talking about embedded mode or daemon mode? >> >> Graham >> >> On 23 May 2011 20:02, Pieter Ennes <[email protected]> wrote: >> >> >> >> >> >> >> >> > Hi all, >> >> > I'm looking for a way to have mod_wsgi return a 503 response straight >> > away whenever no process/thread is available, instead of having the >> > incoming requests queue up first. Is there any way to do this? Based >> > on the detailed description here: >> >> > http://groups.google.com/group/modwsgi/browse_thread/thread/706cff32a... >> >> > I'm not sure if this is currently possible. Can I file a feature >> > request for this? >> >> > Thanks, >> > - Pieter >> >> > -- >> > 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 >> > athttp://groups.google.com/group/modwsgi?hl=en. > > -- > 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. > > -- 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.
