• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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