• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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