Answer the question
In order to leave comments, you need to log in
What memory is wget missing?
Good day to all!
I download via the console server using wget files via http. On a 3.7 GB file, wget crashes and says "wget: not enough memory". More precisely, it pumps it out completely to 100% (judging by the logs), freezes for a couple of seconds, and then dies.
$ df -h
/dev/vda2 124G 35G 84G 30% /
---
$ free -h
total used free shared buff/cache available
Mem: 2,0G 99M 78M 1,4M 1,8G 1,7G
Swap: 1,0G 100M 923M
Answer the question
In order to leave comments, you need to log in
Successfully downloading large files using wget with the "--mirror" option requires a swap larger than the file being downloaded.
Empirically tested.
Given:
Hypervisor Proxmox 5.1;
Virtual machine (2 GB RAM, 40 GB root, 2 to 10 GB swap);
Debian Stretch 9.8;
wget 1.18.
For lxc without swap with the same options, wget downloads files without errors.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question