I have a nginx server, it works fine about 1 year but two weeks ago server has been moved to another provider. All was ok, but after some time, aapproximatelly 3 days, server start to throw errors on upload files, like:
2017/07/26 09:58:18 [crit] 13254#13254: *2829396 open() "/var/lib/nginx/proxy/7/12/0000002127" failed (13: Permission denied) while reading upstream, client: 195.82.157.12, server: ***, request: "GET *** HTTP/1.0", upstream: "***", host: "***", referrer: "***"
but this is wrong, i even change permissions to 777 for shure, but there was still the same errors.
No other errors was in logs, only "permission denied" with different digital names after /var/lib/nginx/proxy/. After restarting nginx all was ok again, but now this errors returns with random interval, about 2 days. The only cure i found is restart.
Can anyone help me or at least give a clue were should I dig to fix this?