LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-03-2006, 08:55 PM   #1
rickylim
Member
 
Registered: Jan 2006
Location: Malaysia
Distribution: RedHat & FreeBSD
Posts: 68

Rep: Reputation: 15
High Swap and Memory Usage


Dear all,

hi, i am newbie to solaris.

i have one server solaris 5.9.

The problem is, right after i execute tar command for backup, the swap and memory usage shoot up to 90% ++. (since yesterday until today)

even after my tar command completed.

i've check prstat -a but could not find any high processes.

Please advice.

Many Thanks.

rgds
Lim
 
Old 05-04-2006, 12:59 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Is your backup destination located on the /tmp directory ?
 
Old 05-04-2006, 03:08 AM   #3
rickylim
Member
 
Registered: Jan 2006
Location: Malaysia
Distribution: RedHat & FreeBSD
Posts: 68

Original Poster
Rep: Reputation: 15
Thanks for ur reply

yes, i have tar backup the file to destination /tmp

please advice.

Thanks

rgds.
lim
 
Old 05-04-2006, 05:53 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
By default on Solaris, /tmp is of type tmpfs.

tmpfs is a filesystem backed by virtual memory (similar to a RAM-disk).

By creating your archive file on /tmp, you actually exhausted your RAM pages and the system stored the remaining on the swap area.

You can easily recover this memory by moving your archive to /var/tmp, which is stored on a disk based filesystem.
 
Old 05-04-2006, 08:56 PM   #5
rickylim
Member
 
Registered: Jan 2006
Location: Malaysia
Distribution: RedHat & FreeBSD
Posts: 68

Original Poster
Rep: Reputation: 15
Dear jlliagre,

i've got it solved, thanks for ur time and advice.

Many thanks

rgds.
Lim
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
High Swap Memory Usage rickylim Solaris / OpenSolaris 3 07-02-2006 05:27 PM
High memory usage Kapriel Debian 6 07-29-2005 11:01 AM
High memory usage? Davus Linux - General 6 11-28-2004 02:33 AM
high memory usage. nexx_au Fedora 2 12-08-2003 03:41 AM
Memory usage too high glock19 Linux - General 7 06-05-2003 07:05 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 06:03 AM.

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