This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

(!) timer drift - Bot times out...

Old posts that have not been replied to for several years.
Locked
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

(!) timer drift - Bot times out...

Post by GodOfSuicide »

My bot times out quite often, but allways at xx:?6 o clock.
[21:26] (!) timer drift -- spun 2 minutes
[21:26] -ERROR from server- Closing Link: MyBotNick by myirc-server.domain (Ping timeout)
[21:26] Disconnecting from server.
according to ".bind time" there is no event bound to ?6, and also there isn't a cronjob or anything else...
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

He is lagging & die'ng or something like this..
Once the game is over, the king and the pawn go back in the same box.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This could be a script, using timers to accomplisht he same goal as doing things once per hour.
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

ppslim wrote:This could be a script, using timers to accomplisht he same goal as doing things once per hour.
.bind time doesnt refer to anything at ?6

timertools1.0 (from tcl archive) returns me ~20 timers..

for example :
### 8 ircjunkies_update timer50885
there are 20 lines of same formated timers, all displaying "8 proc_name timernumber"
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Have you checked the ircjunkies_update script?

Code: Select all

proc test {} {
if {[string index [set time [clock format [clock seconds] -format "%M"]] 0] == "0"} { set time [string index $time 1] }
if {$time != "6"} {
timer 1 test
return
}
#rest
timer 1 test
}
The above code, while it is called every min, will only reach "#REST" when it is 6 mins past.

Timers and time binds, don't just have to be called at the preceice time a function takes place.
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

This sounds like some other job running on the box hogging all avaliable resources for a while...
The timer drift message means the eggdrop loop hasn't been run for a while which means the system probably was too busy doing other things to bother with your eggdrop process.
Locked