Username: Password:

Author Topic: Running from Linux server, gunthy-linx64 keeps restarting  (Read 12277 times)

Offline Robsteady

  • Rookie
  • *
  • Posts: 6
    • View Profile
Running from Linux server, gunthy-linx64 keeps restarting
« on: December 26, 2017, 10:03:47 PM »
I just wanted to find out whether this would create a problem with the operation of the bot and/or if I can find a way to stop this from happening. I notice the log "resets" whenever gunthy restarts and I'm assuming this creates some kind of hiccup in the way the bot is running. I've noticed gunthy does restart on my workstation but it doesn't happen anywhere near as often as it does with my server. I'm running the "remote" instance on the lowest tier DigitalOcean droplet, would it be worthwhile to upgrade my droplet so there's some more breathing room in terms of RAM and CPU?

Offline sloaleks

  • Contributor
  • **
  • Posts: 610
    • View Profile
Re: Running from Linux server, gunthy-linx64 keeps restarting
« Reply #1 on: December 27, 2017, 07:37:21 AM »
IDK, I run a single instance ofgunbot on 20/+ pairs on a single core, 2 GB RAM and a small SSD. Never see more 900 MB of RAM in use, processor use is negligible.

Offline Robsteady

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Running from Linux server, gunthy-linx64 keeps restarting
« Reply #2 on: December 27, 2017, 12:31:03 PM »
Yeah, processor use seems fine, but I do have 2 wordpress instances running on the same VPS so RAM is down to 80-100 mb available. I am curious if this is what's causing the issue since it would be nice to be able to access my bot remotely through a browser as opposed to having to use teamviewer or something like that.

Offline sloaleks

  • Contributor
  • **
  • Posts: 610
    • View Profile
Re: Running from Linux server, gunthy-linx64 keeps restarting
« Reply #3 on: December 27, 2017, 04:01:09 PM »
gunbot uses RAM like a pretty greedy malware, in my case 180 MB or thereabouts of RAM.

Offline Robsteady

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Running from Linux server, gunthy-linx64 keeps restarting
« Reply #4 on: December 27, 2017, 04:14:44 PM »
Okay, I resized my DO droplet to one with more memory so I seem to have fixed the restarting issue, but now I'm trying to set gunthy-gui-linx64 to run as a system service and I'm getting the "Empty Logs" message. If I run gunthy-gui-linx64 manually with my user account the logs display correctly, and I've tried deleting err.log and out.log but I still get the empty logs message when running as a service. I was trying to get the service to run as my user but my limitations in Linux knowledge are starting to show themselves.

Any further help would be greatly appreciated.