Intermittent error after Quick Check
Posted: December 1st, 2009, 5:51 am
Hey,
I am running the 0.5-beta1 release and have experienced this problem on both FreeBSD 7.2 stable and Ubuntu Jaunty using Python 2.5.
Occasionally I have a download that has finished Quick Check, but it gets caught in a loop that consumes 100% CPU and never completes. I am only ever to fix this by shutting down and deleting all the pickle files. Simply restarting the daemon, it will continue where it left off. It says that Quick Check completed OK, but it never goes any farther.
I truss'ed the process and it is caught in this loop:
According to lsof, there is no fd 11:
The sabnzbd.log does not show anything of interest, but was not set to debug the last time it happened. The rest of the UI is responsive, so it seems a single thread is looping. Deadlock/race condition perhaps?
Any ideas?
I am running the 0.5-beta1 release and have experienced this problem on both FreeBSD 7.2 stable and Ubuntu Jaunty using Python 2.5.
Occasionally I have a download that has finished Quick Check, but it gets caught in a loop that consumes 100% CPU and never completes. I am only ever to fix this by shutting down and deleting all the pickle files. Simply restarting the daemon, it will continue where it left off. It says that Quick Check completed OK, but it never goes any farther.
I truss'ed the process and it is caught in this loop:
Code: Select all
52044 python CALL getpid
52044 python RET getpid 52044/0xcb4c
52044 python CALL select(0,0,0,0,0xbedf16f0)
52044 python RET _umtx_op 0
52044 python CALL gettimeofday(0xbecf06f8,0)
52044 python RET gettimeofday 0
52044 python CALL read(0xb,0x2acb3000,0x5)
52044 python RET read -1 errno 35 Resource temporarily unavailable
Code: Select all
python 52044 cjones 10u IPv4 0xc3cf53a0 0t0 TCP xxx.xxx.xxx.xxx:5055 (LISTEN)
python 52044 cjones 12u IPv4 0xc48023a0 0t0 TCP xxx.xxx.xxx.xxx:50387->unknown.sj.astraweb.com:nntp (CLOSED)
Any ideas?