On Sun, Jul 07, 2013 at 06:18:14PM +0300, Mikael wrote:
> Hi,
> 

...

>       - netstat shows ~100 connections from localhost to localhost, and ~50
>    connectsions from external in FIN_WAIT
> 
>    - fstat -n | wc -l gives 1017
> 
>    - "netstat -m" reports:
>    6863 in use
>    13804 Kbytes allocated to network (97% in use)
>    0 requests for memory denied
>    0 requests for memory delayed

This is not netstat -m output. All the important information got stripped.

>    - "netstat -p tcp -ss" shows "17023 discarded for bad checksums" and
>    that's all under the topic discarded

This is as useless as the mangled netstat output.
 
>    - 'netstat -an | wc -l' gives 508

508 connections, question is what kind of connections?
 
>    - vmstat -m shows:
>    5842/5938/6144 mbuf 2048 byte clusters in use (current/peak/max)
>    In use 126920K, total allocated: 158580K,; utlilization 80%
>    and all is 0 in the fail column.

You are running very close to the limit of mclusters. Where did all those
cluster go? Maybe in the 508 connections reported by netstat.
netstat show the buffer space used by the various sockets, maybe check
those. Once you figured out where the memory is gone to and why, you
should be able to figure out if it is save to increase nmbcluster because
your server needs them or if the problem is a leak of some sort.

-- 
:wq Claudio

Reply via email to