Paul Probert wrote: > Peter Hansen wrote: >>Are you saying that you believe the time.sleep(1) call is actually >>blocking for 200 seconds? Or just that your loop (and we can only guess >>what it looks like) is the one taking that long? > > Yes, I'm doing this: > ..... > oldtime=time.time() > time.sleep(1) > newtime=time.time() > dt=newtime-oldtime > if dt > 2: > print 'dt=',dt,' time=',time.strftime('%Y_%m_%d_%Hh_%Mm_%Ss') > Its happening roughly 4 times a day total on our 20 machines, ie about > once every 5 days on a given machine.
So the above is printing "dt=200" or something like that? Or just low values slightly larger than 2s? Or a wide range of values? Can you post samples of the print output for some of those failing runs? -Peter -- http://mail.python.org/mailman/listinfo/python-list