Bah, this turned out to be a bad piece of code in one of the extensions. It
was supposed to spawn one set of 5 threads for processing. Except, it's
spawning 5 threads on every request! I was needlessly blaming mod_wsgi when
it was actually the code.

Regards
Nigel

On Thu, Feb 12, 2015 at 8:48 AM, Nigel Babu <[email protected]> wrote:

> Hello,
>
>
>
> I'm running CKAN[1] under mod_wsgi for a particular site. This server has
> recently been alerting because it has more than 4000 running processes.
> When I looked into it, almost all the new ones were from mod_wsgi process.
> Restarting the server cleared out all the processes. The number of
> processes go back up quite soon (56 processes in about 20 minutes).
>
> I found this thread[2] but I don't have any specific C extensions for this
> site in particular. We use a standard Apache config everywhere and I've not
> noticed this in the past for any other site. Any thoughts on what I should
> be thinking of that I haven't yet?
>
> [1] https://github.com/ckan/ckan
> [2] https://groups.google.com/forum/#!topic/modwsgi/FdYTYDAkMHU
>
> Nigel.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/modwsgi.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to