Prior to APPX Release 3.5, APPX periodically performed a "cleanup" and removed entries from the USAGE file for sessions that no longer existed. This "cleanup" operation was disabled in APPX 3.5 and higher to improve License Server reliability.
The USAGE files ($APPXPATH/0SA/USAGE.*) track numbers of endusers, designers, and users of locked applications currently logged into APPX. APPX still removes a session's entry from the USAGE file if that user exits from APPX normally. If the user does not exit normally, then the entry for that session remains in the USAGE file indefinitely. Jean Neron of CANSYS West developed the following procedure to trim the USAGE file 'on the fly':Since the APPX_LS_GHOSTS variable is set, it will remove all the dead entries in the USAGE file as part of it's start up. It's possible that in between steps 2 and 3, someone else tries to log on to APPX, which will cause the license server to start, but the LS_GHOSTS won't be set in that users environment, so it won't clean the file. If this happens, just repeat 2) and 3) until you start the license server.