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