Starting with SAS Enterprise Guide 8.2, integration with SAS Viya 3.5 was introduced. See SAS Enterprise Guide: Welcome to SAS Viya? for additional details.
To prevent idle disconnects from occurring, you can set the KEEPALIVE option within the spawner.sh file. This enables you to set time-span packets to be sent to the SAS Enterprise Guide, which prevents firewalls from viewing the connections as inactive. Complete these steps:
- Make a backup copy of the /opt/sas/viya/config/etc/spawner/default/spawner.sh file.
- Add the following line to the Object Server Definition located in the spawner.sh file:
sasobjectserverparms: keepalive=<value in seconds>

- Restart the spawner service:
sudo systemctl restart sas-viya-spawner-default - After restarting the spawner, the new /opt/sas/viya/config/etc/spawner/default/spawner.cfg file should contain the KEEPALIVE parameter to be set on the workspace server:
