| View previous topic :: View next topic |
| Author |
Message |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Wed Mar 15, 2006 2:20 pm Post subject: Bot dies after 2/3 days? |
|
|
Ok im confused here trying to find out what my problem is... Some of my bots been dropping at random fully ending the process... They'll stay up 2 to 3 days then die completly..
So I look in eggdrop log and it only shows this:
(+tnl 100) : [m/3 o/3 h/0 v/0 n/0 b/23 e/0 I/0]
[11:50] Last message repeated 3 time(s).
Then I sat in the room waiting to see what commands were causing it.... I saw 4 bots die after a chatter tried checking their weather but the weather script in fact works since people were using it before them.. so I start the bot back up, check weather it's fine.... Then I descided to remove the weather script to test that... BUT nope the bot left after someone asked the bot what water is? (ALICE Talking bot script)
Any idea where my problem is? perhaps I missed something?
Thanks |
|
| Back to top |
|
 |
deadite66 Halfop
Joined: 30 May 2005 Posts: 74 Location: Great Yarmouth, UK
|
Posted: Wed Mar 15, 2006 3:47 pm Post subject: |
|
|
have you tried telnetting to one of the bots?
you tend to get more info about script errors that way. _________________ <- tcl newb |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Wed Mar 15, 2006 4:13 pm Post subject: |
|
|
Yeah, I watched in telnet and no errors showed Is there a command to type to check things?? |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Wed Mar 15, 2006 7:52 pm Post subject: |
|
|
| Also since this problem started, my eggdrop creates the file Botname.exe.stackdump ?? |
|
| Back to top |
|
 |
zjf Voice
Joined: 16 Mar 2006 Posts: 1
|
Posted: Thu Mar 16, 2006 12:54 am Post subject: Hrm. |
|
|
I've had a similar problem in FreeBSD 5.4-RELEASE, except mine runs for under an hour before either 1) segfaulting, 2) using a TON of RAM (so much that the computer disk thrashes), and pinging out on the server it's connected to.
it just started recently, and I have done everything I can think of: recompile from scratch, re install libraries, rerun portupgrade, etc. I can't for the life of me get this working right.
After telnetting to the bot, I get this, right before he pings out:
[23:14] *** FAILED MALLOC ./userrec.c (545) (13): Programming error
[23:14] * Memory allocation failed
which makes sense because there's no more RAM to allocate. the bot maxes out both RAM and swap, then times out because it can't allocate more.
If I didn't know any better, I'd say this bot is trying to take over the world, one computer at a time >_< |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Thu Mar 16, 2006 5:56 am Post subject: |
|
|
get rid of memory leaking scripts/modules or update them to a fixed version. we cannot fix a leaking alice module or similar. _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Sun Mar 19, 2006 6:09 am Post subject: |
|
|
Heres what I found in the DEBUG file:
| Code: |
tclhash.c/684, [Tcl proc: alice:pub_query, param: $_pubm1 $_pubm2 $_pubm3 $_pubm4 $_pubm5]
tclhash.c/684, [Tcl proc: mess_join, param: $_pubm1 $_pubm2 $_pubm3 $_pubm4 $_pubm5]
tclhash.c/684, [Tcl proc: incith::google::public_message, param: $_pubm1 $_pubm2 $_pubm3 $_pubm4 $_pubm5]
tclhash.c/684, [Tcl proc: *raw:PRIVMSG, param: $_raw1 $_raw2 $_raw3]
|
Since im no expert here, can anyone tell me whats wrong here or are these bugs I need to send eggheads? I don't want to send anything unless I know for sure like is it the scripts fault?
It's kinda weird tho both my bots have same things loaded on it and this problem only happens on one bot...
cache |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Mar 19, 2006 8:20 am Post subject: |
|
|
This appears to be a problem regarding that AI script/module. Unload it, restart your bot and let it run to see if it crashes again. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Wed Mar 22, 2006 10:43 pm Post subject: |
|
|
K Alchera, done that, now I get this error in putty:
[14:46] (!) timer drift -- spun 5 minutes
I believe that error is telling me to get more memory. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Mar 22, 2006 11:59 pm Post subject: |
|
|
Do a forum search; that subject has been covered. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Thu Mar 23, 2006 12:22 am Post subject: |
|
|
Yep I did a search and read that it can be caused by a busy pc so i'll try getting more memory to see if it helps, I have 1GB memory and only 750mb is being used - so I assume it wants more.  |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu Mar 23, 2006 12:36 am Post subject: |
|
|
eggdrop needs very little memory under normal circumstances especially on a *nix system. If I were you I'd be looking at scripts/modules the bot is loading or what may be running in the background that could be causing memory leaks etc. A system with 1Gb of RAM really is more than adequate. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Thu Mar 23, 2006 1:06 am Post subject: |
|
|
| I'm using windrop on windows - I know CPU jumps to 100% when you check mail or browse around with the mouse then it drops real fast so maybe this might be it. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu Mar 23, 2006 3:06 am Post subject: |
|
|
| cache wrote: | | I'm using windrop on windows - I know CPU jumps to 100% when you check mail or browse around with the mouse then it drops real fast so maybe this might be it. |
I run Windrop also (Windows 2003 Enterprise Edition - 1Gb RAM) and have never had any problems so far. In Task Manager my eggdrop.exe is shown as using 6,424 K. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Thu Mar 23, 2006 4:32 am Post subject: |
|
|
LOL well if it helps any im running 30 eggdrop bots at 18,660k each  |
|
| Back to top |
|
 |
|