diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-August/003840.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-August/003840.html | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-August/003840.html b/zarb-ml/mageia-sysadm/2011-August/003840.html new file mode 100644 index 000000000..a7be16090 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-August/003840.html @@ -0,0 +1,100 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] /etc/cron.daily/ldap-hot-db-backup + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20/etc/cron.daily/ldap-hot-db-backup&In-Reply-To=%3C201108111603.39975.bgmilne%40staff.telkomsa.net%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="003836.html"> + <LINK REL="Next" HREF="003841.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] /etc/cron.daily/ldap-hot-db-backup</H1> + <B>Buchan Milne</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20/etc/cron.daily/ldap-hot-db-backup&In-Reply-To=%3C201108111603.39975.bgmilne%40staff.telkomsa.net%3E" + TITLE="[Mageia-sysadm] /etc/cron.daily/ldap-hot-db-backup">bgmilne at staff.telkomsa.net + </A><BR> + <I>Thu Aug 11 16:03:37 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="003836.html">[Mageia-sysadm] /etc/cron.daily/ldap-hot-db-backup +</A></li> + <LI>Next message: <A HREF="003841.html">[Mageia-sysadm] when will markreleases be fixed? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3840">[ date ]</a> + <a href="thread.html#3840">[ thread ]</a> + <a href="subject.html#3840">[ subject ]</a> + <a href="author.html#3840">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Tuesday, 9 August 2011 16:35:33 Pascal Terjan wrote: +><i> db_stat has been running for 4 days now on valstar using 100% cpu +</I>><i> +</I>><i> |-crond---crond---run-parts---ldap-hot-db-bac---ldap-hot-db-bac-+-awk +</I>><i> +</I>><i> `-ldap-hot-db-bac---db_stat +</I>><i> +</I>><i> root 5288 99.9 0.0 10728 2244 ? RN Aug05 6508:41 +</I>><i> /usr/bin/db_stat -d /var/lib/ldap/id2entry.bdb +</I> + +Hmm, maybe I didn't push an update for 2010.1 that uses db_stat -f ... + +<A HREF="http://svn.mandriva.com/cgi-">http://svn.mandriva.com/cgi-</A> +bin/viewvc.cgi/packages/cooker/openldap/current/SOURCES/ldap- +common?view=diff&r1=638048&r2=6163&diff_format=h + +For now I'm going to make this change manually on valstar. + +I killed the offending process as well and the backup completed: + +Aug 11 15:53:46 valstar ldap-hot-db-backup: Try 1 to run "/usr/bin/db_stat +/var/lib/ldap/id2entry.bdb" failed +Aug 11 15:53:48 valstar ldap-hot-db-backup: Try 2 to run "/usr/bin/db_stat +/var/lib/ldap/id2entry.bdb" succeeded +Aug 11 15:53:49 valstar ldap-hot-db-backup: No errors encountered in backup() +for /var/lib/ldap +Aug 11 15:53:49 valstar ldap-hot-db-backup: No errors encountered in backup() +for /var/lib/ldap/test +Aug 11 15:53:49 valstar ldap-hot-db-backup: Successfully ran backup to +temporary directory +Aug 11 15:53:49 valstar ldap-hot-db-backup: Switched new backup to good backup +successfully +Aug 11 15:53:49 valstar ldap-hot-db-backup: Backup run completed successfully + + +Log rotation didn't complete properly, we may need to clean up a log file +tomorrow if it doesn't get handled tonight: +-rw------- 1 root root 0 2011-08-09 04:02 ldap.log +-rw------- 1 root root 485028794 2011-08-11 15:57 ldap.log.1 + + +Regards, +Buchan +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003836.html">[Mageia-sysadm] /etc/cron.daily/ldap-hot-db-backup +</A></li> + <LI>Next message: <A HREF="003841.html">[Mageia-sysadm] when will markreleases be fixed? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3840">[ date ]</a> + <a href="thread.html#3840">[ thread ]</a> + <a href="subject.html#3840">[ subject ]</a> + <a href="author.html#3840">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |