Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-13-2004, 11:04 AM   #1
Registered: May 2003
Posts: 80

Rep: Reputation: 15
Post tar backup to network drive leads to memory problem

i have a computer running slackware 9.1 with kernel 2.6.1 that i've set to backup daily via a simple tar backup script in cron.daily. the data being backed up probably amounts to several hundred MB per day for the incremental backup and >2GB once a week/month for a full backup. it is backing up to a samba mounted drive (100mbps connection).

here's the weird part... every morning after it has backed up, all of the computer's RAM is used up and it has to be rebooted to free the RAM. this computer has a gig of RAM.

when i run top and sort by memory usage, the memory doesn't add up to what's being used. furthermore, the memory isn't freed when it's needed. i have an image analysis package that requires >512MB RAM and there is a marked decrease in performance when it's run after a daily backup.

backups to local drives give me no problem. am i missing something fundamental here?

thanks in advance.
Old 02-14-2004, 10:58 PM   #2
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
Sounds like a kernel bug.
The 2.6 release is new, some problems are to be expected.
2.6.2 is out now.
You might be better with a 2.4 kernel.
Old 02-15-2004, 03:14 PM   #3
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
What does
show? Linux has a tendency to cache stuff in RAM in case it needs to be used again. I run a server with 1.5 gB of RAM and when I am busy, usage of RAM rises to 1.5gB but most is cached stuff. It does not affect performance at all. In a multiuser system this is a great benefit. The first user loads OpenOffice from the HD and the next gets it from RAM.
You likely do not see much degradation in service until swap rises a bit. I suspect Linux has just cached everything you have backed up.
the si and so columns are swaps in and out in kB/s.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Incremental backup script - Tar problem joshheald Linux - Software 1 09-28-2004 11:02 AM
Using tar for backup. TheRealDeal Linux - General 2 08-11-2004 12:46 AM
Tar Backup Problem Damed92 Linux - General 0 09-10-2003 09:00 AM
Tar Backup Problem cli_man Linux - General 0 08-28-2003 01:36 PM
Kernel recompile leads to console graphics problem CragStar Linux From Scratch 3 05-14-2003 07:23 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration