<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/4067" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-08-26T06:15:32-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/4067</id>

		<entry>
		<author><name><![CDATA[DayCuts]]></name></author>
		<updated>2004-08-26T06:15:32-04:00</updated>

		<published>2004-08-26T06:15:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40197#p40197</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40197#p40197"/>
		<title type="html"><![CDATA[(!) timer drift -- spun 3 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40197#p40197"><![CDATA[
egghead, that is what the timer calls.... it calls a maintenance and backup procedure, which performs a quick regex search to strip out bad entries then re-writes the variable list to file.  It is just one simple regex search and then the write to file using 'puts $xpf [join $xpl "\n"]'.<br><br>This procedure it called and run every half an hour, and takes about half a second to complete.  Could this really be causing such a large timer drift?  48times at day at 0.5 seconds, thats about 24seconds.  Could that really somehow cause a 58 minute drift?<br><br>If so is there some alternative to my proc, the list is generally about 300 in length.  I thought 'puts $xpf [join $xpl "\n"]' was pretty quick and basic, would be suprised if such a short write to file really caused such a large drift.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5073">DayCuts</a> — Thu Aug 26, 2004 6:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2004-08-25T22:45:20-04:00</updated>

		<published>2004-08-25T22:45:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40188#p40188</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40188#p40188"/>
		<title type="html"><![CDATA[(!) timer drift -- spun 3 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40188#p40188"><![CDATA[
<blockquote class="uncited"><div>I read that in another thread here and in the package to see if there was any extra, but i dont see how any of them seem to apply to me.  And since dereckson specifically mentioned the 58 minutes with there alternate explanation i thought maybe they could expand or be a little clearer on the issue.  In any case i guess it really doesn't matter, one var and if statement would take care of the script issue caused, it would just be preferable not to have to use one.  Oh, and im only running on bot for that box.</div></blockquote>You may also get the problem if the eggdrop uses a blocking operation. Such as writing to a file for a while.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Wed Aug 25, 2004 10:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DayCuts]]></name></author>
		<updated>2004-08-25T02:07:51-04:00</updated>

		<published>2004-08-25T02:07:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40148#p40148</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40148#p40148"/>
		<title type="html"><![CDATA[(!) timer drift -- spun 3 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40148#p40148"><![CDATA[
I read that in another thread here and in the package to see if there was any extra, but i dont see how any of them seem to apply to me.  And since dereckson specifically mentioned the 58 minutes with there alternate explanation i thought maybe they could expand or be a little clearer on the issue.  In any case i guess it really doesn't matter, one var and if statement would take care of the script issue caused, it would just be preferable not to have to use one.  Oh, and im only running on bot for that box.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5073">DayCuts</a> — Wed Aug 25, 2004 2:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-24T22:06:58-04:00</updated>

		<published>2004-08-24T22:06:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40144#p40144</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40144#p40144"/>
		<title type="html"><![CDATA[(!) timer drift -- spun 3 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40144#p40144"><![CDATA[
This problem has been described in the eggdrop.*****.tar.gz package itself.<br><blockquote class="uncited"><div>    (!) timer drift -- spun N minutes<br><br>      This can be caused by one of several reasons.<br><br>        - Your bot could have been swapped out of memory for a while, or for<br>          some reason the computer could have stopped letting the bot run. Once<br>          a minute, Eggdrop does a few maintenance things, including counting<br>          down any active Tcl timers. If for some reason, several minutes pass<br>          without Eggdrop being able to do this, it logs this message to let<br>          you know what happened. It's generally a bad thing, because it means<br>          that the system your bot is on is very busy, and the bot can hardly<br>          keep track of the channel very well when it gets swapped out for<br>          minutes at a time.<br><br>        - On some systems (at least Linux), if the DNS your bot is using to<br>          lookup hostnames is broken and *very* slow in responding (this can<br>          occur if the DNS server's uplink doesn't exist), then you will get<br>          4-5 minute timer drifts continuously. This can be fixed by loading<br>          the dns module.<br><br>        - The clock on your machine has just been changed. It may have been<br>          running behind by several minutes and was just corrected.</div></blockquote>Take a look at any of the file:<br><br>eggdrop\doc\weird-messages.txt<br>eggdrop\doc\html\app-weird.html<br><br><br>I suggest, you run both bots from seperate directories.<br><br>make install DEST=/home/usr/eggdrop1<br>make install DEST=/home/usr/eggdrop2<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Aug 24, 2004 10:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DayCuts]]></name></author>
		<updated>2004-08-24T17:12:47-04:00</updated>

		<published>2004-08-24T17:12:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40124#p40124</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40124#p40124"/>
		<title type="html"><![CDATA[(!) timer drift -- spun 3 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40124#p40124"><![CDATA[
Dereckson, any chance you could expand a little on that, or anybody else.<br><br>I get the '(!) timer drift -- spun 58 minutes' message from time to time, there is no patturn to it and it can happen at any time of the day.  I know this is not a problem with a process hogging script or such.  As the scripts were wrote by myself with the very implicit intention to keep them simply and fast.<br><br>Could somebody please expand on this.  I do not ever change the time on the system, and it is not set to use daylight savings (it does not alter for this).  Although the system is only a 466mhz w/ 320mb sdram, this setup is more than enough for what is run on it.  <br><blockquote class="uncited"><div>So, on a server with instable electrical connexion frenquentily updated with the value returned by a NTP server, this line is very current.</div></blockquote>What exactly does this mean? (the instable electrical connexion part)<br><br>I dont care about seind the msg, but i have a script that performs a small maintenance check every 20-30 minutes, and spits a line to the consol, when i get the timer spun message, it will initial the proc (called by timer) twice at the same time, which is undesirable.<br><br>TIA<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5073">DayCuts</a> — Tue Aug 24, 2004 5:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dereckson]]></name></author>
		<updated>2003-04-12T04:58:54-04:00</updated>

		<published>2003-04-12T04:58:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18938#p18938</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18938#p18938"/>
		<title type="html"><![CDATA[(!) timer drift -- spun 3 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18938#p18938"><![CDATA[
When you change the time of a computer hosting an eggdrop, you get a timer drift spun (but in common, 58 minutes).<br><br>So, on a server with instable electrical connexion frenquentily updated with the value returned by a NTP server, this line is very current.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1339">Dereckson</a> — Sat Apr 12, 2003 4:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-04-09T04:47:14-04:00</updated>

		<published>2003-04-09T04:47:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18766#p18766</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18766#p18766"/>
		<title type="html"><![CDATA[(!) timer drift -- spun 3 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18766#p18766"><![CDATA[
There is nothing you can do, other that upgrade the system the bot is on.<br><br>Timer drift is caused by the bot not performing operations at its normal rate.<br><br>This can be caused by scripts blocking the bot (IE, not continueing until a script is complete, EG, FTP ifo requests, http downloads). Other reasons include the bot not getting enough CPU time to complete a job.<br><br>Normaly, it is down to the CPU time and memory (low memory causes swap disk to be used, this can be time and CPU consuming process to perform).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Apr 09, 2003 4:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-04-08T22:36:17-04:00</updated>

		<published>2003-04-08T22:36:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18757#p18757</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18757#p18757"/>
		<title type="html"><![CDATA[(!) timer drift -- spun 3 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18757#p18757"><![CDATA[
Hi, thanks for the reply, but is there anyway to resolve this?? because its affecting on the bot performance and causing the bot a bit slow.. and  it shows average 0ver 16 times a day, some time 3 mintues, sometime 2 mintues, sometime 6 mintues....<br><br>then i had started a testbot without any scripts, and  it showed up as well.<br><br>i'll apprecite for the help, and i am sure solution will help someother users as well.<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Tue Apr 08, 2003 10:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-04-06T04:56:10-04:00</updated>

		<published>2003-04-06T04:56:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18632#p18632</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18632#p18632"/>
		<title type="html"><![CDATA[(!) timer drift -- spun 3 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18632#p18632"><![CDATA[
Look at <a href="http://forum.egghelp.org/viewtopic.php?t=3912&amp;highlight=spun" class="postlink">this</a> topic.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Apr 06, 2003 4:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-04-05T21:46:42-04:00</updated>

		<published>2003-04-05T21:46:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18626#p18626</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18626#p18626"/>
		<title type="html"><![CDATA[(!) timer drift -- spun 3 minutes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18626#p18626"><![CDATA[
Hi,<br>is there any way to findout what's causing this msg? in the partyline<br>(!) timer drift -- spun 3 minutes<br>because i have 2 bots, same version, same scripts<br>one bot is fine, but 2nd shows this msgs in the partyline.<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Sat Apr 05, 2003 9:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
