G
George Potemkin
Guest
> Another good idea would be to create a dedicated tool for disconnecting sessions that explains the options and the pros and cons of the internal options as well as the consequences of the external options. I believe it would be enough to have a flag in Usrctl table (let's say a "banishment" flag as an addition to the "usertodie" flag) that will prohibit a user to lock any resources in the shared memory. Also a database should not crash if a dead session was simply waiting for a buffer lock (but the current reaction is "User died during microtransaction"). And finally we could do the same checks with the "banned" sessions as watchdog does for the dead ones. If the "banishment" was successful then it's safe to use kill -9.
Continue reading...
Continue reading...