kern/37436: [hang] accept dead loop when out of file descriptors

Jin Guojun jin at george.lbl.gov
Mon Jan 7 17:28:52 PST 2008


kmacy at FreeBSD.org wrote:

>Synopsis: [hang] accept dead loop when out of file descriptors
>
>State-Changed-From-To: open->feedback
>State-Changed-By: kmacy
>State-Changed-When: Sat Nov 17 01:19:37 UTC 2007
>State-Changed-Why: 
>
>Is this still an issue?
>
>http://www.freebsd.org/cgi/query-pr.cgi?pr=37436
>  
>
This is no longer an issue in both 6.x and 7.0, but some other harder 
problem comes up :-(
I have not been able to determine what is the root yet, and keep digging 
right now.
Brief description to new problem:

    When a large number of threads (around 1K) created to communicate to 
a remote server
    via TCP sockets, if data tranmitted per thread (probably caused by 
aggregated data) exceed
    a certain amount, the Tx session will hang. If Tx runs on a terminal 
session, the terminal hangs.
    Cannot kill the Tx process. Open another V console term is ok.
    If Tx runs on a Xterm, the entire X window hangs, although the 
Xclock is still ticking, but
    even a top program stops running on another xterm. Samba serve is 
dead. CTL-ALT-BS can kill
    X window, but no way to kill the hanging process, thus if testing 
this multiple times, system dies.

Anyway, this is a different problem.

Case 37436 can be closed, and thanks for all efforts.
-Jin



More information about the freebsd-bugs mailing list