Bug?
Maxim Dounin
mdounin at mdounin.ru
Fri Sep 25 18:14:32 MSD 2009
Hello!
On Fri, Sep 25, 2009 at 03:57:31PM +0200, Alejandro Martínez wrote:
> Maxim Dounin wrote:
> > Hello!
> >
> > On Fri, Sep 25, 2009 at 03:03:17PM +0200, Alejandro Martínez wrote:
> >
> >> >
> >> on device), client: 10.100.0.115, server: contentdata.spacash.com,
> >> request: "POST /store.php HTTP/1.1", host: "10.100.0.155"
> >>
> >> No space left on device. I thought setting the upload path at php.ini
> >> would be enough, but it seems nginx first stores the files in that
> >> "client_body_temp" directory and then moved to php's temporary uploaded
> >> file location.
> >>
> >> Is that configurable for nginx? It would be nice if the "copy" could be
> >> avoided, as i have the temporary uploaded file location por php in a
> >> different partition (where i have plenty of space left).
> >
> > It doesn't "move", but *pass* it to fastcgi application according
> > to fastcgi protocol (i.e. writes via socket). If you want to avoid
> > it you may consider using Valery Kholodkov's upload module, see
> >
> > http://wiki.nginx.org/Nginx3rdPartyModules#Upload_Module
> >
> > Note that this aproach requires special handling from your code.
> >
> > Maxim Dounin
>
> Nice. I'll check it out.
>
> As right now i have some time constraints, i replaced the
> client_body_temp dir with a dynamic link to a partition with enough
> space and it seems to work fine. But then i will give that module a try.
I don't really understand what means "replaced ... with a dynamic
link" (symbolic link?), but just to make sure you know:
http://wiki.nginx.org/NginxHttpCoreModule#client_body_temp_path
Maxim Dounin
More information about the nginx
mailing list