Page 1 of 2

aria2 in WSUS 8.6

PostPosted: 19.09.2013, 17:39
by cecinit
I am trying this out this morning.
I activated aria2. My platform is a Windows 7 x64 (i7 processors) &
typical US residential networking

* It seems REALLY slow compared to 8.5 - maybe only 10% as fast, or even worse

* A lot of these messages are interleaved in the command window running
the update:
Code: Select all
The process cannot access the file because it is being used by another process.
Cleaning up client directory for win glb...
The process cannot access the file because it is being used by another process.
Removing NTFS alternate data streams for win glb...

Never saw that before ... hope that's not important
Since I usually run this in scheduled tasks (batch) I'd never see it

* Lots of these type of messages in download.log & command window:
Code: Select all
2013-09-19 09:23:58.762530 [NOTICE] [HttpResponseCommand.cc:193] GID#17b09d78604a0ab8 - Download has already completed: ../exclude/ExcludeList-superseded-exclude.txt
2013-09-19 09:23:58.763530 [NOTICE] [RequestGroup.cc:1202] Download complete: ../exclude/ExcludeList-superseded-exclude.txt
Thu 09/19/2013  9:23:58.86 - Info: Found valid list of superseded updates
Thu 09/19/2013  9:24:19.64 - Info: Determined dynamic update urls for win glb

Never saw "downloaded already completed" before ... what is it doing, running in the future :-)
The EOL encoding is also wrong for windows I think, the lines are strung together

Re: WSUS 8.6

PostPosted: 19.09.2013, 21:51
by aker
These messages have to be caused by aria2. Maybe the is a missing parameter...

Re: WSUS 8.6

PostPosted: 19.09.2013, 21:59
by WSUSUpdateAdmin
...but which one could it be then? :)
RTW

Re: WSUS 8.6

PostPosted: 19.09.2013, 22:45
by aker
I don't know. My wsusou still uses wget... ;)

Re: WSUS 8.6

PostPosted: 20.09.2013, 07:35
by Denniss
Sounds like a file download/validation by aria is not completed while other components of WOU already try to cleanup/delete NTFS data stream of these files.

Re: WSUS 8.6

PostPosted: 20.09.2013, 08:17
by WSUSUpdateAdmin
Yes, but Aria2 should not return before completion?!

I configured the common paramters (nearly exactly) as suggested in viewtopic.php?f=5&t=3815 (see ActivateAria2Downloads.cmd and http://aria2.sourceforge.net/manual/en/html/index.html, of course):"--conditional-get=true --allow-overwrite=true --file-allocation=none -x10 -j10 -s10 -k1M -R".

RTW

Re: aria2 in WSUS 8.6

PostPosted: 15.10.2013, 19:30
by indraji2001
I am a completely new user in this forum. I have very little knowledge in computer. Can anybody tell me how I can configure/install area2 for fast downloading of WSUS?

Re: aria2 in WSUS 8.6

PostPosted: 15.10.2013, 21:08
by aker
Just start .\cmd\ActivateAria2Downloads.cmd once.

Re: aria2 in WSUS 8.6

PostPosted: 15.10.2013, 21:19
by indraji2001
Thanks aker..actually you have deep knowledge in computer...I have very small knowledge..can you tell me step by step...I tried what you told, by copy and pasting in the command line but it is not accepting..please help me considering me just a complete new in this area..since I never used command line ..please

Re: aria2 in WSUS 8.6

PostPosted: 16.10.2013, 06:10
by aker
At first you need to open a command promt.
Then enter the following code (please replace "<your wsusou dir>" with your path to wsusou)
Code: Select all
cd <your wsusou dir>\cmd
.\ActivateAria2Downloads.cmd

Then check the results.
The script should create the file .\cmd\custom\SetAria2EnvVars.cmd and it should have downloaded ./bin/aria2c-[x86/x64].exe. If both files exist, everything worked.