none
HPC session keeps running after application is killed RRS feed

  • Question

  • Hi,

    Descriptiion:

    I'm running a SOA Service(basic service - print and sleep), normal session(not shared); I've set the clientIdleTimeout and the sessionIdleTimeout  to 10 seconds.

    For testing I run only on 3 cores.

    I send 500 tasks to the broker and then call EndRequests().

    Problem:

      If after I call EndRequests I kill my application from the task manager, the timeouts only kick in after the grid finished processing everything.

    Question:

    How can I trigger the session to close if the client is "dead", before actually finishing the entire processing?

    Does anyone have any ideas?

    Thank you,

    -George

    Tuesday, July 23, 2013 4:16 PM

All replies

  • Hi George,

    You should call Close() or Dispose() method on your session object.

    Monday, April 7, 2014 5:36 PM
  • Hi George,

    You should call Close() or Dispose() method on your session object.

    Hi,

    Well, that's exactly my problem: how can I call Close or Dispose if my application crashed or got killed?

    I was looking for a mechanism that would detect that the client cannot be reached.

    -George

    Monday, February 9, 2015 12:09 PM