Bug #112

Remove conversational queues after client/server dies

Added by Madars Vitolins 8 months ago. Updated 6 months ago.

Status:ClosedStart date:04/03/2017
Priority:HighDue date:
Assignee:Madars Vitolins% Done:

0%

Category:-
Target version:-

Description

The sanity checks and action shall be improved for ndrxd to remove any dead conversational queues.
This might include seek for queues where given party is involved.

Needs to do overall sanity tests so that we clean up queues as max as possible when processes dies.

History

#1 Updated by Madars Vitolins 8 months ago

At this stage we are missing: phonesv,3000 which is client on node 19. But looks like queues are not remove, thus ndrxd could kill them:

$ cd  /dev/mqueue
$ ls -l
total 0
-rw------- 1 mvitolin mvitolin 80 apr  4 00:44 tela,cnv,c,srv,phonesv,3000,25750,19,1
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,cnv,c,srv,phonesv,3000,25750,19,2
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,cnv,s,srv,phonesv,3000,25750,19,1,srv,micsv,2000,25748,19
-rw------- 1 mvitolin mvitolin 80 apr  4 00:44 tela,cnv,s,srv,phonesv,3000,25750,19,2,srv,liveplaysv,2500,25749,19
-rw------- 1 mvitolin mvitolin 80 apr  4 00:44 tela,srv,admin,cconfsrv,1,25745
-rw------- 1 mvitolin mvitolin 80 apr  4 00:44 tela,srv,admin,cconfsrv,2,25746
-rw------- 1 mvitolin mvitolin 80 apr  4 00:44 tela,srv,admin,cpmsrv,9999,25755
-rw------- 1 mvitolin mvitolin 80 apr  4 00:44 tela,srv,admin,liveplaysv,2500,25749
-rw------- 1 mvitolin mvitolin 80 apr  4 00:44 tela,srv,admin,micsv,2000,25748
-rw------- 1 mvitolin mvitolin 80 apr  4 00:44 tela,srv,admin,tpbridge,150,25747
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,srv,reply,cconfsrv,1,25745
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,srv,reply,cconfsrv,2,25746
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,srv,reply,cpmsrv,9999,25755
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,srv,reply,liveplaysv,2500,25749
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,srv,reply,micsv,2000,25748
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,srv,reply,tpbridge,150,25747
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,svc,@CCONF
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,svc,@CPMSVC
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,svc,LIVEPLAY19
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,svc,MIC19
-rw------- 1 mvitolin mvitolin 80 apr  4 00:43 tela,svc,@TPBRIDGE013
-rw------- 1 mvitolin mvitolin 80 apr  4 00:44 tela,sys,bg,ndrxd

#2 Updated by Madars Vitolins 8 months ago

  • Description updated (diff)

#3 Updated by Madars Vitolins 7 months ago

Add unit testing for house-keep:

- Remove multi-thread client queues
- Remove multi-threaded server queues
- Remove bridge queues
- Remove service queues
- Remove conversational client/server pair queue
- If removing conversational queues over the bridges and bridge connection is established, then send new command to other ndrxd to clean up particular conversational queue.

#4 Updated by Madars Vitolins 7 months ago

+ implement <respawn> tag for server, so that it is set to "n|N|0", then process is not automatically started by stanity.c

#5 Updated by Madars Vitolins 7 months ago

  • Priority changed from Normal to High

#6 Updated by Madars Vitolins 7 months ago

+ it would be nice if conversational client died, then notify the other end of connection termination.

#7 Updated by Madars Vitolins 6 months ago

  • Status changed from New to Resolved

#9 Updated by Madars Vitolins 6 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF