LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-28-2005, 04:03 AM   #1
topcat
Member
 
Registered: Feb 2003
Distribution: ubuntu 6.06, ubuntu 7.04 AMD 64bit, 7.10 AMD 64bit
Posts: 62

Rep: Reputation: 15
openLDAP hanging problem.


We have been running a virtual, multi domain mail server with the following configuration.
Redhat 9, Postfix, Courier, openLDAP, Spamassassin, Razor, squirrelmail, amavis, maildrop.
openLDAP is used for authentication.

Facing the following issues with openLDAP from time to time.

a) OpenLdap seems to get locked up every once in a while. i.e. While the process is running, it fails to authenticate.
Because process is still running, our monitoring system, Monit, does not recognize that as a failure.

Then we need to stop slapd. delete the /usr/var/openldap-data/__db.00* files, restart ldap for it to start working again.


b) When the server load becomes high, 4 to 5 then authentication is irratic. It works sometimes and sometimes it does not.
When server load became high to the tune of 16/18, ldap failed authentication.

What could be the reason for the above? anyone faced similar issues?
I'd rather have LDAP die than go in a coma. With dying, atleast our monitor can detect it and restart it.

I wouldnt mind looking at commercial alternatives to openLDAP if the above problems can be sorted out. ofcourse the best would be if the problem lies with us and not the software as fixing it would be easier than reinventing the ldap wheel.

Any and all help is always appreciated.

thanks!
 
Old 03-28-2005, 05:51 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
What kind of hardware is used and how many use this email server? Sounds to me its not really software issues but more like load issues on the server. My suggestion would be to either setup another host to take a load off this server, either load balance them or migrate some of the services running off to another machine to take a load off of it.
 
Old 03-28-2005, 06:10 AM   #3
topcat
Member
 
Registered: Feb 2003
Distribution: ubuntu 6.06, ubuntu 7.04 AMD 64bit, 7.10 AMD 64bit
Posts: 62

Original Poster
Rep: Reputation: 15
The hardware config is a P4 2.4 Ghz, 1 GB RAM, 250 GB IDE HDD.

While around 300 users check mail daily, (total 6000 registered) , because these are popular domains, we get a lot of spam. We have 2 boxes to just handle spam, so a lot of it is filtered out. the max rate of queries I have seen is 5/6 per second.
The stanford ldap configuration is able to handle 100s of queries per second so no reason why ours shouldnt as we are following the standard documentation available.

totally at wits end for many weeks now.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
openldap ldif file problem iluvatar Linux - Software 3 07-31-2005 06:57 PM
Problem with openLDAP and SASL triley Linux - Software 0 07-14-2005 03:43 PM
OPENLDAP Installation and Configuration Problem abhishek23_99 Linux - Networking 1 07-11-2005 02:47 AM
OpenLDAP Problem help!! Sabeer Linux - Software 0 10-10-2003 10:09 AM
Problem to install OpenLDAP MOCKBA Linux - Newbie 1 10-09-2003 04:23 PM


All times are GMT -5. The time now is 01:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration