prstat -L takes a long time if a process has large number of LWPs (Doc ID 2187031.1)

Last updated on OCTOBER 02, 2016

Applies to:

Solaris Operating System - Version 11.1 and later
Information in this document applies to any platform.

Symptoms

"prstat -L" can take hours to complete.

Truss of "prstat -L" shows the last PID that it is examining, and after that it is continuously calling brk(2) to allocate more and more memory.

Example of truss output:

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms