lkml.org 
[lkml]   [1997]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: File locking problems?
From
Date
Mike Harrelson <mikeh@mailbot.mspring.net> writes:

> I've seen systems here where fcntl(2) locking doesn't seem to work. Pine
> and procmail love corrupting mailboxes on these systems. Procmail is
> compiled with fcntl() locking and dot file locking. Elm uses both fcntl()
> and dot locking (as we have it compiled) and worked fine. When procmail
> was recompiled without dot file locking, Elm started failing too (failed
> means it reported a corrupted mailbox if it checked the mailbox while mail
> was coming in). All of this was on Linux 2.0.x systems using
> libc-5.4.33/37.

I killed a process the other day; the kernel did not release a file
lock it was holding. The process was hung in the SCSI generic driver,
if that matters, kernel 2.0.30 +pre6.

Joe Buehler


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.096 / U:1.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site