Problem with Swap consumption


 
Thread Tools Search this Thread
Operating Systems Solaris Problem with Swap consumption
# 8  
Old 03-17-2011
Quote:
Originally Posted by Corona688
I was under the impression that all memory had to be backed by swap on most UNIX systems...
This is hopefully no more the case with modern Unixes, and especially Solaris since a couple of decades.

---------- Post updated at 23:39 ---------- Previous update was at 23:36 ----------

Quote:
Originally Posted by achenle
Is there a problem with processes not getting the memory they request? If not, it's probably just that the page cache has grown over the extended uptime.
The page cache isn't accounted as swap (virtual memory) usage. That wouldn't make sense to cache disk blocks with other disk blocks anyway. It isn't either accounted as RAM usage, unless you use ZFS.

---------- Post updated at 23:43 ---------- Previous update was at 23:39 ----------

Quote:
Originally Posted by solaris_1977
Thanks all for the help.
sboots, I was able to see that there is no problem with any process.
Please post these commands output:
Code:
echo ::memstat | mdb -k
prstat -Z

Quote:
It is just extended uptime (428 days), which might have consumed mem and cpu as achenle said.
Unless you have a memory leak in an application, uptime doesn't use memory.
Quote:
I will talk to client to reboot the box.
Why not simply adding some swap space instead of rebooting ?

---------- Post updated 17-03-11 at 11:43 ---------- Previous update was 16-03-11 at 23:43 ----------

Quote:
Originally Posted by fpmurphy
However long running Java applications has a habit of slowly eating up memory and swap.
I would on the opposite state that java applications are unlike to eat up memory/swap in the long term as their heap size is bounded at startup by design. C applications have no such limitation so can leak memory until their VM space is exhausted (or sooner).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Swap device file and swap sapce

Hi I have an integrity machine rx7620 and rx8640 running hp-ux 11.31. I'm planning to fine tune the system: - I would like to know when does the memory swap space spill over to the device swap space? - And how much % of memory swap utilization should be specified (swap space device... (6 Replies)
Discussion started by: lamoul
6 Replies

2. Solaris

Coredumps and swap - was part of Solaris Mem Consumption

We have Sun OS running on spark : SunOS ciniwnpr67 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V440 Having Physical RAM : Sol10box # prtconf | grep Mem Memory size: 8192 Megabytes My Top Output is : 130 processes: 129 sleeping, 1 on cpu CPU states: 98.8% idle, 0.2% user, 1.0%... (39 Replies)
Discussion started by: rajwinder
39 Replies

3. UNIX for Advanced & Expert Users

Swap space problem

Hy! Recently i had a problem with one of mine Tru64 machines. It started to kill processes because of low amount of swap space. It said that it went below 10 %. But when i ran swapon -s it said: In-use space: 12 % So, the system couldn't accept any new ssh connections plus it killed most of... (1 Reply)
Discussion started by: veccinho
1 Replies

4. UNIX and Linux Applications

/dev/swap problem

Hi I am sory but my english is very BAD:mad: I have a problem with UnixWare 7.1.1 When I start the pc i have a message "/sbin/swap can¨t determine size /dev/swap" ??? Please help me (0 Replies)
Discussion started by: alminpulic
0 Replies

5. HP-UX

problem mirroring swap

Im following the directions from Mirroring the Root File System and Primary Swap # Mirror the root logical volume to the above disk: lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t3d0 # Mirror the primary swap logical volume: lvextend -m 1 /dev/vg00/prswaplv /dev/dsk/c0t3d0 # ... (1 Reply)
Discussion started by: csaunders
1 Replies

6. AIX

problem with swap

Good morning I have a problem with a partition (P570). A user's process take all the memory, and the swap. So the partition shutdown. How can I limit a process to not take all the swap ? (4 Go of memroy, 1 Go of swap) thank you (2 Replies)
Discussion started by: pascalbout
2 Replies

7. UNIX for Advanced & Expert Users

Strange swap space problem, pls help.

During Sun Solaris 8 installation, I did allocate 1 G for the swap partition. By doing a "df -k" shows the swap space usage is only 1% even during the application server is heavily processing. However, when I do a "vmstat", it shows that the swap memory free space is only 8816 out of 1419100. ... (1 Reply)
Discussion started by: champion
1 Replies

8. UNIX for Advanced & Expert Users

Swap Space Problem?

Over the last couple of days my laptop has been stalling terribly on bootup and when starting up applications (even a terminal takes ages to come up) Whilst trying to figure out whats happened I noticed that nothing is being swapped out. Output from top command shows that I have approx 500mb... (2 Replies)
Discussion started by: silvaman
2 Replies

9. UNIX for Advanced & Expert Users

swap problem

Hi all, when I execute a below script, I'm getting the following error, how can I solve it. $ sim_rep1.sh ====================== swap space below 10 percent free Unable to obtain requested swap space ======================== Thanks Krishna (1 Reply)
Discussion started by: krishna
1 Replies

10. Filesystems, Disks and Memory

problem with swap space

I have sun solaris 8 for intell with 128m physiccal ram and swap of 148. Oracle requires to have 512M swap space. Is there a way I can change the swap space on intell machine without repartioning the box:? what if i create a link to /swap from another place???? pls advise Jigar (1 Reply)
Discussion started by: jigarlakhani
1 Replies
Login or Register to Ask a Question