i have made a script where we have mounted one directory of webserver to another directory of a system. the php script runs in every 2 min. with the help of cronjob and insert all the data of the directory in mysql. the problem comes now when the link between above two systems breaks & php is doing its job i.e. loading data into mysql, the php session is hanged and consumes lot of memory and hence increase the load of websever. is there any way so that php session killed itself if it is hanged in between or any other workaround so that load is not increased.

with best wishes
balwant

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

Reply via email to