[Glass] stale lock files: best practice?
Dale Henrichs via Glass
glass at lists.gemtalksystems.com
Thu Feb 25 14:14:39 PST 2016
In addition to Richard's comments here are a few more comments from
folks here at GemTalk Systems:
- I like deleting everything in the directory on operating system
startup.
- A live stone, shrpcmonitor or netldi will recreate it's .LCK
file if it is deleted by accident. There could be a small delay,
so some logins could fail for a few seconds ...
Dale
On 02/25/2016 10:58 AM, Johan Brichau via Glass wrote:
> Hi there,
>
> On a server crash and subsequent reboot, it may happen the stone does not want to start because of stale lock files.
>
> I want to avoid this manual action of removing stale lock files and I am wondering what the best practice is.
>
> Is it OK to remove the lock files in a system boot script?
> Since I’m using monit I may also try to add to the stone start script?
> What would happen if you remove lock files for a running stone?
>
> What are others doing?
>
> cheers
> Johan
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
More information about the Glass
mailing list