Advertisement

09.25.2002 at 01:20PM PDT, ID: 20366036
[x]
Attachment Details

"Swap leak" on Solaris 2.6

Asked by ravs in Sun Solaris, Sun JDS

Tags: solaris, swap, weblogic

Hi,

I have a Sun E4500 running Solaris 2.6. The applications running are Weblogic 6.1 sp2, Oracle 8.1.7, and MQ queue handlers.

The problem that is happening is that after about 12 hours of usage, system seems to run out of swap space.

Killing the weblogic process releases the swap, which would indicate that weblogic is chewing up memory. But pmap output of the weblogic process does not show such a magnitude of increase in its process size.

For example:
Free swap on startup: ~1.7GB
Free swap after 12 hrs: ~200MB

During the same period, the weblogic process size only increases from 280MB to 430MB. Here is the size of the weblogic process, as shown by pmap -x. I am giving the last (totals) line.

On startup: total Kb  389648  188408   13880  174528
After 12 hrs: total Kb  426136  317808    3288  314520

I am giving details below. Please ask me if you need anything else.

Could anyone suggest any ideas? I was thinking, is it possible that freed-up memory is not being reclaimed by the OS, hence swap is getting used up but does not get shown against the process in the pmap output?

Details
-------
$showrev                            
Hostname: xxxxx
Hostid: 80bdc6f4
Release: 5.6
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: xxx.xxx.xxx.com
Kernel version: SunOS 5.6 Generic 105181-31 December 2001

$swap -l
swapfile             dev  swaplo blocks   free
/dev/vx/dsk/swapvol 150,5      16 4141824 3540336

'top' summary On startup:
Memory: 6144M real, 94M free, 294M swap in use, 1729M swap free
<<process listings deleted>>

'top' summary after 12 hours:
Memory: 6144M real, 192M free, 1759M swap in use, 263M swap free

Thanks
ravsStart Free Trial
[+][-]09.25.2002 at 01:52PM PDT, ID: 7303164

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.26.2002 at 05:57AM PDT, ID: 7304659

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.26.2002 at 06:30AM PDT, ID: 7304722

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Sun Solaris, Sun JDS
Tags: solaris, swap, weblogic
Sign Up Now!
Solution Provided By: jlevie
Participating Experts: 2
Solution Grade: B
 
 
[+][-]09.26.2002 at 09:39AM PDT, ID: 7305162

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.28.2002 at 03:04PM PDT, ID: 7308113

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32