LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 04-05-2010, 02:36 PM   #1
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,978
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Fedora Directory Server not accepting new connections


Looks like our Directory Server stopped answering

[/code]
[05/Apr/2010:11:24:18 -0700] - Not listening for new connections - too many fds open
[05/Apr/2010:11:24:19 -0700] - Listening for new connections again
[05/Apr/2010:11:24:19 -0700] - Not listening for new connections - too many fds open
[05/Apr/2010:11:24:25 -0700] - Listening for new connections again
[05/Apr/2010:11:24:25 -0700] - Not listening for new connections - too many fds open
[05/Apr/2010:11:24:26 -0700] - Listening for new connections again
[05/Apr/2010:11:24:26 -0700] - Not listening for new connections - too many fds open
[05/Apr/2010:11:24:26 -0700] - Listening for new connections again
[05/Apr/2010:11:24:26 -0700] - Not listening for new connections - too many fds open
[05/Apr/2010:11:24:34 -0700] - Listening for new connections again
[05/Apr/2010:11:24:34 -0700] - Not listening for new connections - too many fds open
[05/Apr/2010:11:24:45 -0700] - Listening for new connections again
[05/Apr/2010:11:24:45 -0700] - Not listening for new connections - too many fds open
[05/Apr/2010:11:24:55 -0700] - Listening for new connections again
[05/Apr/2010:11:24:55 -0700] - Not listening for new connections - too many fds open
[05/Apr/2010:11:25:05 -0700] - Listening for new connections again
[05/Apr/2010:11:25:05 -0700] - Not listening for new connections - too many fds open[/code]

I failed over to our backup DS...but not sure why it stopped responding

-C
 
Old 04-05-2010, 05:07 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
it says there are too many fds open.... ;-) that means File Descriptors. An "lsof" will show that that the ns-slapd process will have maxed out it's allowed file handles, 1024 by default. This might be network connections, log files, shared libraries etc...
 
Old 04-05-2010, 05:51 PM   #3
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,978

Original Poster
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by acid_kewpie View Post
it says there are too many fds open.... ;-) that means File Descriptors. An "lsof" will show that that the ns-slapd process will have maxed out it's allowed file handles, 1024 by default. This might be network connections, log files, shared libraries etc...
Which would make sense as my network is growing

Okay; just wondering what "fds" stood for...thanks

-C
 
Old 05-19-2011, 12:22 PM   #4
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,978

Original Poster
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
I know this is an "oldie" but I thought I'd post some tuning I did to help "ease" the issue

First the /etc/sysctl.conf

Code:
echo "fs.file-max = 203568" >> /etc/sysctl.conf
      
echo "* soft nofile 8192" >> /etc/security/limits.conf
      
echo "* hard nofile 8192" >> /etc/security/limits.conf
      
echo "ulimit -n 8192" >> /etc/profile
Next edit the /etc/sysconfig/dirsrv file and uncomment the following line

Code:
ulimit -n 8192
Next edit your /etc/sysconfig/dirsrv/slapd-instance/dse.ldif file and change the nsslapd-maxdescriptors entry

Code:
nsslapd-maxdescriptors: 8192
Now load up your sysctl entries and restart your dirsrv

Code:
sysctl -p
/etc/init.d/dirsrv restart
This should increase your FDS available to the dirsrv
 
Old 05-20-2011, 01:56 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
hey, it's your thread, totally fine. Must've been very confusing with FDS reporting too many FDS's open!
 
Old 03-26-2012, 05:11 PM   #6
infinitiguy
LQ Newbie
 
Registered: Feb 2008
Posts: 10

Rep: Reputation: 1
a note about /etc/sysconfig/dirsrv/slapd-instance/dse.ldif.

I found that I needed to stop ldap before I could edit this file. Otherwise any edits I made were overwritten when I restarted.

stop
edit
start
magic
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ipop3d not accepting connections Kurt M. Weber Slackware 4 10-04-2007 08:19 AM
VNC not accepting connections Red Squirrel Linux - Newbie 4 02-20-2004 09:55 PM
ftp/telnet not accepting connections mstembri Linux - Newbie 6 10-05-2003 03:11 PM
proftpd not accepting outside connections sohmc Linux - Software 0 07-18-2003 08:40 AM
waiting for X server to begin accepting connections . redhat_zephyr Linux - Newbie 10 07-08-2003 12:27 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration