prstat log


 
Thread Tools Search this Thread
Operating Systems Solaris prstat log
# 1  
Old 10-23-2008
prstat log

Hi All,

But the prstat logs of my system shows:-
NPROC USERNAME SWAP RSS MEMORY TIME CPU
77 oracle 17G 10G 65% 4:24:47 0.8%
Total: 486 processes, 3850 lwps, load averages: 3.77, 4.45, 4.94

What does the MEMORY denotes?
Is it the %memory used from RAM?
Or is the %memory used by user it has been allocated?
What does these parameters denote:-
NPROC USERNAME SWAP RSS MEMORY TIME CPU?

Is the %memory usage of oracle user in the prstat log normal?
Should it affect the system and apparently cause system to crash?

Please confirm whether the oracle user can use more memory than the SGA+PGA taken together.

Thanks in advance.

Last edited by dipashre; 02-10-2009 at 01:47 AM..
# 2  
Old 10-23-2008
Nope its not normal. check your oracle instances and kill those which are hogging. I believe you should know what to do.
Increase the swap space in your system.
# 3  
Old 10-23-2008
It just sums the shared memory for every process and this is obviously wrong.
You should ignore that report.
# 4  
Old 10-23-2008
Quote:
Originally Posted by dipashre
[...]
Please confirm whether the oracle user can use more memory than the SGA+PGA taken together.
The SGA is allocated per oracle instance. The prstat total statistics are wrong as far as the shared memory is concerned.
The PGA is only a target (soft limit) so yes, an oracle process can use more than that limit. Note that there are other memory areas (outside of the PGA) to consider too.
# 5  
Old 10-23-2008
Hey Thanks...

Iam new to this. Can you tell me what will be the impact of it? And this % memory usage was there in the lab for more than 3 days. Its back to 8.5% now. when there was an increase in memory consumption the system crashed but in 3 mins it was back to normal. But still the %memory was as high as 62%.

At the time of fault Following is my investigation on the prstat logs for the three days:-
1. At Sat Oct 11 20:22:01 CST 2008 (When the problem did not occurred)
NPROC USERNAME SWAP RSS MEMORY TIME CPU
74 oracle 3580M 3571M 22% 4:16:30 12%

Please note there is no record of the prstat results in the log file till Sat Oct 11 20:29:11 CST 2008.

3. At Sat Oct 11 20:30:05 CST 2008
NPROC USERNAME SWAP RSS MEMORY TIME CPU
74 oracle 17G 10G 61% 4:18:36 1.2%
Total: 508 processes, 4305 lwps, load averages: 37.23, 56.34, 30.41
4. At Sat Oct 11 20:33:01 CST 2008(When the problem got resolved)
NPROC USERNAME SWAP RSS MEMORY TIME CPU
75 oracle 17G 9905M 60% 4:19:00 1.6%
Total: 499 processes, 4303 lwps, load averages: 10.29, 36.75, 27.04
5. At Sat Oct 11 21:25:00 CST 2008(After the problem got resolved the memory was still high)
NPROC USERNAME SWAP RSS MEMORY TIME CPU
77 oracle 17G 10G 64% 4:22:38 3.4%
Total: 496 processes, 3982 lwps, load averages: 4.47, 4.82, 5.86

Generally the %memory usage of Oracle during sane state varies within 8.4% to 9%.
What could be the probable reason for the discrepancies in the memory usage by oracle during the time of fault and during sane condition?

Thanks.

Last edited by dipashre; 02-10-2009 at 01:50 AM..
# 6  
Old 10-24-2008
Well,
could you explain what you mean by system crash? It seams that there was an oracle instance crash. I would examine the instance alert log first. I think that the prstat log won't help in this case.
# 7  
Old 10-27-2008
Hi ,

With system crash I meant that the GUI seesions launched terminated and telnet was not possible and no operations could be performed at the system.

The alert log is the following:-
Sat Oct 11 20:24:10 2008
Process startup failed, error stack:
Sat Oct 11 20:24:11 2008
Errors in file /opt/oracle/u01/admin/CEMSDB/bdump/cemsdb_psp0_28290.trc:
ORA-27300: OS system dependent operation:fork failed with status: 11
ORA-27301: OS failure message: Resource temporarily unavailable
ORA-27302: failure occurred at: skgpspawn3
Sat Oct 11 20:24:12 2008
Process q002 died, see its trace file
Sat Oct 11 20:24:12 2008
ksvcreate: Process(q002) creation failed
Sat Oct 11 20:24:48 2008
Process startup failed, error stack:
Sat Oct 11 20:24:48 2008
Errors in file /opt/oracle/u01/admin/CEMSDB/bdump/cemsdb_psp0_28290.trc:
ORA-27300: OS system dependent operation:fork failed with status: 11
ORA-27301: OS failure message: Resource temporarily unavailable
ORA-27302: failure occurred at: skgpspawn3
Sat Oct 11 20:24:49 2008
Process q002 died, see its trace file
Sat Oct 11 20:24:49 2008
ksvcreate: Process(q002) creation failed
I had checked specified cemsdb_psp0_28290.trc trace file but didn't find more details.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Capture PRSTAT

Is there any scripts to capture the process which use more than 5% CPU from prstat output? (9 Replies)
Discussion started by: tharmendran
9 Replies

2. Solaris

Understanding prstat

Hello We have a SPARC box running Solaris 10. We have 32 GB of physical memory, 32 GB of swap. Now i want to monitor memory usage for performance tuning. The box is running Sybase database. When I type prstat i get the following PID USERNAME SIZE RSS STATE PRI NICE TIME CPU... (4 Replies)
Discussion started by: abohmeed
4 Replies

3. Shell Programming and Scripting

prstat output

hi all, have a ksh script where i am doing a prstat -m -u osuser 1 1 >> $FILE_NAME but for some reason it only writes 15 lines wheres when i run the same command manually from command prompt it prints out 60 lines. why is it not writing the full 60 lines to the file ?? ta. (1 Reply)
Discussion started by: cesarNZ
1 Replies

4. Solaris

prstat

hi all, was trying to figure out how busy my app was by looking at the performance of the app server. did a 'prstat -s rss' command to find the app servers using most memory. Found a command 'prstat -m' which is meant to show more details on each pid but the output of this command... (1 Reply)
Discussion started by: cesarNZ
1 Replies

5. Shell Programming and Scripting

prstat

hi all, am writing a ksh script on solaris 9 to get the number of threads taken by a process. am using the prstat -p command to do this. output i get is : :"/export/home/user" > prstat -p 25528 | cut -f2 -d/ NLWP 203 Total: 1 processes, 203 lwps, load averages: 2.58, 3.24, 3.62... (2 Replies)
Discussion started by: cesarNZ
2 Replies

6. Solaris

prstat O/P

Good Evening everyone, I am confused about prstat O/P as it shows memory values which are different from actual value.Below is the O/P of prstat command and swap commands. NPROC USERNAME SIZE RSS MEMORY TIME CPU 48 root 2113M 1590M 1.2% 45:09.39 32% 31 daemon ... (7 Replies)
Discussion started by: vvpotugunta
7 Replies

7. Solaris

understanding the prstat log

Can some one please explain what does the memory part mean in the prstat logs? NPROC USERNAME SIZE RSS MEMORY TIME CPU 61 oracle 36G 33G 71% 109:44:26 12% 89 cemsbin 12G 9523M 20% 195:02:41 11% 2 adm 273M 199M 0.4% 47:05:42 2.3% 89 root ... (9 Replies)
Discussion started by: dipashre
9 Replies

8. Solaris

prstat log

Hi All, Operating System and Version: SunOS,Solaris 10 sparc(64 bit) RDBMS Version: 10.2.0.4.0 But the prstat logs of my system shows:- NPROC USERNAME SWAP RSS MEMORY TIME CPU 83 cemsbin 5204M 3604M 22% 53:46:00 6.7% 2 adm 244M 240M 1.5% 15:13:53 3.5% 77 oracle 17G 10G 65% 4:24:47... (0 Replies)
Discussion started by: dipashre
0 Replies

9. Shell Programming and Scripting

prstat in shell

Hello, How can I do to use prstat command in a korn-shell ? Thanks a lot. Rgds. (4 Replies)
Discussion started by: madmat
4 Replies

10. UNIX for Dummies Questions & Answers

Help with prstat

Hello, The last line of prstat shows load average. I am unable to figure out what actually it is. I have read the man pages and also googled, all for no use. Can somebody help me, as to what should be the avg. load of the system for best performance and how is this load of prstat calculated. (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies
Login or Register to Ask a Question