The version is 2.0.8, strace looks something like this:
..
nanosleep({0, 204800000}, NULL)
....
nanosleep({0, 819200000}, NULL)
....
nanosleep({0, 409600000}, NULL)


Commenting out that line helped, yes!

On Sat, Nov 1, 2014 at 4:18 AM, Roberto De Ioris <[email protected]> wrote:

>
> > That does not help, unfortunately.
> > 700 projects started in 6 minutes, tried even setting emperor-throttle to
> > 1.
> >
> > The CPU is almost idle during this process.
> > And unfortunately, it looks like none of the vassals work until emperor
> is
> > done spawning everyone. Not sure about this, but it looks like so.
> >
> > Here's the config:
> > exec uwsgi --logto /var/log/uwsgi/emperor.log \
> >     --die-on-term --emperor "/var/lib/crm/uwsgi_includes" \
> >     --chmod-socket=777 --emperor-throttle=100 \
> >     --emperor-on-demand-directory "/var/lib/crm/uwsgi_includes"
> >
> > Thanks a lot!
>
> This is pretty strange, which uWSGI version ?
>
> Just to be sure the problem is the throttling, can you comment this line
> and retry ?
>
> https://github.com/unbit/uwsgi/blob/uwsgi-2.0/core/emperor.c#L870
>
> --
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to