[Vortex] hang on quit -- "we still didn't received all replies" over and over
Francis Brosnan Blazquez
francis at aspl.es
Mon Apr 7 11:12:55 CEST 2008
> I've improved my app to politely close its open Vortex connections
> when it quits, instead of just dropping them; but now it usually hangs
> if there's an open connection. When this happens Vortex keeps logging
> the following to warnings, about once a second:
> vortex-thread: timeout reached for conditional variable (system call
> pthread_cond_wait finished)
> vortex-channel: we still didn't received all replies for connection=3
> channel=20 (MSG 0 != RPY -1), block until all replies are received
> I've let this run for several minutes but it never shuts up.
> I want to close connections cleanly, but I can't have my app hang on
> quit. How can I get around this?
Check your listener code to see why over the channel 20 a reply to MSG 0
is still pending. With pending replies the Vortex engine must wait for
them before closing (without clearly knowing when those replies will
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.
More information about the Vortex