Computer using two user slots.

Started by dlocke, July 15, 2024, 09:08:58 AM

Previous topic - Next topic

dlocke

I'm having an issue where a user is using two licenses when connecting to a SimpleCS server  from the one PC.  The first connection uses one user slot and the next one uses a new user slot, every connection after this uses the same slot as the second connection. This results in the same user using 2 licenses on the same PC.

I'm using TCB(27) to check the user slot, this the correct way to check this ?  Also TCB(24) is showing two licenses used. 

 

EVa

When you connect to the server and click the icon in the upper left corner of the window and select 'About PxPlus' in the menu that appears, does it show serial number 799995 or something else ?

dlocke


EVa

This only happens to me when I use different WindX versions (say v12 and v16) on the client PC to connect to the host.  So if the first connection uses WindX v12 and the second (and all following) one(s) use v16, it will consume 2 licenses.

dlocke

I'm only using one version 20.10 on the pc and the server.   I have also tried NTHost and it has the same problem. 

EVa

Are you starting the same shortcut on the client PC multiple times, or are these different shortcuts ?  If these are different, can you show us the target commands ?

dlocke

I'm using the same shortcut and running it multiple time.

Here is my WindX shortcut.
C:\Event\pxp_2023\pxplus.exe *plus\cs\client -arg **.**.**.** ""


Mike King

You should install and use the WindX plugin to connect and not the installed PxPlus as that will cause double user counts.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

dlocke

I'm running the SimpleCS host on a Ubuntu server and I'm using the WindX plugin.   

Mike King

Is it possible you did not router STDIN and STDOUT to /dev/null for the SimpleCS server process?
Alternately are you runnin any other PxPlus processes on the server?
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

dlocke

Here is the little script used to start the CS Host.

#!/bin/bash
 PORT="4093"
 RECON="300"
 cd /pxp
 /pxp/pxplus "*plus/cs/host" -arg "$PORT;recon=$RECON" >/dev/null </dev/null &
 echo $!

I'm killing all pxplus processes before starting the CS host.  I start a WindX connection, I see 1 license being used and the two pxplus processes on the the server.  I start a second WindX connection , I see 2 licenses being used and 3 pxplus processes.  I think this should rule out the background process using a license.