Grant > Having sleep() take orders of magnitude longer than it should I seen a few times where sleep returns after some seconds or even after tens of seconds (my code above check for that). But most of the time it gets stuck forever. Olaf