You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Philip Mak <pm...@animeglobe.com> on 2002/01/06 15:44:06 UTC
Fixed (Re: HTTP file uploads with mod_accel)
Never mind, I'm an idiot. I just took a look at the error_log of my
frontend and the problem became clear.
[Sun Jan 6 09:42:04 2002] [error] [client 206.173.36.189] (13)Permission denied: accel: can't create tempfile /usr/local/apache/cache/tmpFtYxlf
Re: Fixed (Re: HTTP file uploads with mod_accel)
Posted by Igor Sysoev <is...@rambler-co.ru>.
On Sun, 6 Jan 2002, Issac Goldstand wrote:
> DOES mod_accel buffer the uploads as they come through? That feature
> would be critical for compatibility with libapreq's UPLOAD_HOOK, which I'm
> finding lots of nice uses for...
Yes, mod_accel buffers completly uploads and starting from 1.0.8
broken uploads even do not go to backend.
The are two reasons:
1. Backend should not wait slow client upload.
2. To implement simple fault-tolerance I need to collect whole upload.
Although second reason does not require to collect whole upload before
sending it to backend.
There is workaround to use UPLOAD_HOOK on backend - you can use mod_proxy
with mod_accel:
ProxyPass /upload/ http://backend/upload/
ProxyPassReverse /upload/ http://backend/upload/
AccelPass / http://backend/
AccelNoPass /upload/
Igor Sysoev
Re: Fixed (Re: HTTP file uploads with mod_accel)
Posted by Issac Goldstand <ma...@beamartyr.net>.
Igor,
DOES mod_accel buffer the uploads as they come through? That feature
would be critical for compatibility with libapreq's UPLOAD_HOOK, which I'm
finding lots of nice uses for...
Issac
----- Original Message -----
From: "Igor Sysoev" <is...@rambler-co.ru>
To: "Philip Mak" <pm...@animeglobe.com>
Cc: "Issac Goldstand" <ma...@beamartyr.net>; <mo...@apache.org>
Sent: Sunday, January 06, 2002 6:56 PM
Subject: Re: Fixed (Re: HTTP file uploads with mod_accel)
> On Sun, 6 Jan 2002, Philip Mak wrote:
>
> > Never mind, I'm an idiot. I just took a look at the error_log of my
> > frontend and the problem became clear.
> >
> > [Sun Jan 6 09:42:04 2002] [error] [client 206.173.36.189]
(13)Permission denied: accel: can't create tempfile
/usr/local/apache/cache/tmpFtYxlf
>
> My fault. I've just fixed it and in next release mod_accel would return
> 500 in this case.
>
> Igor Sysoev
>
Re: Fixed (Re: HTTP file uploads with mod_accel)
Posted by Igor Sysoev <is...@rambler-co.ru>.
On Sun, 6 Jan 2002, Philip Mak wrote:
> Never mind, I'm an idiot. I just took a look at the error_log of my
> frontend and the problem became clear.
>
> [Sun Jan 6 09:42:04 2002] [error] [client 206.173.36.189] (13)Permission denied: accel: can't create tempfile /usr/local/apache/cache/tmpFtYxlf
My fault. I've just fixed it and in next release mod_accel would return
500 in this case.
Igor Sysoev