Skip to main content

Change hard_timeout value

Comments

6 comments

  • CarlosManceraK
    PHP timeout will try to remove the application "smoothly". In the event that for some reason we cannot kill the process, the hard_timeout directive will kill it by force. Could you give us a little more information? any log?
    0
  • cPanelLauren
    The error log for this would be necessary in order to indicate why the upload is failing, there should be output in the apache error log /etc/apache2/logs/error_log
    0
  • ramorse
    We"ve set the other timeouts much greater than hard_timeout but the process always times out around 2 seconds leading us to believe hard_timeout is what"s killing the process. There are no logs we could find, it just stops. We tried setting hard_timeout in the cpanel multiphp editor for the site, it had no effect. We tried setting it in the whm multiphp editor for that whole version of php and it had no effect. phpinfo says hard_timeout is 2.
    0
  • ramorse
    grep hard_timeout /etc/apache2/logs/error_log returned nothing.
    0
  • ramorse
    We're digging through the error_log after grepping for the subdomain that we're working in. But there's a lot. so not easy to isolate what might be relevant.
    0
  • ramorse
    After much sleuthing we determined it was unrelated to hard_timeout. It was a modsecurity issue. It is strange that we cannot set hard_timeout but it does not seem to be causing any issues at present.
    0

Please sign in to leave a comment.