I'm getting internal server error on node save.

In db log messages there is no such error regarding this issue.

In apache error log I have these messages

mod_fcgid: read data timeout in 40 seconds, referer: http://test.com/node/add/photos
[error] Premature end of script headers: php-fcgi-wrapper, referer: http://test.com/node/add/photos

1 Answer 1


This was most likely caused by a rather long script that was timing out. The IPCCommTimeout on your virtual server is set to 40 seconds. If you encounter this problem again, you could edit the Apache directives that apply to this virtual server in /etc/apache2/sites-available/test.com.conf and set IPCCommTimeout, for example, to 300.

If you are using Virtualmin

  • Chose the virtual server that you want to edit from the drop-down
  • Go to Services -> Configure Website -> Edit Directives
  • Modify IPCCommTimeout from 40 to, for ex. 300 (seconds)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.