> 2011/11/30 £ukasz Mierzwa <[email protected]>
>
>> Dnia ¶roda, 30 listopada 2011 21:14:08 £ukasz Mierzwa pisze:
>> > I've noticed that after worker is reloaded due to max-requests, it
>> eats
>> as
>> > much memory as before reload. Reloads caused by editing vassal config
>> file
>> > makes all workers do full restart and they eat very little memory.
>> Should
>> > max requests/max memory limit reloads be technically the same as
>> config
>> > edit reloads?
>> > I think that this is why I got this "worker reload bomb", my workers
>> reached
>> > max memory limit but reload did not caused them to release memory, so
>> they
>> > were reloaded at every request. I just disabled KSM on one node to see
>> if
>> > it makes any difference.
>>
>> Turning KSM doesn't seem to have any effect and workers used memory is
>> still
>> growing up despite reloads. Workers pid are changing during reload so
>> they
>> are
>> performed. Maybe chroot issue?
>>
>
> Another (maybe stupid) idea: during reload new worker is forked from the
> current worker that is suppose to be killed instead of clean instance (?).
>
> --

No, workers are forked from the master().

Does the memory report you get is from "ps" or from the uwsgi stats server ?

In the second case, be sure to have this patch applied:

http://projects.unbit.it/uwsgi/changeset/4b94dbd1c7c3be3622cae0dbb2747767693de5b8


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to