PDA

Bekijk de volledige versie : 1.9.2.7-7f-pre4 & samba & big files



ros
02-07-2006, 20:24
When trying to copy 20 Mb file to a samba shared disk, router fails during copying - shared disk disappeares and wan traffic is blocked. It's still administrable, though.
This is a log output:

Jul 2 21:26:08 kernel: Out of Memory: Killed process 68 (dnsmasq).
Jul 2 21:26:15 kernel: Out of Memory: Killed process 135 (smbd).
Jul 2 21:26:18 kernel: VM: killing process smbd
Jul 2 21:26:18 kernel: Out of Memory: Killed process 122 (smbd).

Oleg, please help.

oleo
03-07-2006, 08:29
Add 512MB swap file.

ros
03-07-2006, 11:57
Thanks, Oleo!
How do I do that? I searched the forum but didn't find the procedure...

oleo
03-07-2006, 15:16
dd if=/dev/zero of=/tmp/harddisk/swapfile count=1000000
mkswap /tmp/harddisk/swapfile
swapon /tmp/harddisk/swapfile

britnet
03-07-2006, 15:21
Thanks, Oleo!
How do I do that? I searched the forum but didn't find the procedure...

Hello,

this tutorial could help you:

http://www.macsat.com/macsat/content/view/22/29/

Perhaps you'll get a deeper view in Linux. ;)

ros
03-07-2006, 20:33
Thanks a lot!