Author Topic: mod_fcgid: read data timeout  (Read 3471 times)

Offline Carrot Cruncher

  • Jr. Member
  • **
  • Posts: 27
mod_fcgid: read data timeout
« on: September 25, 2014, 05:00:30 AM »
Hi. I've been using Roundcube for years and suddenly it has started throwing a HTTP 500 error upon login. I checked with my web hosting provider and they said the error being logged is:

mod_fcgid: read data timeout in 40 seconds
Premature end of script headers: index.php

This is on a CloudLinux / cPanel shared hosting service so I have limited control. I haven't changed anything with the Roundcube installation. The web hosting company say nothing has changed at their end although when I run phpinfo I do see the build date is from a few days ago which makes me think something must have been changed recently.

Some info regarding the software versions:
Roundcube version 1.0.2
Apache version 2.2.27
PHP version    5.4.33 (cli)
MySQL version 5.5.36-cll-lve
Perl version 5.10.1
Kernel version 2.6.32-531.17.1.lve1.2.57.el6.x86_64

If I change the version of PHP to that which came with EasyApache:
PHP version    5.4.31 (cgi-fcgi)

Then Roundcube works fine.

Can anyone advise on how I diagnose this problem further? Thanks.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: mod_fcgid: read data timeout
« Reply #1 on: September 25, 2014, 11:05:39 AM »
Yes. There's a serious regression in PHP 5.4.33. https://bugs.php.net/bug.php?id=41631

Offline Carrot Cruncher

  • Jr. Member
  • **
  • Posts: 27
Re: mod_fcgid: read data timeout
« Reply #2 on: September 30, 2014, 05:16:34 PM »
Thanks for the response. Further testing shows this bug is the cause. Have reported it to my web hosting provider.