Too many users

Fairlight fairlite at fairlite.com
Sat Nov 14 13:28:40 PST 2020


On Thu, Nov 12, 2020 at 09:04:06AM -0500, James Flanagan via Filepro-list
thus spoke:
> According to the developers, one possible cause of the phantom license
> issue is using kill command with the -9 argument.  This is incredibly
> unfortunate because as most unix admins know, most times, it is the
> ???-9??? switch that actually kills what you are trying to kill.

If you actually believe that bullshit, you're not a -decent- *nix admin,
as you obviously have no bloody idea how basic signals work.

You apparently either suck at systems knowledge, at communicating clearly.
Possibly both, but definitely not neither.

> In the event that you want to reset the license count back to 0 (I am not
> aware of any function that will reset only some of the license count, so
> it is an all or nothing consideration), you need to get everyone off the
> system, and then run the following command:
>
> ipcs -m | grep filepro
>
> This will display the shared memory segments for filepro.  Use the ipcrm
> -m command to remove those shared segments, and your license count will
> be reset to 0.  That being said, depending upon time it takes to reboot
> your server hardware, by the time that you get everyone off of the system
> anyway, it may be more efficient to reboot.  But, now at least you can
> reset the license count without a reboot whenever necessary.

You don't actually need everyone off the system in order to do any of
this.  /facepalm

The -only- thing you have to do is make sure no clerk or report
processes are running, and then do the `ipcs -M <shm-key>` command.
It's -M, not -m, by the way.

If you do it while a clerk or report binary is running, it will just flag
the segment for destruction, but that won't take effect until all attached
processes exit and nattch == 0.  Once that condition is met, it will
actually delete it, and then the next one to start up will re-create the
segment.

Some of us actually test what we say, as I just did.

We'll just glaze past the part where nobody who doesn't fundamentally
understand signals should even be let near root...

> Good luck,

If they follow your advice, they'll certainly need it.

Dear God.

m->
-- 
Audio panton, cogito singularis.


More information about the Filepro-list mailing list