BookmarkSubscribeRSS Feed
gra_in_aus
Quartz | Level 8

Hi,

 

Just wondering if there is a setting on SAS Grid Manager or a CLI command that can be scheduled to run to remove idle sessions with in a specific time period, as we are noting that there are some sessions going back a few days.  Also, we want to set our batch to be the highest priority on the grid is there a setting to provide batch all the resources it needs and all others secondary.

 

Many thanks

 

G

1 REPLY 1
gwootton
SAS Super FREQ
Grid Manager is not able to determine if a job is idle or not, only that the process is running. For things like Workspace Servers you can set an inactive client timeout, so the Object Spawner terminates the Workspace Server if it has not run any code within a given time period. This would prevent idle workspace servers from a user starting and connecting with Enterprise Guide and then leaving it running for example. There is a maxClockTIme limit in the Grid configuration that would prevent any jobs from running over that time, but this would kill the job regardless of whether or not it is idle.

You can set priority based on the queue the job is submitted to, so by routing batch jobs to a batch queue with a higher priority than the others would give them priority, but this refers only to which job will be sent to a host for execution first, and does not refer to consumed resources, if other jobs are already consuming all job slots for instance, the batch job would still have to wait for a job slot to open up.

Preemption allows for one job to pause another, so if all the job slots are full it would pause a lower priority job and then use the slot that job was using for instance. Typically though you would not want to preempt interactive sessions (like Workspace Servers) as this would essentially kick users out.

Configuring Queues
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/gridref/n0d1gf0iix0gprn14odmxfw8l662.htm
--
Greg Wootton | Principal Systems Technical Support Engineer

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 509 views
  • 0 likes
  • 2 in conversation