| View previous topic :: View next topic |
| Author |
Message |
Zorb Voice
Joined: 17 Oct 2006 Posts: 22
|
Posted: Tue Jul 24, 2007 2:38 am Post subject: Pinging Out Problem |
|
|
| For some reason it seems that some of my bots get ping timeout when I'm away. Is there any known reasons why an eggdrop may ping out? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Jul 24, 2007 6:24 am Post subject: |
|
|
Could be a problem from the IRC server or from your Eggdrop's ISP. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Jul 24, 2007 9:41 am Post subject: |
|
|
One possibility might be some tcl-script or module that does some heavy data-processing without handing control back to eggdrop.
(Running ie. pisg from withing eggdrop can cause this if you're not careful, and have large logfiles) _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Tue Jul 24, 2007 8:42 pm Post subject: |
|
|
Try using tcl script which pings the server continuously, say with a frequency of say 2-5mins/ping to the server. You can find a pinging script on egghelp's tcl archive.
Also this script with a public trigger can help you check your bots lag:
| Code: |
bind pub - !lagcheck lagcheck
bind raw - 421 laganswer
proc lagcheck {n u h c t} {
set ::laganswer([set ticks [clock clicks -milliseconds]]) $c
putserv "$ticks"
}
proc laganswer {f k t} {
if {[info exists ::laganswer([set ticks [lindex [split $t] 1]])]} {
putserv "PRIVMSG $::laganswer($ticks) :Lag: [expr [clock clicks -milliseconds] - $ticks] ms"
}
}
|
_________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Sat Jul 28, 2007 7:27 pm Post subject: |
|
|
this might be way too obvious, but have you tried using different servers? I know firsthand how lame some server's are, but then with a simple .jump, all is better. _________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
pitbull Voice
Joined: 12 Aug 2007 Posts: 13
|
Posted: Wed Aug 15, 2007 9:52 am Post subject: |
|
|
A friend of mine is having a similar issue with his bot. The bot (v. 1.6.18 ) is running on a home server, I believe it is connected via cable-modem. The server is running Ubuntu. The bot continually pings out (And the timeout is always 260 seconds). The bot times out at least 10-15 times per day. It doesn't seem to have any patterns on how often it disconnects, but is usually every hour or two. However, the bot never disconnects from the botnet, only the IRC server. Also, the owner also runs an IRC client on the same machine, connecting to the same IRC servers the bot uses, and doesn't experience any connectivity issues. He has tried the server ping tcl script, to no avail, and also has the realname variable set. He has tried disabling all TCL scripts, and the bot still times out.. Any ideas?
Thanks! _________________ irc://irc.efnet.net/peakoil |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Aug 15, 2007 10:18 am Post subject: |
|
|
Does he get any "Timer drift -- spun N minutes" messages in his logs? (where N being a positive number) _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
pitbull Voice
Joined: 12 Aug 2007 Posts: 13
|
Posted: Wed Aug 15, 2007 10:31 am Post subject: |
|
|
I don't have access to the logs, but I'll mention this.. What does it mean if it deos have this? _________________ irc://irc.efnet.net/peakoil |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Aug 15, 2007 10:47 am Post subject: |
|
|
It basically means that the eggie was "halted" for several minutes, and thus unable to interact with the irc server. Causes for this might be limited resources on the system (eggdrop got swapped out of memory for some time) or some tcl-script took long time to complete and thus blocked the eggdrop (such as calling "exec pisg" with large logfiles). _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
pitbull Voice
Joined: 12 Aug 2007 Posts: 13
|
Posted: Wed Aug 15, 2007 4:18 pm Post subject: |
|
|
There were no Timer drift lines in the log file... Any other ideas anyone? _________________ irc://irc.efnet.net/peakoil |
|
| Back to top |
|
 |
|