collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Bot Crash Question  (Read 4640 times)

0 Members and 1 Guest are viewing this topic.

Offline Haruspex

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Bot Crash Question
« on: April 16, 2009, 09:23:20 pm »
My raidbot died randomly today during an auction.  At the time of the crash the bot received about 10 incoming bids all at the same time.  So I think thats what caused the crash.

Just wondering, is there a way to get the bot to automatically restart if it crashes?

I'm loading the bot on unix in shell.

Thanks

Offline Wizhk

  • BeBot Apprentice
  • ***
  • Posts: 85
  • Karma: +0/-0
Re: Bot Crash Question
« Reply #1 on: April 16, 2009, 10:13:02 pm »
If my bot crashes it does automatically restart. I thought this was pre-set in the bot instructions. Obviously if the bot crashes in a way to exit your command prompt for the bot then I don't think there would be a way to auto-restart.

Wizhk

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bot Crash Question
« Reply #2 on: April 16, 2009, 11:00:39 pm »
Using the StartBot.php to launch the bot instead of directly calling Main.php the bot should automatically restart if it crashes.

I'm most interested in finding the reason for the crash however, and the bot's logs should contain the error it encountered causing the crash. If you where able to post it here or even more preferably submitt it as a bug report it would be most appreciated.
BeBot Founder and Fixer Kingpin

Offline Haruspex

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: Bot Crash Question
« Reply #3 on: April 16, 2009, 11:18:57 pm »
I see no error log :( Bot just died randomly.  And I do run startbot.php not main.php

thanks

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bot Crash Question
« Reply #4 on: April 17, 2009, 01:50:37 am »
Do you have the last few entries prior to the crash? If you want to keep them out of public feel free to PM them to me.

Some random thoughts on the issue would be that the bot didn't actually crash, but the PHP processes (multiple, as there is one for StartBot.php and one for Main.php) being killed by the system.

Depending on if you have a custom php.ini or not, the errors would likely be logged in php's own error log.
BeBot Founder and Fixer Kingpin

Offline Haruspex

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: Bot Crash Question
« Reply #5 on: April 17, 2009, 01:58:10 am »
Are there any specific php config requirements for the bot?

The strange thing is that we've done numerous raids before without the bot processes being killed and also the bot was up for a good 48 hours prior to that.

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 291
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal