Re: kolab-saslauthd crashes

Mat Cantin <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <26c4908f87f96374e0fca656251c1374__43042.049665428$1360812032$gmane$org@cantinbrothers.ca>
I just wanted to follow up on this issue. It would appear that the 
dirsrv service seems to "run out" of fds and shuts down until the dirsrv 
is restarted. I've managed to increase the number of open fds from 1024 
to 8000something which effectively reduces the crashes to once a week 
instead of once a day, but just to make sure I've set up a cron with the 
following script to run once a day every night, obviously not ideal.

#!/bin/bash
/etc/init.d/kolab-saslauthd stop
/etc/init.d/kolabd stop
/etc/init.d/dirsrv restart
/etc/init.d/kolabd start
/etc/init.d/kolab-saslauthd start

If someone else has a better idea/solution, please let me know.

Mat


On 2013-01-23 11:35, Cantin, Mat wrote:
> I Finally found something useful: the slapd logs! In
> /var/log/dirsrv/slapd-compname/errors this error comes up:
> - Not listening for new connections - too many fds open
> 
> So that's something. Now to figure out why that's happening on a 
> server
> that only 5 people are using...
> 
> Mat
> 
> On 23.01.2013 11:17, Cantin, Mat wrote:
>> On 22.01.2013 03:45, Jeroen van Meeuwen (Kolab Systems) wrote:
>>> 
>>> Really the only things kolab-saslauthd interacts with are
>>> /var/run/saslauthd/mux (an AF_UNIX socket), and LDAP (and it should
>>> automatically reconnect should the connection be lost).
>>> 
>> 
>> I rebooted the server and the problem seemed to resolve itself...
>> until
>> this morning. I'm not really sure how to troubleshoot this. The
>> kolab-saslauthd service is running and not reporting any errors, but
>> none of the services that use it to authenticate can connect.
>> Restarting
>> the service always fixes it, but only for a few minutes. I may just
>> reboot this server again to get things going, but this is a show
>> stopper
>> on a production server.
>> 
>> Thanks.
>> Mat
>> 
>> _______________________________________________
>> Kolab-devel mailing list
>> [email protected]
>> https://www.intevation.de/mailman/listinfo/kolab-devel
> 
> _______________________________________________
> Kolab-devel mailing list
> [email protected]
> https://www.intevation.de/mailman/listinfo/kolab-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.