waiting for 1200 or 12000 seconds?
we sleep with 10 seconds, we have a range from 1200 - so we sleep for 12000 seconds... i think this is too much
i had many ispconfig "instances" running, wasting my memory
see server.php
if(is_file(conf["temppath"].
conf["fs_div"].".ispconfig_lock")){
clearstatcache();
for(i=0;
i<1200;$i++){ // Wait max. 1200 sec, then proceed
if(is_file(conf["temppath"].
conf["fs_div"].".ispconfig_lock")){
$app->log("There is already a lockfile set. Waiting another 10 seconds...", LOGLEVEL_DEBUG);
sleep(10);
clearstatcache();
}
}
}