Lots of critic errors on nginx

Hello, it’s been 6 months or more that I have a lot of crit error on nginx, almost always the same:

[crit] 1403#1403: unlink() “/var/cache/nginx/cd/8d55e55b386b393c6b2a57b938f5f5cd” failed (2: No such file or directory)

which I think is a bit weird because I set cache to 365d on the panel of each website. (my websites are never modified that’s why I set it that high)

Is there a way to resolve this issue?

Thanks in advance

Setting it so high doesn’t work as cache is clear for other reasons after 10 min of inactivity

Oh, okay thanks, so the max time is in reality 10mn?

Is there a way to make it unlimited?

Thanks!

Cache means temporary not permanent. Server resources are meant to be used.
You can set between 1-60m.

All right thanks, I have to admit that I’m a total beginner so I’ll follow your advice! Thanks.

I was worried because phpfpm was almost always at 100% so I tried differents ways to got if full cached haha

Its possible your site is not optimize or have bad scripts. What is your server specifications?

Vultr high frequency, 2vcpu + 4GB ram, woocommerce website, htop load average is 7 6 5, with wp rocket on, fastcgi on, and cloudflare

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.