Re: slapd shuts down for no reason

2014-03-18 Thread Hallvard Breien Furuseth
On Mon, 2014-03-17 at 10:02 -0700, Howard Chu wrote: Hallvard Breien Furuseth wrote: On Sat, 2014-03-15 at 17:09 +0100, Christian Kratzer wrote: you are sseing is from slapd receiving a HUP signal, so something must be sending it. HUP, INT, TERM or TRAP. TRAP is for debugging, not

RE: slapd shuts down for no reason

2014-03-18 Thread Hallvard Breien Furuseth
On Mon, 2014-03-17 at 08:30 -0400, Borresen, John - 0442 - MITLL wrote: We had a similar issue a few months back. I discovered that it was dying at about the same time. Come to find out it was syslog rotation that was doing it. Syslog sends a HUP signal to rotate the logs and restart a

RE: slapd shuts down for no reason

2014-03-18 Thread Borresen, John - 0442 - MITLL
@openldap.org Subject: RE: slapd shuts down for no reason On Mon, 2014-03-17 at 08:30 -0400, Borresen, John - 0442 - MITLL wrote: We had a similar issue a few months back. I discovered that it was dying at about the same time. Come to find out it was syslog rotation that was doing it. Syslog sends

RE: slapd shuts down for no reason

2014-03-18 Thread Christian Kratzer
: Hallvard Breien Furuseth [mailto:h.b.furus...@usit.uio.no] Sent: Tuesday, March 18, 2014 4:26 AM To: Borresen, John - 0442 - MITLL Cc: openldap-technical@openldap.org Subject: RE: slapd shuts down for no reason On Mon, 2014-03-17 at 08:30 -0400, Borresen, John - 0442 - MITLL wrote: We had

RE: slapd shuts down for no reason

2014-03-18 Thread Borresen, John - 0442 - MITLL
@openldap.org Subject: RE: slapd shuts down for no reason Hi, On Tue, 18 Mar 2014, Borresen, John - 0442 - MITLL wrote: Fall back to legacy unix...sorry logrotate is more appropriate. Yes, yours is very similar to how ours looked and it would stop the daemon fine, and rotate the log but would

RE: slapd shuts down for no reason

2014-03-18 Thread Christian Kratzer
-Original Message- From: Hallvard Breien Furuseth [mailto:h.b.furus...@usit.uio.no] Sent: Tuesday, March 18, 2014 4:26 AM To: Borresen, John - 0442 - MITLL Cc: openldap-technical@openldap.org Subject: RE: slapd shuts down for no reason On Mon, 2014-03-17 at 08:30 -0400, Borresen, John - 0442

RE: slapd shuts down for no reason

2014-03-18 Thread Hallvard Breien Furuseth
It still doesn't make sense to stop slapd in logrotate. Seems I was unclear: It's the process which writes to the log which must be HUPped, so it'll stop writing to the rotated logfile. That's syslogd, not slapd. Unless you're doing 'slapd 2slapd.log '. (Or it's rsyslogd or klogd or whatever.

RE: slapd shuts down for no reason

2014-03-17 Thread Borresen, John - 0442 - MITLL
Message- From: openldap-technical-boun...@openldap.org [mailto:openldap-technical-boun...@openldap.org] On Behalf Of Hallvard Breien Furuseth Sent: Monday, March 17, 2014 4:24 AM To: Christian Kratzer Cc: GALAMBOS Daniel; openldap-technical@openldap.org Subject: Re: slapd shuts down

Re: slapd shuts down for no reason

2014-03-17 Thread Howard Chu
Hallvard Breien Furuseth wrote: On Sat, 2014-03-15 at 17:09 +0100, Christian Kratzer wrote: The message: Mar 15 07:06:25 ldap1 slapd[2798]: daemon: shutdown requested and initiated. you are sseing is from slapd receiving a HUP signal, so something must be sending it. HUP, INT,

slapd shuts down for no reason

2014-03-15 Thread GALAMBOS Daniel
Hi, We recently left the debian openldap, and compiled the 2.4.39 and installed on our servers. The old slapd failed multiple times a day, and now the new one too. The log says: Mar 15 07:06:25 ldap1 slapd[2798]: daemon: shutdown requested and initiated. Mar 15 07:06:25 ldap1 slapd[2798]:

Re: slapd shuts down for no reason

2014-03-15 Thread Christian Kratzer
Hi, On Sat, 15 Mar 2014, GALAMBOS Daniel wrote: Hi, We recently left the debian openldap, and compiled the 2.4.39 and installed on our servers. The old slapd failed multiple times a day, and now the new one too. It doesn't fail. See below ... The log says: Mar 15 07:06:25 ldap1

Re: slapd shuts down for no reason

2014-03-15 Thread GALAMBOS Daniel
Thanks, but there is only one ldap releated cronjob, it monitors the slapd resource usage, but that did not do anything. For logging we use rsyslogd, and reloading, restarting or stopping the rsyslogd doesn't affect the slapd. Also there are no logrotate config which restarts the slapd, only

Re: slapd shuts down for no reason

2014-03-15 Thread Christian Kratzer
Hi, On Sat, 15 Mar 2014, GALAMBOS Daniel wrote: Thanks, but there is only one ldap releated cronjob, it monitors the slapd resource usage, but that did not do anything. For logging we use rsyslogd, and reloading, restarting or stopping the rsyslogd doesn't affect the slapd. Also there are

Re: slapd shuts down for no reason

2014-03-15 Thread Quanah Gibson-Mount
Check for OOM messages in your system log. The OOM manager will kill whatever the next process is to allocate memory when it runs out regardless of how much or little that process is using. Whatever the case there is no slapd bug here. Something on your system is specifically telling slapd to