On 4/21/16 11:07 , Gabriele Bulfon wrote:
> Hi,
> I had a strange situation on a server starting to respond very slow on almost 
> any deamon (tomcat/apache/ssh/cyrus).
> While prstat/top did not show any high cpu usage (under 5%) and prstat -Z 
> didn't show any very high memory usage, and
> swap look there unused...I tried running netstat -a to see how many sockets 
> where there serving.
> The result was a very fast output of all the normal sockets, and then hanging 
> for 10-30 seconds before the output of active UNIX domain sockets.
> I repeated the command some times, but didn't think about saving the output 
> somewhere, so I don't know what the domain sockets state was (which files, 
> where).
> I can say the machine runs amavis / spamd / lmtpd /saslauthd / cyrus / 
> postfix / apache / tomcat / postgres  for more than 600 users.
> Is there anything I should look deeper about the domain socket usage? Is it 
> possible that they were so much busy slowing down
> every socket (even ssh took 1 to 2 minutes to take me to the bash).

In general, you should use the -n option to netstat whenever you're
debugging so you're not generating a lot of dns resolutions. But when
you're looking at that kind of thing, you should start with your CPU
microstates for processes (usually the -mL options to prstat) and tools
like mpstat and vmstat.

Robert


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to