Closed krmaxwell closed 9 years ago
Still reproed.
I think #120 fixed this. Pending a few days of uninterrupted functioning before I have enough confidence to close the issue, though.
NOPE!
It seems that the latest pending download is extremely slow... when using wget to get that file manually, it's extremely slow too. Maybe the specific site slows down the whole process?
Any work arounds if running in as a cronjob?
There's a tentative fix in the dev
branch now. Feel free to try it if you're brave!
I tried your fix and the first time I ran it, it looked like it solved the problem:
$ ./maltrieve.py Processing source URLs Completed source processing Downloading samples, check log for details Completed downloads
But after running it for the 2nd and 3rd time, it seems hanging again...
Running it for the 4th time, it looks like it hangs for several times, but after 3 hours it finally completes. Strange, because 3 hours seems quite long for just 43 executables. When looking at the timestamps in the log I see 4 moments with minutes(!) of inactivity:
2015-04-01 11:29:01 -1219635456 "GET /soft/UploadFile/201501/win7/2015011205.exe HTTP/1.1" 200 2269518
2015-04-01 11:35:01 -1219635456 http://hiroba.dqx.jp.sd.sqbzb.com/ hashes to 62505f9257668a74605bfed1e35cc10e
...
2015-04-01 11:35:21 -1219635456 "GET / HTTP/1.1" 200 None
2015-04-01 12:39:30 -1219635456 http://dx23.downyouxi.com/wodishijie1.4.2zhongwenban.exe hashes to 05c64c0870a8c8a62bd09ddf41ddf0a2
....
2015-04-01 12:44:23 -1219635456 "GET /shuimiaoflashtzscq.exe HTTP/1.1" 200 1982464
2015-04-01 13:28:41 -1219635456 http://jszshb.com/ hashes to 1b9e8f2caa3d6a4df4c117adb5470c9f
...
2015-04-01 13:31:50 -1219635456 "GET /category/ HTTP/1.1" 500 None
2015-04-01 13:56:11 -1219635456 http://creative.ad132m.com/ad132m/scripts/direct/direct.html?
This looks like one host sends data at least every 60 seconds, but not much. So the overall download speed for that sample is very slow. I will add an enhancement to track download time per sample to the backlog, but it won't be in this release (v0.7).