[NGINX] cache process manager consume a lot of CPU at reload and has to be restarted

Srebrenko Šehić ssehic at gmail.com
Thu Apr 7 23:36:14 MSD 2011


On Wed, Apr 6, 2011 at 8:17 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:

Hi,

> I was able to reproduce the problem.  With max_size=0 it starts
> hogging cpu right on startup.
>
> Try the attached patch.  It's against 0.9.7, but probably will
> apply cleanly or with minor modifications to 0.8.* as well.

Thanks a bunch Maxim! I applied the patch to my 0.8.50 installation.
Problem solved. No more cache manager hogging the CPU.

Igor, can we get this committed upstream?

Thanks,
Srebrenko



More information about the nginx mailing list