I have configured 2 main servers with 5 connections each and 2 backup server again with 5 connections each; the backup servers are tipically not used. The average download speed is around 2500 KBytes/s and the CPU usage is between 75% and 100%.
Using Proxifier to reroute the NNTP traffic through a corporate HTTPS proxy, as explained in another thread.
My typical way to use SAB is to let it run over the night.
Last night I let it run with a big queue that amounts to 270 GBytes (with 256 GB as a single nzb file). Estimated time of completion was about 26 hours as reported by the web interface.
This morning, after 8 hours, I found that SAB did download only about 28 GB instead of the 70 GB I was expecting.
May be there was a network congestion, but some things make me believe that something bad happened to SAB.
Symptoms:
Since I configured 200 MB as article cache, typical RAM usage (Mem Usage and VM Size as reported by Task Manager) has been around 200 MB or a little more. This morning SAB RAM usage is reported at about 1.1 GB!
As seen in log file, SAB started at 23:45 (at that time the queue was only about 14 GB, some minutes later I added another 256 GB as a single nzb file)
Code: Select all
2009-02-03 23:45:10,671::INFO::--------------------------------
2009-02-03 23:45:10,687::INFO::SABnzbd.exe-0.4.6 (rev=1888)
2009-02-03 23:45:10,687::INFO::Platform=Windows-XP-5.1.2600-SP2 Class=nt
2009-02-03 23:45:10,687::INFO::Python-version = 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)]
2009-02-03 23:45:10,687::INFO::[sabnzbd] Loading data for rss_data.sab from C:\Program Files\SABnzbd\cache\rss_data.sab
2009-02-03 23:45:10,703::INFO::[sabnzbd] Loading data for bytes7.sab from C:\Program Files\SABnzbd\cache\bytes7.sab
2009-02-03 23:45:10,703::INFO::[sabnzbd] Loading data for queue7.sab from C:\Program Files\SABnzbd\cache\queue7.sab
2009-02-03 23:45:10,703::INFO::[sabnzbd] Loading data for SABnzbd_nzo_kh6k-0 from C:\Program Files\SABnzbd\cache\SABnzbd_nzo_kh6k-0
2009-02-03 23:45:17,842::INFO::[sabnzbd] Loading data for SABnzbd_nzo_jm3ksw from C:\Program Files\SABnzbd\cache\SABnzbd_nzo_jm3ksw
2009-02-03 23:45:17,875::INFO::[sabnzbd] Loading data for SABnzbd_nzo_sh94wn from C:\Program Files\SABnzbd\cache\SABnzbd_nzo_sh94wn
2009-02-03 23:45:17,953::INFO::[sabnzbd] Loading data for watched_data.sab from C:\Program Files\SABnzbd\cache\watched_data.sab
2009-02-03 23:45:17,953::INFO::All processes started
Code: Select all
2009-02-04 00:02:38,155::INFO::[articlecache] Added <Article: article=part33of59.5ytgIC1dNwojnrbtv&[email protected], bytes=258652, partnum=33, art_id=None> to cache
I paused the queue then waited to see the connections drop to zero.
Unlocker is an utility that lets me know what processes own handles for a given file. It reports that par2.exe (which seems to be running happily at 94-97% CPU) is locking the current log file!!?!?! I was expecting SABnzbd.exe here.
Another utility (Handle v2.01 by Sysinternals) confirms that par2.exe owns a handle for logs\sabnzbd.log while SABnzbd.exe has none. It reports that par2.exe owns a handle for cache\queue7.sab (!?!?!?!)
Now that par2.exe is done no handles are reported for logs\sabnzbd.log (still stuck at 00:02) and SABnzbd.exe has suddenly gone up to 97% CPU (perhaps it is unpacking and deleting files).
5 minutes later SABnzbd.exe CPU usage drops to about 35% and then to 0% when another par2.exe is launched. This time par2.exe has no handles for logs\sabnzbd.log (still stuck at 00:02).
Task Manager reports the following for SABnzbd.exe:
Mem Usage: 998772 K
Peak Mem Usage: 1298968 K
Handles: 200
Threads: 20
I/O Reads: 518082 (not growing for now)
I/O Writes: 1697478 (growing)
Now the History page reports that all the processing is done and the CPU usage is very low, but the memory usage is about the same as before.
I'll try to keep SAB running and paused in the hope to have some suggestions to further analyze the situation.