LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-17-2006, 07:40 AM   #1
janetg
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Rep: Reputation: 0
Memory Issue?


Hi:- I am relatively new to linux and especially to SuSe.

Users are complaining about poor performance on a server. CPU seems to be okay. It seems like it's using a fair amount of memory - but there doesn't appear to be anything that's hogging the memory.

#free:
total used free shared buffers cached
Mem: 4138016 4085152 52864 0 457896 2547044
-/+ buffers/cache: 1080212 3057804
Swap: 2097136 176080 1921056

#top:
1:32pm up 71 days, 13:05, 6 users, load average: 0.00, 0.00, 0.00
479 processes: 478 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 0.1% user, 34.1% system, 0.0% nice, 64.0% idle
CPU1 states: 0.1% user, 0.0% system, 0.0% nice, 99.0% idle
Mem: 4138016K av, 4084112K used, 53904K free, 0K shrd, 457912K buff
Swap: 2097136K av, 176080K used, 1921056K free 2547312K cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
16015 root 21 0 1324 1324 716 R 35.0 0.0 0:01 top
23776 oracle 15 0 117M 117M 23668 S 1.9 2.8 7:25 java
23588 oracle 15 0 117M 117M 23668 S 0.6 2.8 1:30 java
23823 oracle 15 0 117M 117M 23668 S 0.6 2.8 4:26 java
1 root 15 0 100 88 64 S 0.0 0.0 0:46 init
2 root 0K 0 0 0 0 SW 0.0 0.0 0:00 migration_CPU0
3 root 0K 0 0 0 0 SW 0.0 0.0 0:00 migration_CPU1
4 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
5 root 34 19 0 0 0 SWN 0.0 0.0 0:19 ksoftirqd_CPU0
6 root 34 19 0 0 0 SWN 0.0 0.0 0:19 ksoftirqd_CPU1
7 root 15 0 0 0 0 SW 0.0 0.0 1:03 kswapd
8 root 39 0 0 0 0 SW 0.0 0.0 0:00 bdflush
9 root 15 0 0 0 0 SW 0.0 0.0 1:06 kupdated
10 root 15 0 0 0 0 SW 0.0 0.0 0:04 kinoded
12 root 25 0 0 0 0 SW 0.0 0.0 0:00 mdrecoveryd
15 root 0 -20 0 0 0 SW< 0.0 0.0 0:00 lvm-mpd

Is there an easy way to find out what is eating up the memory?

Thanks
 
Old 07-17-2006, 08:03 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
ps auxwww | sort -k 4n
What are ten last lines?
 
Old 07-17-2006, 08:22 AM   #3
janetg
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Original Poster
Rep: Reputation: 0
looks like all java processes:

oracle 23819 0.0 2.8 354044 119892 ? S Jul15 0:00 /ora/9ias/jdk/bin/i386/native_threads/java -native -Xmx128m -Doracle.dms.gate=true -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=/ora/9ias/sysman/j2ee/config/jazn.xml -DEMDROOT=/ora/9ias -DemLocOverride= -Dsmiconfig=/ora/9ias/dcm/config -Demd.remoteApiSupport= -Drepapi.oracle.home=/ora/9ias -jar /ora/9ias/j2ee/home/oc4j.jar -config /ora/9ias/sysman/j2ee/config/server.xml
oracle 23820 0.0 2.8 354044 119892 ? S Jul15 0:00 /ora/9ias/jdk/bin/i386/native_threads/java -native -Xmx128m -Doracle.dms.gate=true -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=/ora/9ias/sysman/j2ee/config/jazn.xml -DEMDROOT=/ora/9ias -DemLocOverride= -Dsmiconfig=/ora/9ias/dcm/config -Demd.remoteApiSupport= -Drepapi.oracle.home=/ora/9ias -jar /ora/9ias/j2ee/home/oc4j.jar -config /ora/9ias/sysman/j2ee/config/server.xml
oracle 23821 0.0 2.8 354044 119892 ? S Jul15 0:00 /ora/9ias/jdk/bin/i386/native_threads/java -native -Xmx128m -Doracle.dms.gate=true -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=/ora/9ias/sysman/j2ee/config/jazn.xml -DEMDROOT=/ora/9ias -DemLocOverride= -Dsmiconfig=/ora/9ias/dcm/config -Demd.remoteApiSupport= -Drepapi.oracle.home=/ora/9ias -jar /ora/9ias/j2ee/home/oc4j.jar -config /ora/9ias/sysman/j2ee/config/server.xml
oracle 23822 0.0 2.8 354044 119892 ? S Jul15 0:00 /ora/9ias/jdk/bin/i386/native_threads/java -native -Xmx128m -Doracle.dms.gate=true -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=/ora/9ias/sysman/j2ee/config/jazn.xml -DEMDROOT=/ora/9ias -DemLocOverride= -Dsmiconfig=/ora/9ias/dcm/config -Demd.remoteApiSupport= -Drepapi.oracle.home=/ora/9ias -jar /ora/9ias/j2ee/home/oc4j.jar -config /ora/9ias/sysman/j2ee/config/server.xml
oracle 23823 0.1 2.8 354044 119892 ? S Jul15 4:30 /ora/9ias/jdk/bin/i386/native_threads/java -native -Xmx128m -Doracle.dms.gate=true -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=/ora/9ias/sysman/j2ee/config/jazn.xml -DEMDROOT=/ora/9ias -DemLocOverride= -Dsmiconfig=/ora/9ias/dcm/config -Demd.remoteApiSupport= -Drepapi.oracle.home=/ora/9ias -jar /ora/9ias/j2ee/home/oc4j.jar -config /ora/9ias/sysman/j2ee/config/server.xml
oracle 23824 0.0 2.8 354044 119892 ? S Jul15 0:00 /ora/9ias/jdk/bin/i386/native_threads/java -native -Xmx128m -Doracle.dms.gate=true -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=/ora/9ias/sysman/j2ee/config/jazn.xml -DEMDROOT=/ora/9ias -DemLocOverride= -Dsmiconfig=/ora/9ias/dcm/config -Demd.remoteApiSupport= -Drepapi.oracle.home=/ora/9ias -jar /ora/9ias/j2ee/home/oc4j.jar -config /ora/9ias/sysman/j2ee/config/server.xml
 
Old 07-17-2006, 08:29 AM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Looks like something from Oracle, written in Java, is run multiple (and many) times. 35 x 2.8% = 98%. I don't know why these are not threads of one application copy running inside one JVM. Maybe you should repost question about how to make Oracle consume less memory?
 
Old 07-17-2006, 09:16 AM   #5
janetg
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks! Will have a chat to the DBA and the developer
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unsual memory issue droz578 Linux - General 2 12-10-2005 12:25 AM
Unexplained out of memory Issue hiddenbrain Linux - Hardware 4 05-19-2005 06:02 PM
Memory issue jax79sg Programming 7 09-30-2004 01:14 AM
OT: Windows2000 Memory issue. DJ Platano General 3 08-11-2004 03:17 PM
memory issue sachin_keluskar Linux - Hardware 1 07-27-2004 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 07:37 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