Mailing List CGatePro@mail.stalker.com Message #106393
From: Jeff Wark <jwark@tbaytel.net>
Subject: Stuck sessions
Date: Thu, 04 May 2017 09:26:06 -0400
To: CGate Mailing List <cgatepro@stalker.com>
X-Mailer: CommuniGate Pro WebUser v6.1.11
Hello.

We appear to have a number of stuck user sessions on one of our back servers.  We could restart the server, but it would be better if we could just get rid of them.  We're running CommuniGate version 6.1.11 on FreeBSD 10.

The Threads monitor page has many entries like this:

VHTTPUser Stream 82646312 opening target session 12 day(s) locked at VSession VHTTPUser Stream-82645460 
VHTTPUser Stream 82652950 opening target session 12 day(s) locked at VSession VHTTPUser Stream-82652573 
VHTTPUser Stream 82652573 applying server rules 1 sec sleeping
VHTTPUser Stream 82645848 opening target session 12 day(s) locked at VSession VHTTPUser Stream-82645460 
VHTTPUser Stream 82645460 applying server rules 1 sec sleeping
VHTTPUser Stream 82646574 opening target session 12 day(s) locked at VSession VHTTPUser Stream-82645460 
VHTTPUser Stream 82646052 opening target session 12 day(s) locked at VSession VHTTPUser Stream-82645460 
VHTTPUser Stream 82645564 opening target session 12 day(s) locked at VSession VHTTPUser Stream-82645460 
VHTTPUser Stream 82646747 opening target session 12 day(s) locked at VSession VHTTPUser Stream-82645460 
VHTTPUser Stream 82652605 opening target session 12 day(s) locked at VSession VHTTPUser Stream-82652573 
VHTTPUser Stream 82653192 opening target session 12 day(s) locked at VSession VHTTPUser Stream-82652573 
VHTTPUser Stream 82653450 opening target session 12 day(s) locked at VSession VHTTPUser Stream-82652573 
VHTTPUser Stream 82653717 opening target session 12 day(s) locked at VSession VHTTPUser Stream-82652573

And the Monitors->Access->HTTPU page looks a little like this:
82645460 [216.211.16.158]:51225 [10.1.1.102]:30737 12 day(s) applying server rules 12 day(s) /Session/958033-zXmodjKbr13zcUQQfH02-aodhhdz/compose.wssp
82645564 [216.211.16.158]:51226 [10.1.1.102]:30898 12 day(s) opening target session 12 day(s) /Session/958033-zXmodjKbr13zcUQQfH02-aodhhdz/mailbox.wssp
82645848 [216.211.16.158]:51228 [10.1.1.102]:31328 12 day(s) opening target session 12 day(s) /Session/958033-zXmodjKbr13zcUQQfH02-aodhhdz/mailbox.wssp
82646052 [216.211.16.158]:51229 [10.1.1.102]:31688 12 day(s) opening target session 12 day(s) /Session/958033-zXmodjKbr13zcUQQfH02-aodhhdz/mailbox.wssp
82646312 [216.211.16.158]:51230 [10.1.1.102]:32142 12 day(s) opening target session 12 day(s) /Session/958033-zXmodjKbr13zcUQQfH02-aodhhdz/mailbox.wssp
82646574 [216.211.16.158]:51231 [10.1.1.102]:32620 12 day(s) opening target session 12 day(s) /Session/958033-zXmodjKbr13zcUQQfH02-aodhhdz/mailbox.wssp
82646747 [216.211.16.158]:51232 [10.1.1.102]:32974 12 day(s) opening target session 12 day(s) /Session/958033-zXmodjKbr13zcUQQfH02-aodhhdz/mailbox.wssp
82652573 [216.211.16.158]:51299 [10.1.1.102]:42768 12 day(s) applying server rules 12 day(s) /Session/958125-ifmvTFCo0BGVKHf1jSHs-aodhhdz/compose.wssp
82652605 [216.211.16.158]:51300 [10.1.1.102]:42798 12 day(s) opening target session 12 day(s) /Session/958125-ifmvTFCo0BGVKHf1jSHs-aodhhdz/mailbox.wssp
82652950 [216.211.16.158]:51301 [10.1.1.102]:43313 12 day(s) opening target session 12 day(s) /Session/958125-ifmvTFCo0BGVKHf1jSHs-aodhhdz/mailbox.wssp
82653192 [216.211.16.158]:51302 [10.1.1.102]:43671 12 day(s) opening target session 12 day(s) /Session/958125-ifmvTFCo0BGVKHf1jSHs-aodhhdz/mailbox.wssp
82653450 [216.211.16.158]:51303 [10.1.1.102]:44102 12 day(s) opening target session 12 day(s) /Session/958125-ifmvTFCo0BGVKHf1jSHs-aodhhdz/mailbox.wssp
82653717 [216.211.16.158]:51304 [10.1.1.102]:44529 12 day(s) opening target session 12 day(s) /Session/958125-ifmvTFCo0BGVKHf1jSHs-aodhhdz/mailbox.wssp

Our sessions have a limit of 12 hours, so 12 days is a bit high.  We also have several other sessions that have been open for between 18 and 20 hours.

Interestingly, we did reboot a front server yesterday at around that time.

When I attempt to use the CLI to kill the account sessions, I just get an 'Invalid Session' error.

Any ideas?
--

Jeff Wark
Tbaytel Internet
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster