| View previous topic :: View next topic |
| Author |
Message |
GodOfSuicide Master

Joined: 17 Jun 2002 Posts: 463 Location: Austria
|
Posted: Thu Mar 13, 2003 4:39 pm Post subject: (!) timer drift - Bot times out... |
|
|
My bot times out quite often, but allways at xx:?6 o clock.
| Quote: |
[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... |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Thu Mar 13, 2003 5:07 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
ppslim Revered One
Joined: 23 Sep 2001 Posts: 3914 Location: Liverpool, England
|
|
| Back to top |
|
 |
GodOfSuicide Master

Joined: 17 Jun 2002 Posts: 463 Location: Austria
|
Posted: Thu Mar 13, 2003 5:53 pm Post subject: |
|
|
| 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 :
| Quote: |
### 8 ircjunkies_update timer50885
|
there are 20 lines of same formated timers, all displaying "8 proc_name timernumber" |
|
| Back to top |
|
 |
ppslim Revered One
Joined: 23 Sep 2001 Posts: 3914 Location: Liverpool, England
|
Posted: Thu Mar 13, 2003 7:52 pm Post subject: |
|
|
Have you checked the ircjunkies_update script?
| Code: |
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. _________________ PlusNet Supported Customer - Low cost UK ISP services |
|
| Back to top |
|
 |
user

Joined: 18 Mar 2003 Posts: 1452 Location: Norway
|
Posted: Wed Mar 19, 2003 6:43 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|