machines fails to come back online after reboot

General discussions and questions.
Post Reply
keyframe
Posts: 44
Joined: Sat Jan 21, 2017 9:43 pm

machines fails to come back online after reboot

Post by keyframe »

... from the first world problems category ...

I've noticed several of the newer machines reboot faster then they become deregistered from afserver.
When they come back online and attempt to register, they get rejected because afserver hasn't realized that they've rebooted.

There are several timing related fields that could help with this in config_default.json, but i'm not clear which I should be tweaking.

Any tips?

G
--
centOS 8.1, cgru 2.3.1
User avatar
timurhai
Site Admin
Posts: 670
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: machines fails to come back online after reboot

Post by timurhai »

Hi!
This is:
https://github.com/CGRU/cgru/blob/maste ... .json#L129

ps
In our studio we have:
"af_render_zombietime":16,
"af_render_connection_lost_time":20,
"af_monitor_zombietime":16,
"af_watch_connection_lost_time":20,
I should set some lesser default value for everyone in feature releases.

btw
You should not change cgru/afanasy/config_default.json file. Changing this file will make version change more difficult, as this file is changing from release to release.
You should create cgru/config.json and put there only fields that you adjusted.
Timur Hairulin
CGRU 3.1.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).
keyframe
Posts: 44
Joined: Sat Jan 21, 2017 9:43 pm

Re: machines fails to come back online after reboot

Post by keyframe »

Thanks Timur,

Much appreciated. Do any files with the .json extension get loaded? or is it specific to config.json and farm.json?

G
--
centOS 8.1, cgru 2.3.1
User avatar
timurhai
Site Admin
Posts: 670
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: machines fails to come back online after reboot

Post by timurhai »

Timur Hairulin
CGRU 3.1.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).
User avatar
timurhai
Site Admin
Posts: 670
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: machines fails to come back online after reboot

Post by timurhai »

Hi!
Fixed it on GitHub:
https://github.com/CGRU/cgru/commit/54b ... 1b96d688b5
Will be by default in the next releases.
Timur Hairulin
CGRU 3.1.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).
Post Reply