TIP: Click on subject to list as thread! ANSI
echo: linux_bbs
to: All
from: Robert Couture
date: 2005-02-14 10:50:50
subject: Check for and delete a stale lock file.

Hello!

I am wondering what would be the easiest way to test for and delete a stale
lock file.

Every once and a while, hpt seems to be segfaulting leaving the hpt-lock
file behind.  I would like to test for this and if the file is past a
certain age, delete the file so that mail processing can continue without
intervention.

Any help would be appreciated.

I have not caught exactly what is cause hpt to segfault yet.

Robert.

--- JamNNTPd/Linux v1.0 - w/Mods by Hub2000
* Origin: Hub2000 FTN News Server (1:229/2000)
SEEN-BY: 633/267 270
@PATH: 229/2000 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.