Project

General

Profile

Bug #991

stall and apparent deadlock between write in stopProcess and writeNormal threads

Added by Mike Stults over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Start date:
07/09/2018
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

while WebServiceShell is writing data, a timer thread is operating that can stop the data writing thread if max time is exceeded. In the stall observed, the timer was tripped and tried to write an error notification to the output data stream. This write was locked out by the data writing thread, but since data writing thread could not finish its operation and release its lock on output data stream, the application became stalled.

History

#1 Updated by Mike Stults over 5 years ago

  • Resolution set to Fixed

Added an ExecutorService to stop the stopProcess write if needed, and continue with the kill process.

git commit m "add ExecutorService to give the ability to set a time limit on stopProcess, if it blocks, timeout and continute with killit"
[master 90ee649] add ExecutorService to give the ability to set a time limit on stopProcess, if it blocks, timeout and continute with killit
3 files changed, 50 insertions(+), 13 deletions(
)

Also available in: Atom PDF