1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> AW: [IRCServices] Rotate Log function - performance
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">
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
19 <I>Tue Feb
27 00:
18:
01 PST
2001</I>
21 <LI>Previous message:
<A HREF=
"001504.html">[IRCServices] Rotate Log function - performance
23 <LI>Next message:
<A HREF=
"001540.html">[IRCServices] Rotate Log function - performance
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>
36 Why don't you simply use the following ?
38 mv /bla/blups/blubber/services.log /bla/blups/blubber/oldlog/services.log.old
39 kill -USR2 `cat /bla/blupbs/blubber/services.pid`
41 Services used to have a rotatelog command, and it was removed, to use USR2 instead.
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>----------------------------------------------------------------------
54 ><i> -----Urspr
üngliche Nachricht-----
55 </I>><i> Von:
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-admin at ircservices.za.net
</A>
56 </I>><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>><i> Hetherington
58 </I>><i> Gesendet: Montag,
26. Februar
2001 22:
58
59 </I>><i> An:
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ircservices.za.net
</A>
60 </I>><i> Betreff: [IRCServices] Rotate Log function - performance
63 </I>><i> I am considering adding a rotate log function to services (and to the ircd
64 </I>><i> but that is beyond the scope of this list) which will automatically rotate
65 </I>><i> the log each day at Midnight but am looking for a low/no
66 </I>><i> performance impact
67 </I>><i> determination that Midnight has occured.
69 </I>><i> The daylight build used to have an isMidnight function called in the
"main
70 </I>><i> loop
" but this rarely succeeded I guess because if Services
71 </I>><i> happened to be
72 </I>><i> idle or very busy at this time, Midnight passed before the isMidnight
73 </I>><i> function activated.
75 </I>><i> Eggdrop has a number of settings for automatic log rotation and after
76 </I>><i> investigation it uses
78 </I>><i> add_hook(HOOK_SECONDLY, (Function) core_secondly);
80 </I>><i> with the per second function checking for Midnight among other things.
82 </I>><i> Having not used this system before I wonder as to what impact on
83 </I>><i> performance
84 </I>><i> this may have on services. If anyone knows much about using per second
85 </I>><i> routines or what impact it might have on services it would be much
86 </I>><i> appreciated.
89 </I>><i> CTCP Networks.
92 </I>><i> -----------------------------------------------------------
93 </I>><i> To unsubscribe, mail
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-request at ircservices.za.net
</A>
94 </I>><i> with the word UNSUBSCRIBE in the subject of the mail.
95 </I>><i> <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">http://www.ircservices.za.net/mailman/listinfo/ircservices
</A>
106 <LI>Previous message:
<A HREF=
"001504.html">[IRCServices] Rotate Log function - performance
108 <LI>Next message:
<A HREF=
"001540.html">[IRCServices] Rotate Log function - performance
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>