[dtrace-discuss] Re: How to trace process memory usage
Surya.Prakki at Sun.COM
Surya.Prakki at Sun.COM
Mon Dec 4 19:37:29 PST 2006
One of things you may need to look out for is :
In case you are creating way too many lwps on the system, you may exhaust
segkpsize configured on your system. ::kmastat from an already running
'mdb -k' session will help you figure out this (check for any failures in
segkp caches).
-surya
Peter Eriksson wrote On 12/05/06 03:52,:
>>prstat(1) is your friend. "prstat -s rss" is a wonderfully simple and effective
>>
>>
>
>There is only one small problem with that approach - when things are running normally we don't see any strange behaviour. And when things misbehave we typically can't start any new processes (fork: resource temporarily unavailable)...
>Ie, no prstat/vmstat/pmap/top/ps..
>
>That's why we was thinking of using an already running Dtrace to try to "see" what's going on when things are misbehaving...
>
>
>Anyway, I've now increased the available swapspace so it's more than the size of the RAM in the machine and we'll see what happens...
>
>
>This message posted from opensolaris.org
>_______________________________________________
>dtrace-discuss mailing list
>dtrace-discuss at opensolaris.org
>
>
More information about the dtrace-discuss
mailing list