How to keep roborumble running forever

Jump to navigation Jump to search

How to keep roborumble running forever

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

 

Return to Thread:User talk:Beaming/How to keep roborumble running forever.

Funny thing that I don't do anything special. I just run the clients on my own computers. They all currently have Debian stable (stretch) linux distribution with openjdk-8 java. The robocode is installed manually in my home folder.

I run clients in the 'screen' sessions, so if I get disconnected the session survives. From time to time, I restart it manually, mostly for selfish reason of a quicker bot list upadate. But the current run is almost 100 days straight without interruption. My machines have 4 to 6 cores, so I just do normal office load (browsing, youtube, short term calculations) on them as well.

One more thing. I just checked that I client consumes about 4GB of memory (including virtual one) after that 100 days.

I would suspect that VPS shares you CPU with other virtual OSes and kills CPU consuming process forcefully.

For many years that I run robocode clients, I never had any problem with sporadic crashes. The restart happens only if my home looses power and UPS runs dry.

Beaming (talk)16:08, 3 April 2018

Thanks for your vital information! It seems that it is peak memory that kills my JVM in long run. killed by VPS may be another reason. I would try running the client with computers in my lab then ;)

Xor (talk)02:04, 4 April 2018