Desktop productivity for business analysts and programmers

Disabling Concurrent Logon Sessions on EG

Reply
Super Contributor
Posts: 395

Disabling Concurrent Logon Sessions on EG

The link below has the instruction for disabling Concurrent Logon Sessions for Web Applications. Is it possible to do the same for EG? If so, is there any link or document related to it?


SAS(R) 9.3 Intelligence Platform: Middle-Tier Administration Guide, Third Edition

Super Contributor
Posts: 395

Re: Disabling Concurrent Logon Sessions on EG

Does anybody have knowledge about this question ?

Super User
Posts: 7,444

Re: Disabling Concurrent Logon Sessions on EG

I have customized the startup script that is called by the spawner when a workspace session is launched.

(/...../WorkspaceServer_usermods.sh)

It checks for similar processes run by the same user, and if a certain number of lines is exceeded, terminates without starting SAS.

See here:

LIMIT=4

COUNT=`ps -ef|grep bridge|grep spawned|grep $USER|wc -l`

if [[ $COUNT -gt $LIMIT ]]

then

  #document the fact in the user's home directory in a log file

  date >> $HOME/.limit.log

  exit 1

fi

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Community Manager
Posts: 2,889

Re: Disabling Concurrent Logon Sessions on EG

Nice solution!

Valued Guide
Posts: 3,208

Re: Disabling Concurrent Logon Sessions on EG

When you can get your hands on the EGUIDE profile.... 51225 - How to set the number of parallel processes that SAS® Enterprise Guide® can execute

Would advice Kurts approach . As I see Chris is a liking that one also I am getting hope this kind of approaches are getting accepted by SAS (often being blocked). 

---->-- ja karman --<-----
Ask a Question
Discussion stats
  • 4 replies
  • 567 views
  • 3 likes
  • 4 in conversation