LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-13-2004, 10:04 AM   #1
SerfurJ
Member
 
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, 09:58 PM   #2
zaphodiv
Member
 
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, 02:14 PM   #3
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
What does
$free
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.
Try
$vmstat
the si and so columns are swaps in and out in kB/s.
 
  


Reply



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 10:02 AM
Using tar for backup. TheRealDeal Linux - General 2 08-10-2004 11:46 PM
Tar Backup Problem Damed92 Linux - General 0 09-10-2003 08:00 AM
Tar Backup Problem cli_man Linux - General 0 08-28-2003 12:36 PM
Kernel recompile leads to console graphics problem CragStar Linux From Scratch 3 05-14-2003 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:35 PM.

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