[Catalyst] ap_content_length_filter: apr_bucket_read() failed in CGI vs built-in server

Christopher H. Laco claco at chrislaco.com
Wed Dec 14 21:44:44 CET 2005


apv wrote:
> Two forms I'm using within a Catalyst app are behaving strangely but
> only when run as CGI. When run with the server script they work
> perfectly. The underlying tables are very small, only 50 rows of info
> total. The forms have almost nothing in common logically.
> 
> Under CGI they execute correctly at least once and then intermittently
> hang with this in the error logs:
> 
> [Wed Dec 14 11:32:06 2005] [error] [client 127.0.0.1] (70007)The timeout
> specified has expired: ap_content_length_filter: apr_bucket_read()
> failed, referer: http://myapp/post/post5
> 
> It's Apache 2.0 (as you can probably tell from the apr_). I've searched
> on the error and found nothing concrete. The Apache org closed a bug on
> the issue as invalid so I'm guessing it's my problem somewhere.
> 
> When things run right from the command line but go awry in the CGI it's
> often a permission problem somewhere. Any ideas? Sound familiar to anyone?
> 
> The only plugin I'm using besides -Debug is Session::FastMmap but have
> its storage file's permissions wide open.
> 
> 
> Thanks again!
> -Ashley
> -- 
> PS: thanks for the best-practices/style answers previously, I hate to
> hit a list just to say thanks but I'm always grateful for feedback.

Are you by chance using the Apache2 package on Ubuntu?

-=Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20051214/92301397/smime.bin


More information about the Catalyst mailing list