Page 1 of 1

machines fails to come back online after reboot

Posted: Thu Jan 23, 2020 3:28 pm
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

Re: machines fails to come back online after reboot

Posted: Thu Jan 23, 2020 3:38 pm
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.

Re: machines fails to come back online after reboot

Posted: Thu Jan 23, 2020 4:28 pm
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

Re: machines fails to come back online after reboot

Posted: Thu Jan 23, 2020 4:49 pm
by timurhai

Re: machines fails to come back online after reboot

Posted: Thu Feb 27, 2020 12:43 pm
by timurhai
Hi!
Fixed it on GitHub:
https://github.com/CGRU/cgru/commit/54b ... 1b96d688b5
Will be by default in the next releases.