bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Race condition on downloaded files among multiple wget in


From: Tim Ruehsen
Subject: Re: [Bug-wget] Race condition on downloaded files among multiple wget instances
Date: Tue, 03 Sep 2013 09:38:15 +0200
User-agent: KMail/4.10.5 (Linux/3.10-2-amd64; KDE/4.10.5; x86_64; ; )

On Tuesday 03 September 2013 03:17:56 Tomas Hozza wrote:
> In Fedora I have a bug [1] from guy that is using wget
> to test web server network load. He runs multiple
> instances of wget to download some site recursively.
> Something like this:
> 
> for i in `seq 20`; do
>     wget -r http://www.makerwise.com/ &
> done

Currently, I call this misuse not bug.
Wget could care for such cases, but right now it just doesn't.

He could make his test with something like this:
for i in `seq 20`; do
    mkdir $i
    wget -P $i -r http://www.makerwise.com/ &
done
To have an own directory for each Wget instance.

BTW, read() instead of mmap() would not help in this case.

Regards, Tim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]