Author Topic: DeepBot stops responding  (Read 4158 times)

0 Members and 1 Guest are viewing this topic.

DuncanKneeDeep

  • Youngling
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Derpanite
DeepBot stops responding
« on: August 04, 2014, 12:59:05 AM »
Since the latest update Deepbot stops responding at random intervals. I can force this to happen by editing a user, it then hangs when "save" is clicked.

I believe this issue is something to do with the user database being accessed however re-installing the bot and using any of my user database backups did not work, my cpu usage has never gone above 2% regardless of these issues and deepbot has maxed out at using 6% of my RAM.

Dante557

  • Advisor
  • Councilor
  • **
  • Posts: 555
  • Karma: +26/-0
  • Sometimes Helpful, Sometimes Not :D
    • View Profile
    • My Twitch Page
  • Twitch Name: Dante557
Re: DeepBot stops responding
« Reply #1 on: August 05, 2014, 07:21:45 AM »
When this happens again, could you upload your errorlog? You can find this file in the "logs" file in the location where you have Deepbot.
If you need to get through to me you can try to contact me on Twitter @ http://www.twitter.com/dante556

DuncanKneeDeep

  • Youngling
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Derpanite
Re: DeepBot stops responding
« Reply #2 on: August 06, 2014, 10:30:13 PM »
There is no error log for this issue.

I've given up and installed an older version of the bot. It's running perfectly now.

Dante557

  • Advisor
  • Councilor
  • **
  • Posts: 555
  • Karma: +26/-0
  • Sometimes Helpful, Sometimes Not :D
    • View Profile
    • My Twitch Page
  • Twitch Name: Dante557
Re: DeepBot stops responding
« Reply #3 on: August 06, 2014, 11:49:29 PM »
Sorry to hear that. Which version have you installed? It could be features that have been added or changed since that version have made the program unstable on your system. I am noticing a lot more topics popping up of this nature and just trying to pinpoint where the problem stems from

Thanks,
Dante557
If you need to get through to me you can try to contact me on Twitter @ http://www.twitter.com/dante556

kyroskoh

  • Padawan
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
  • Twitch Name: kyroskoh
Re: DeepBot stops responding
« Reply #4 on: August 11, 2014, 10:24:35 AM »
I have encountered this problem when the user DB has over 25k.

DuncanKneeDeep

  • Youngling
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Derpanite
Re: DeepBot stops responding
« Reply #5 on: August 12, 2014, 07:54:54 AM »
It started happening again. I think it is to do with the user DB size as I have over 50k people in there now

DuncanKneeDeep

  • Youngling
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Derpanite
Re: DeepBot stops responding
« Reply #6 on: August 13, 2014, 01:29:48 AM »
The issue is definitely the size of the user database. Is there a way to purge all the people below a certain rank from my database? This would sort the issue for now.

I worked out that the DB was the issue by reinstalling the bot and running it without the old database, it ran perfectly. I then put my old database in and it caused the crashes.

I have 51k+ people in my DB which may be the source of this problem.

Dante557

  • Advisor
  • Councilor
  • **
  • Posts: 555
  • Karma: +26/-0
  • Sometimes Helpful, Sometimes Not :D
    • View Profile
    • My Twitch Page
  • Twitch Name: Dante557
Re: DeepBot stops responding
« Reply #7 on: August 13, 2014, 09:41:35 AM »
Hmm, interesting. This obviously could become a problem for users of Deepbot in the long term if this is actually the case. I'll be sure to inform Experts of that.

To my knowledge there isn't a way to purge users depending on their rank. The only way I currently knowing of would be to purge the whole database and let it reconstruct itself by grabbing your followers from the API. This of course would completely remove everyone's points which is far from ideal. Possible feature to suggest perhaps?

Either way if the amount of users in the database is the problem this will cause real problems down the line. By that point it's also a HUGE filesize as well which won't help with Hard drive space.

Thanks,
Dante557


If you need to get through to me you can try to contact me on Twitter @ http://www.twitter.com/dante556

ExpertsOnline

  • Creator
  • Councilor
  • *****
  • Posts: 2656
  • Karma: +289/-24
    • View Profile
  • Twitch Name: expertsonline
Re: DeepBot stops responding
« Reply #8 on: August 13, 2014, 11:25:00 AM »
I do not believe the size of the user database is the issue. There are a number streams with over a half a million users and some with even over a million.

Could you email me your database files to deepbot@deep.sg

Alternatively, if you have time, we could try debugging over teamviewer and see if we can get to the bottom of the issue.

Regards,
Experts

DuncanKneeDeep

  • Youngling
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Derpanite
Re: DeepBot stops responding
« Reply #9 on: August 13, 2014, 01:18:52 PM »
I emailed the files to you. If you are unable to remedy the problem I'd be happy to de-bug over teamviewer. Thank you for your help.

DuncanKneeDeep

  • Youngling
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Derpanite
Re: DeepBot stops responding
« Reply #10 on: August 14, 2014, 05:54:05 AM »
Any luck with this issue? I really would like to get back to using DeepBot.

ExpertsOnline

  • Creator
  • Councilor
  • *****
  • Posts: 2656
  • Karma: +289/-24
    • View Profile
  • Twitch Name: expertsonline
Re: DeepBot stops responding
« Reply #11 on: August 15, 2014, 12:00:55 AM »
Please try out the latest version and see if you still face the issue.

DuncanKneeDeep

  • Youngling
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Derpanite
Re: DeepBot stops responding
« Reply #12 on: August 15, 2014, 10:10:14 PM »
It seems to be working, thanks for the help.