• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

PHP throwing "Operation timed out" after 30s

Walter Smith

New Pleskian
Hello,

I'm running Parallel Plesk Panel 11 on Debian 6.0.5 and php v5.3.3.
I'm trying to run this script:
<?php
echo date('h:i:s') . "\n";

// sleep for XX seconds
sleep(55);

echo date('h:i:s') . "\n";
?>

it keeps "loading/connecting" till it reaches 60s (i timed it) and then throws "Operation Timed Out".
only when I give sleep the value of 29 and below it would result in an output.

I tried it on a similar sever configuration but without Parallel Plesk Panel and it ran fine even with sleep(70).

maximum_execution_time is set to 60.

thank you for the help!
 
Try that ...
<?php

ini_set('max_execution_time', 60);

echo date('h:i:s') . "\n";

// sleep for XX seconds
sleep(55);

echo date('h:i:s') . "\n";
?>
 
It timed out still :/

here's the error firefox throwed at me:
Network Error (tcp_error)

A communication error occurred: "Operation timed out"
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.

thanks again!
 
Back
Top