summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2012-February/004192.html
blob: 171eae71134a7c10d07ff97077c14a9dca3f05dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [sysadmin-reports] Hobbit [80535]	krampouezh.mageia.org:disk warning (YELLOW)
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5Bsysadmin-reports%5D%20Hobbit%20%5B80535%5D%0A%09krampouezh.mageia.org%3Adisk%20warning%20%28YELLOW%29&In-Reply-To=%3C201202091400.45047.bgmilne%40zarb.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="004191.html">
   <LINK REL="Next"  HREF="004193.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [sysadmin-reports] Hobbit [80535]	krampouezh.mageia.org:disk warning (YELLOW)</H1>
    <B>Buchan Milne</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5Bsysadmin-reports%5D%20Hobbit%20%5B80535%5D%0A%09krampouezh.mageia.org%3Adisk%20warning%20%28YELLOW%29&In-Reply-To=%3C201202091400.45047.bgmilne%40zarb.org%3E"
       TITLE="[Mageia-sysadm] [sysadmin-reports] Hobbit [80535]	krampouezh.mageia.org:disk warning (YELLOW)">bgmilne at zarb.org
       </A><BR>
    <I>Thu Feb  9 13:00:44 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="004191.html">[Mageia-sysadm] [sysadmin-reports] Hobbit [80535] krampouezh.mageia.org:disk warning (YELLOW)
</A></li>
        <LI>Next message: <A HREF="004193.html">[Mageia-sysadm] repoctl
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#4192">[ date ]</a>
              <a href="thread.html#4192">[ thread ]</a>
              <a href="subject.html#4192">[ subject ]</a>
              <a href="author.html#4192">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Thursday, 9 February 2012 12:16:19 Pascal Terjan wrote:
&gt;<i> On Thu, Feb 9, 2012 at 06:55,  &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at mageia.org</A>&gt; wrote:
</I>&gt;<i> &gt; yellow Thu Feb  9 07:55:02 CET 2012 - Filesystems NOT ok
</I>&gt;<i> &gt; &amp;yellow / (90% used) has reached the WARNING level (90%)
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Filesystem         1024-blocks      Used Available Capacity Mounted on
</I>&gt;<i> &gt; /dev/xvda1             2466700   2084572    256824      90% /
</I>&gt;<i> &gt; /dev/xvdb              1032088     68144    911516       7% /srv/mx2-dd0
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; See
</I>&gt;<i> &gt; <A HREF="http://xymon.mageia.org/xymon-cgi/bb-hostsvc.sh?HOST=krampouezh.mageia.o">http://xymon.mageia.org/xymon-cgi/bb-hostsvc.sh?HOST=krampouezh.mageia.o</A>
</I>&gt;<i> &gt; rg&amp;SERVICE=disk
</I>&gt;<i> 
</I>&gt;<i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at krampouezh</A> ~]# df
</I>&gt;<i> Sys. de fich.         Tail. Occ. Disp. %Occ. Mont&#233; sur
</I>&gt;<i> /dev/xvda1            2.4G  2.0G  247M  90% /
</I>&gt;<i> /dev/xvdb            1008M   67M  891M   7% /srv/mx2-dd0
</I>&gt;<i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at krampouezh</A> ~]# du -sh /var/lib/ldap/backup
</I>&gt;<i> 915M	/var/lib/ldap/backup
</I>

For now, I have manually changed:

# How many days to keep archived transaction logs for. This should be just
# greater than the backup interval on these files. Default is 7
# KEEP_ARCHIVES_DAYS=7

to:
# How many days to keep archived transaction logs for. This should be just
# greater than the backup interval on these files. Default is 7
# KEEP_ARCHIVES_DAYS=7
KEEP_ARCHIVES_DAYS=1

in /etc/sysconfig/ldap, and ran /etc/cron.daily/ldap-hot-db-backup -v4

[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at krampouezh</A> ~]# du -sh /var/lib/ldap/backup
389M    /var/lib/ldap/backup
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at krampouezh</A> ~]# df
Sys. de fich.         Tail. Occ. Disp. %Occ. Mont&#233; sur
/dev/xvda1            2.4G  1.4G  872M  62% /
/dev/xvdb            1008M   67M  891M   7% /srv/mx2-dd0

But, I am not sure how backups are implemented, and we could also consider 
enabling automatic archive log removal (in DB_CONFIG) for any slaves.


It may also be that the find call in ldap-common should be using -mtime 
instead of -ctime (as we still have &gt;2 days of archive logs).

Regards,
Buchan
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="004191.html">[Mageia-sysadm] [sysadmin-reports] Hobbit [80535] krampouezh.mageia.org:disk warning (YELLOW)
</A></li>
	<LI>Next message: <A HREF="004193.html">[Mageia-sysadm] repoctl
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#4192">[ date ]</a>
              <a href="thread.html#4192">[ thread ]</a>
              <a href="subject.html#4192">[ subject ]</a>
              <a href="author.html#4192">[ 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>