From what I read when googling around for that issue, is this maybe
- a timeout error, that the script takes too long to generate data to send
- the request limit is reached for fcgi processes
Can you reproduce the error anyhow?
Does raising the loglevel in apache help to get any further details?