Nginx's client_body tmp directory deleted every so often (causing uploads to fail)

Hello all,

I am wondering if anybody else is seeing this happen. I am pretty
stumped as to why. Basically, I when I compiled nginx, I told it to
use the /tmp/nginx for all tmp directories (client_body, fastcgi, and
proxy). Now, what happens is that, every so often, /tmp/nginx/
client_body is removed which causes all file uploads to fail.

I am currently running 0.6.22, but this happened with 0.5.33 and up. I
haven’t seen anything in the change logs regarding this. I am not sure
if it is a nginx problem. Maybe rails? I don’t think it could be
anything in my code as I have noticed this happen on my other servers
that are running other applications. I am running rails 2.0.2 on both
servers.

Anyway, I’m not sure if this is something that only I am experiencing
or other people are too? Thoughts?

Regards,
Carl

I take it that nobody else has noticed this?
I really have no idea… :-/

On Tue, Feb 26, 2008 at 9:32 AM, [email protected] <
[email protected]> wrote:

haven’t seen anything in the change logs regarding this. I am not sure


EPA Rating: 3000 Lines of Code / Gallon (of coffee)

Is it just your OS cleaning up stuff in /tmp? Try recompiling with
the nginx bits somewhere under /var instead - see if that fixes the
problem

On 09/03/2008, Carl L. [email protected] wrote:

I am wondering if anybody else is seeing this happen. I am pretty
servers.


EPA Rating: 3000 Lines of Code / Gallon (of coffee)


Tony White