[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: broken pipe - serious problem with OpenLDAP 2.0.21



Michael Torrie wrote:
> 
> On Wed, 2002-04-17 at 10:49, Pierangelo Masarati wrote:
> >
> > I suggest you use different replicas for different tasks, e.g. one
> > replica
> > for mail routing and one for unix/samba auth, so you can use heavy log
> > on the auth replica only and try to find more useful hints on the
> > failure
> > cause.
> 
> Sorry, but this doesn't make any sense.  I'm not using LDAP for anything
> but authentication.  Also I simply do not have other machines available
> to set up a secondary LDAP server.  Besides, the problem isn't
> necessarily being caused by the mail server.  It's a system-wide failure
> with causes unknown.  IE all clients, samba, unix, etc all can't talk to
> ldap and thus can't authenticate users.  The sendmail thing is just a
> symptom of something somewhere else.  If I turn on heaving logging on
> the authentication replica (supposing I did as you suggest), logins will
> get really slow.

My point is: if it is some special request (as I think) that triggers
the problem, and you think full logging will slow down your mail server,
try to split the work on one server for mail routing with no logging
(I experienced long lasting slapds serving mail routing for hundred 
thousands users and millions of mails delivered per day with no problem
at all) and another server (on the same machine, doesn't matter) for
auth with full logging (and, of course, slow down and reduced service)
to find out what causes the failure.

Pierangelo.

-- 
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 |
mailto:pierangelo.masarati@polimi.it
via La Masa 34, 20156 Milano, Italy   |
http://www.aero.polimi.it/~masarati