Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

look at using stopSession for ending gsApplicationTools topaz jobs ... #39

Open
dalehenrich opened this issue Sep 8, 2020 · 1 comment

Comments

@dalehenrich
Copy link
Member

dalehenrich commented Sep 8, 2020

If there are a large number of gsApplicationTools gems running, a simple process kill can stress the shared cache maintenance processes ... using stopSession would put less stress on the system ... if needed continue to use kill to make sure that the topaz process has exited after the session ends

@dalehenrich
Copy link
Member Author

Just a note ... since a seaside session can be sitting idle on a socket accept and all other non-active threads sitting on Delay's (the primary thread is on a 10 second delay and the sigabort thread is on a 30 second delay) we need to use System class>>terminateSession:timeout:, and set the timeout to a time longer than the shortest Delay (10 seconds at the moment) to avoid having the stone go ahead a use a SigTerm to kill the process, which defeats the purpose of using stopSession ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant