Homepage › Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Auto-bouncing threads › Reply To: Auto-bouncing threads
We also ran into some problems with a couple of our connecitons where they get ‘clogged up’ ‘temporary but semi-permanent fix’
An alert was setup to watch the thread and to call an external script when triggered.
The script then uses the hcicmd to stop and start the thread.
We created a generic
$1 == Process Name
$2 == Thread Name
#; stop the thread
hcicmd -p $1 -c “$2 pstop”
#; Set for specific timespan but could be changed
#; to watch and wait for the thread to go down before
#; bringing it back up again
sleep 30
#; start the thread
hcicmd -p $1 -c “$2 pstart”