Re: Setting clock backwards hangs webserver (PHP+THTTPD)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vinoo S Warrier wrote:

Hi all,
Iam running PHP on THTTPD 2.21b

I have a simple php script that sets the system clock (using exec("date -s MMDDhhmmYYYY.ss") and returns a page showing the system time

when i use it to set the time forwards, it works fine
but if i use it and set the time backwards (even a few seconds), the webserver hangs. also it hangs only for exactly the amount of time needed for the backwards-set time to catch up with the original time. when the clock catches up with the original time, the page is returned. till then it hangs

it's almost as if the webserver is waiting for the time to come back to the request-received time before sending the page.

Sounds like a Server problem rather than PHP - is this behaviour supported by the Server? At work we used to have to power the servers off for an hour at clock change time because of logging conflicts etc.

Alan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux