• In the past few days, I have experienced a lot of errors while making/updating a post. It would sometimes time me out. I’ve upped the timeout in mod_fcgid and PHP, but that’s obviously a workaround, not a fix.

    Here’s what I see in the logs. As you can see, it only started happening since I updated core recently.

    Thanks!

    [root@[redacted] logs]# cat error_log | grep post.php
    [Fri Dec 23 10:41:49 2016] [error] [client [redacted]] client denied by server configuration: /var/www/vhosts/resourcemagonline.com/httpdocs/wp-admin/post.php
    [Sun Jan 22 13:58:50 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 45 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=74083&action=edit
    [Sun Jan 22 13:58:51 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=74083&action=edit
    [Sun Jan 22 13:59:53 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 45 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=74083&action=edit
    [Sun Jan 22 13:59:55 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=74083&action=edit
    [Sun Jan 22 14:03:55 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 45 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=74083&action=edit
    [Sun Jan 22 14:03:55 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=74083&action=edit
    [Sun Jan 22 14:05:07 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 45 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=74083&action=edit
    [Sun Jan 22 14:05:08 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=74083&action=edit
    [Sun Jan 22 14:23:25 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 45 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=55242&action=edit
    [Sun Jan 22 14:23:25 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=55242&action=edit
    [Sun Jan 22 14:23:31 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 45 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=55242&action=edit
    [Sun Jan 22 14:23:33 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=55242&action=edit
    [Sun Jan 22 14:28:21 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 45 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=59826&action=edit
    [Sun Jan 22 14:28:21 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=59826&action=edit
    [Sun Jan 22 14:30:02 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 45 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=59826&action=edit
    [Sun Jan 22 14:30:02 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=59826&action=edit
    [Mon Jan 23 12:37:01 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 45 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=74153&action=edit
    [Mon Jan 23 12:37:01 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=74153&action=edit
    [Mon Jan 23 12:38:23 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 45 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=74153&action=edit
    [Mon Jan 23 12:38:23 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=74153&action=edit
    [Mon Jan 23 15:07:59 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 45 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=74165&action=edit
    [Mon Jan 23 15:07:59 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=74165&action=edit
    [Mon Jan 23 17:46:20 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 45 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=73874&action=edit
    [Mon Jan 23 17:46:20 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=73874&action=edit
    [Tue Jan 24 11:33:31 2017] [warn] [client [redacted]] mod_fcgid: read data timeout in 60 seconds, referer: http://resourcemagonline.com/wp-admin/post.php?post=74271&action=edit
    [Tue Jan 24 11:33:31 2017] [error] [client [redacted]] Premature end of script headers: post.php, referer: http://resourcemagonline.com/wp-admin/post.php?post=74271&action=edit
Viewing 1 replies (of 1 total)
  • Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue (theme functions can interfere like plugins).

Viewing 1 replies (of 1 total)

The topic ‘mod_fcgid: read data timeout’ is closed to new replies.