egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eggdrop ping

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
mo
Voice


Joined: 01 Apr 2011
Posts: 9

PostPosted: Fri Apr 01, 2011 7:11 pm    Post subject: Eggdrop ping Reply with quote

hey there. I've been trying to figure out why my eggdrop's ping is consitently high. It's usually about 3 secs at all times. Sometimes over.

I've concluded the fault doesn't lie with the shell it's running on because I connect through a bnc on the same shell to the same server and my ping is consistently under 1 second.

I have added a couple tcl addons for the bot but the ping issue existed long before I made any additions.

If anyone can shed some light on this, I'd really appreciate it.
_________________
mo
Back to top
View user's profile Send private message
mo
Voice


Joined: 01 Apr 2011
Posts: 9

PostPosted: Sun Apr 03, 2011 11:23 pm    Post subject: Reply with quote

bumb. maybe in 35 more views someone'll have something to say
_________________
mo
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sat Apr 09, 2011 4:14 pm    Post subject: Reply with quote

Have you bothered to remove ALL tcl scripts you have loaded and see if there's any change? Then load one by one and find the culprit.
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
mo
Voice


Joined: 01 Apr 2011
Posts: 9

PostPosted: Sat Apr 09, 2011 4:17 pm    Post subject: Re: Eggdrop ping Reply with quote

mo wrote:
I have added a couple tcl addons for the bot but the ping issue existed long before I made any additions.


Have you bothered to read my post?
_________________
mo
Back to top
View user's profile Send private message
mo
Voice


Joined: 01 Apr 2011
Posts: 9

PostPosted: Sun Apr 24, 2011 5:00 am    Post subject: Reply with quote

hm
_________________
mo
Back to top
View user's profile Send private message
Trixar_za
Op


Joined: 18 Nov 2009
Posts: 143
Location: South Africa

PostPosted: Sun Apr 24, 2011 3:16 pm    Post subject: Reply with quote

Eh, what did you expect after that response to caeser? You didn't read his post at all. He didn't JUST say unload all of them. He said load them one by one until you find which one was causing the lag.

Some scripts (like those that use bind time for example) keep having an effect even AFTER you remove them from the conf and rehash. The only true way to fix it is to restart the bot. Actually, I remember working on a script where I had to change the bind time several times. I just couldn't work out why it was executing several times. Seems each time I changed the bind time and rehashed, it created ANOTHER bind time.

You also get scripts with errors that aren't noticeable besides them not working, them crashing the bot or causing slow downs. Note the last bit. Other large and process heavy scripts (like Allprotection with bot detection turned on) can also seriously slow down an eggdrop.

You see, you didn't really provide us with much information. Like WHICH version of Eggdrop have you been using, WHICH scripts do you have loaded in it and did you MESS with them? You know, the basics information needed to help people help you. As you can see the cause can be anything and to identify it, we need a lot of information to help figure it out. For you however, caeser's method is the best and fastest way to identify the problem with so little to go on.
_________________
http://www.trixarian.net/Projects
Back to top
View user's profile Send private message Visit poster's website
mo
Voice


Joined: 01 Apr 2011
Posts: 9

PostPosted: Mon Apr 25, 2011 2:54 pm    Post subject: Reply with quote

I'm not sure how to put it any simpler than I already have...

If the problem existed before I added any scripts to the bot, then it is safe to assume that none of the scripts are the culprit. So whether I unload them one by one, all at once, or speak to them nicely as I do it, it will make no difference...

As far as the version is concerned, it's the latest...

Moderator edit: careful with your language.
_________________
mo
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon Apr 25, 2011 3:01 pm    Post subject: Reply with quote

Then this is the time for Occam's Razor. This implies that in a situation, where many variables are used and the accuracy for finding the offending variable becomes indiscernable without assumptions. The simplest answer, is "usually" the correct answer.

So in this situation, the problem would be the shell your bot is on. This is because we "assume" eggdrop is the cause. But the problem cannot exist on eggdrop as you've proven with emotion, the use of cursing, over use of bold, you trying to tell us you are frustrated. Demonstrating to me you're still focusing on the effect, not the cause. The cause of your problem is your shell. The effect is your eggdrop is being denied cpu time/hdd space/ram or a combination of all of this which causes your entire "eggdrop" to experience the ping. This is probably the scenario here. You're welcome. Find a better shell provider.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
mo
Voice


Joined: 01 Apr 2011
Posts: 9

PostPosted: Wed Apr 27, 2011 1:13 am    Post subject: Reply with quote

The shell is fine. Next.
_________________
mo
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Wed Apr 27, 2011 9:41 am    Post subject: Reply with quote

If your bouncer doesn't lag, yet the eggdrop lags without any scripts loaded (at least that's what you first claim) what else could be if not one of the scripts that is loaded? Got any extra modules loaded? I tend to agree with speechles on this:
Quote:

[...]the effect is your eggdrop is being denied cpu time/hdd space/ram or a combination of all of this[...]

if you still say if you unload all scripts the eggdrop still lags.
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Wed Apr 27, 2011 12:01 pm    Post subject: Reply with quote

mo wrote:
The shell is fine. Next.


Lies. Your shell is the cause. A BNC (bouncer) is a split process. You can run two of them on a single process. It isn't resource heavy at all. So yes, a bouncer will stay.

An eggdrop cannot be split as a process. It's resource heavy. It will ping easily on horrible shells.

Find a new shell guy. Eggdrop doesn't like crappy shells. You seem to be defending your crappy provider. Spend your money elsewhere. Get better service. End of line. End of thread.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
thommey
Halfop


Joined: 01 Apr 2008
Posts: 73

PostPosted: Wed Apr 27, 2011 3:59 pm    Post subject: Reply with quote

How did you measure "eggdrop's ping"?
Back to top
View user's profile Send private message
Pixelz
Voice


Joined: 15 Jun 2005
Posts: 24
Location: EFnet

PostPosted: Wed Apr 27, 2011 4:49 pm    Post subject: Reply with quote

Code:
22:46:49 -> [MoBot] PING
22:46:49 [MoBot PING reply]: 0secs


There's clearly something wrong here, but it has nothing to do with your Eggdrop.
_________________
Pixelz @ EFnet, freenode, QuakeNet, Undernet
Back to top
View user's profile Send private message
simple
Voice


Joined: 04 Oct 2009
Posts: 3

PostPosted: Wed Apr 27, 2011 5:08 pm    Post subject: Reply with quote

I blame the Nagle Algorithm.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber