[Fedora-directory-users] too many fds open

Craig Ayliffe cayliffe at gmail.com
Wed Jul 27 12:10:37 UTC 2005


Hi,

Has anyone come across problem with directory server having too many
fds open, which then causes it to not receive any new connections?

Version: Fedora-Directory/7.1 B2005.146.2010
OS: Linux ds01 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686
i686 i386 GNU/Linux

>From the logs/error:

[28/Jul/2005:19:22:42 +1000] - Listening for new connections again
[28/Jul/2005:19:22:42 +1000] - Not listening for new connections - too
many fds open
[28/Jul/2005:19:22:42 +1000] - Listening for new connections again
[28/Jul/2005:19:22:42 +1000] - Not listening for new connections - too
many fds open
[28/Jul/2005:21:00:22 +1000] - Listening for new connections again


One thing I have noticed is a lot of tcp connections owned by the
ns-slapd process, that are suspended in the CLOSE_WAIT state.

# netstat -nap
...
tcp        0      0 ::ffff:10.10.246.31:389    
::ffff:10.10.245.12:54566   CLOSE_WAIT  17118/ns-slapd
tcp        0      0 ::ffff:10.10.246.31:389    
::ffff:10.10.245.12:54502   CLOSE_WAIT  17118/ns-slapd
tcp        0      0 ::ffff:10.10.246.31:389    
::ffff:10.10.245.12:54758   CLOSE_WAIT  17118/ns-slapd
tcp        0      0 ::ffff:10.10.246.31:389    
::ffff:10.10.245.12:54569   CLOSE_WAIT  17118/ns-slapd
tcp        0      0 ::ffff:10.10.246.31:389    
::ffff:10.10.245.12:54312   CLOSE_WAIT  17118/ns-slapd
tcp        0      0 ::ffff:10.10.246.31:389    
::ffff:10.10.245.12:54440   CLOSE_WAIT  17118/ns-slapd
tcp        0      0 ::ffff:10.10.246.31:389    
::ffff:10.10.245.12:54379   CLOSE_WAIT  17118/ns-slapd
tcp        0      0 ::ffff:10.10.246.31:389    
::ffff:10.10.245.12:54315   CLOSE_WAIT  17118/ns-slapd


Regards,

-- 
Craig Ayliffe




More information about the Fedora-directory-users mailing list