]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2001/001505.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2001 / 001505.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> AW: [IRCServices] Rotate Log function - performance
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=AW%3A%20%5BIRCServices%5D%20Rotate%20Log%20function%20-%20performance&In-Reply-To=LPBBJLDCHCNGAKLLJFKNOEDMCEAA.markh%40eurodltd.co.uk">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="001504.html">
11 <LINK REL="Next" HREF="001540.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>AW: [IRCServices] Rotate Log function - performance</H1>
15 <B>Yusuf Iskenderoglu</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=AW%3A%20%5BIRCServices%5D%20Rotate%20Log%20function%20-%20performance&In-Reply-To=LPBBJLDCHCNGAKLLJFKNOEDMCEAA.markh%40eurodltd.co.uk"
17 TITLE="AW: [IRCServices] Rotate Log function - performance">uhc0 at rz.uni-karlsruhe.de
18 </A><BR>
19 <I>Tue Feb 27 00:18:01 PST 2001</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="001504.html">[IRCServices] Rotate Log function - performance
22 </A></li>
23 <LI>Next message: <A HREF="001540.html">[IRCServices] Rotate Log function - performance
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#1505">[ date ]</a>
27 <a href="thread.html#1505">[ thread ]</a>
28 <a href="subject.html#1505">[ subject ]</a>
29 <a href="author.html#1505">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>Hello;
35
36 Why don't you simply use the following ?
37
38 mv /bla/blups/blubber/services.log /bla/blups/blubber/oldlog/services.log.old
39 kill -USR2 `cat /bla/blupbs/blubber/services.pid`
40
41 Services used to have a rotatelog command, and it was removed, to use USR2 instead.
42
43 Regards;
44 yusuf
45
46 ----------------------------------------------------------------------
47 |<i> Yusuf Iskenderoglu | You get to meet all sorts, |
48 </I>|<i> eMail - <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">uhc0 at rz.uni-karlsruhe.de</A> | in this line of work... |
49 </I>|<i> eMail - <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">s_iskend at ira.uka.de</A> | |
50 </I>|<i> ICQ UIN : 20587464 \ TimeMr14C | |
51 </I>----------------------------------------------------------------------
52
53
54 &gt;<i> -----Urspr&#252;ngliche Nachricht-----
55 </I>&gt;<i> Von: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-admin at ircservices.za.net</A>
56 </I>&gt;<i> [mailto:<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-admin at ircservices.za.net</A>]Im Auftrag von Mark
57 </I>&gt;<i> Hetherington
58 </I>&gt;<i> Gesendet: Montag, 26. Februar 2001 22:58
59 </I>&gt;<i> An: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ircservices.za.net</A>
60 </I>&gt;<i> Betreff: [IRCServices] Rotate Log function - performance
61 </I>&gt;<i>
62 </I>&gt;<i>
63 </I>&gt;<i> I am considering adding a rotate log function to services (and to the ircd
64 </I>&gt;<i> but that is beyond the scope of this list) which will automatically rotate
65 </I>&gt;<i> the log each day at Midnight but am looking for a low/no
66 </I>&gt;<i> performance impact
67 </I>&gt;<i> determination that Midnight has occured.
68 </I>&gt;<i>
69 </I>&gt;<i> The daylight build used to have an isMidnight function called in the &quot;main
70 </I>&gt;<i> loop&quot; but this rarely succeeded I guess because if Services
71 </I>&gt;<i> happened to be
72 </I>&gt;<i> idle or very busy at this time, Midnight passed before the isMidnight
73 </I>&gt;<i> function activated.
74 </I>&gt;<i>
75 </I>&gt;<i> Eggdrop has a number of settings for automatic log rotation and after
76 </I>&gt;<i> investigation it uses
77 </I>&gt;<i>
78 </I>&gt;<i> add_hook(HOOK_SECONDLY, (Function) core_secondly);
79 </I>&gt;<i>
80 </I>&gt;<i> with the per second function checking for Midnight among other things.
81 </I>&gt;<i>
82 </I>&gt;<i> Having not used this system before I wonder as to what impact on
83 </I>&gt;<i> performance
84 </I>&gt;<i> this may have on services. If anyone knows much about using per second
85 </I>&gt;<i> routines or what impact it might have on services it would be much
86 </I>&gt;<i> appreciated.
87 </I>&gt;<i>
88 </I>&gt;<i> Mark.
89 </I>&gt;<i> CTCP Networks.
90 </I>&gt;<i>
91 </I>&gt;<i>
92 </I>&gt;<i> -----------------------------------------------------------
93 </I>&gt;<i> To unsubscribe, mail <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-request at ircservices.za.net</A>
94 </I>&gt;<i> with the word UNSUBSCRIBE in the subject of the mail.
95 </I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">http://www.ircservices.za.net/mailman/listinfo/ircservices</A>
96 </I>&gt;<i>
97 </I>
98
99
100 </PRE>
101
102 <!--endarticle-->
103 <HR>
104 <P><UL>
105 <!--threads-->
106 <LI>Previous message: <A HREF="001504.html">[IRCServices] Rotate Log function - performance
107 </A></li>
108 <LI>Next message: <A HREF="001540.html">[IRCServices] Rotate Log function - performance
109 </A></li>
110 <LI> <B>Messages sorted by:</B>
111 <a href="date.html#1505">[ date ]</a>
112 <a href="thread.html#1505">[ thread ]</a>
113 <a href="subject.html#1505">[ subject ]</a>
114 <a href="author.html#1505">[ author ]</a>
115 </LI>
116 </UL>
117
118 </body></html>