Subject: Re: kern/35224: kernel hangs in mclpl after heavy net load in the sparc64 port (eventually also other ports)
To: None <gnats-bugs@NetBSD.org>
From: Stephan Pietzko <stephan.pietzko@uni-konstanz.de>
List: netbsd-bugs
Date: 12/11/2006 17:14:42
Pavel Cahyna <pavel@NetBSD.org> wrote

>  >  This sounds like a mbuf leak. Check netstat output, maybe you can spot where
>  >  the mbuf are lingering.
>  Preferably netstat -mssv with a kernel built with "options MBUFTRACE"

Ok - after one day i had the same problem again.

The httpd daemon hangs in mclpl condition again.
lsof said for several connections 
'0t0  TCP no PCB, CANTSENDMORE, CANTRCVMORE'

hth Stephan
----------------------------------------------------------------------
And netstat -mssv says:
(if it is interesting, i have the output from every 20min)
root@nepal:/var/tmp> cat netstat.200612111700
2818 mbufs in use:
        2652 mbufs allocated to data
        166 mbufs allocated to packet headers
4176 calls to protocol drain routines
                                             small        ext    cluster
           route               inuse             0          0          0
                               claims           31          0          0
                               releases         31          0          0
             arp               inuse             0          0          0
                               claims        70979          0          0
                               releases      70979          0          0
            unix               inuse             0          0          0
                               claims        14176         27         27
                               releases      14176         27         27
       internet6               inuse             0          0          0
                               claims            3          0          0
                               releases          3          0          0
             tcp               inuse           166          0          0
                               claims        32254          0          0
                               releases      32088          0          0
             tcp rx            inuse           254         56         56
                               claims    161841104      12655      12655
                               releases  161840850      12599      12599
             tcp tx            inuse          2398        511        378
                               claims   1193613013  380746746  263702503
                               releases 1193610615  380746235  263702125
             udp               inuse             0          0          0
                               claims          372          0          0
                               releases        372          0          0
                                             small        ext    cluster
             udp rx            inuse             0          0          0
                               claims       337730          2          2
                               releases     337730          2          2
             udp tx            inuse             0          0          0
                               claims          370          0          0
                               releases        370          0          0
        internet rx            inuse             0          0          0
                               claims    162295296      17445      17445
                               releases  162295296      17445      17445
        internet tx            inuse             0          0          0
                               claims    285747856          0          0
                               releases  285747856          0          0
             lo0               inuse             0          0          0
                               claims           48          0          0
                               releases         48          0          0
            hme0 rx            inuse             0          0          0
                               claims    162772341      19318      19318
                               releases  162772341      19318      19318
            hme0 tx            inuse             0          0          0
                               claims    852431570  296636379  198341873
                               releases  852431570  296636379  198341873
         unknown data          inuse             0          0          0
                               claims   1070662544      19318      19318
                               releases 1070662544      19318      19318
                                             small        ext    cluster
         unknown header        inuse             0          0          0
                               claims    285745681          0          0
                               releases  285745681          0          0
         unknown soname        inuse             0          0          0
                               claims        40926          0          0
                               releases      40926          0          0
         unknown soopts        inuse             0          0          0
                               claims           70          0          0
                               releases         70          0          0
         unknown control       inuse             0          0          0
                               claims           18          0          0
                               releases         18          0          0