Usage Note 68449: Prevent idle SAS® Enterprise Guide® sessions from disconnecting from SAS® Viya® workspace servers
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:

Operating System and Release Information
| SAS System | SAS Viya | Linux for x64 | 3.5 | | Viya | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Date Modified: | 2022-04-28 15:24:51 |
| Date Created: | 2021-09-29 15:37:51 |