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

apv apv at sedition.com
Wed Dec 14 21:38:41 CET 2005


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.




More information about the Catalyst mailing list