I'm using nginx + php-fpm, but there is abnormal load on /tmp when no files are noted in /tmp at all.

Francis Daly francis at daoine.org
Thu Feb 17 19:17:39 MSK 2011

On Fri, Feb 18, 2011 at 12:54:10AM +0900, Runner Up wrote:

Hi there,

> Is there any reason /tmp should have such a heavy write load without any
> files in it?

A convenient way of using temporary files is to open and delete them. It
removes the filename, which hides it from "ls", among other things.

See ngx_open_tempfile in the source, for an example.

Try "lsof /tmp" to see what open filehandles are in that directory.

Good luck with it,

Francis Daly        francis at daoine.org

More information about the nginx mailing list