What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Samba "Out of memory"

tordenflesk

New Around Here
I'm suddenly not able to reliably transfer files to USB-connected HDD.
Using Bvckup 2 to backup files, The CPU gets maxed as soon as I try to transfer any file, eventually leading to the router becoming entirely unavailable (other than SSH) for 20 seconds before (sometimes) recovering and spitting out an error to the log:

kernel: EXT3-fs error (device sda1) in ext3_delete_inode: Out of memory
kernel: EXT3-fs error (device sda1) in ext3_mkdir: Out of memory

I've tried downgrading and resetting to factory defaults.
 
One way to fix this is to add a thumb drive and set up a swap file on it. Google adding swap to Asus for instructions.

Sent from my P01M using Tapatalk
 
I already have a stick for ab-solution etc. Not sure how adding swap lowers CPU-usage, bu feel free to enlighten me. memory usage is about 80-90% when trying to move over a small file (a few kb)
 
I already have a stick for ab-solution etc. Not sure how adding swap lowers CPU-usage, bu feel free to enlighten me. memory usage is about 80-90% when trying to move over a small file (a few kb)
The high CPU usage may be caused by a problem with the device.
Still, the swap file might solve it as the RAM usage seems already high.
Create the swap file and then you can add the line to use it to /jffs/scripts/post-mount in this part:
Code:
if [ "$1" = "/tmp/mnt/<Entware device>" ];then
    ln -nsf $1/entware /tmp/opt
    swapon /tmp/mnt/<Entware device>/myswap.swp
fi
My swap file is on the Entware device, change to device name/label you use.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top