On Wed, 15 Sep 2004, Mark Powell wrote: > On Tue, 14 Sep 2004, Ask Bj�rn Hansen wrote: > > > As Devin said, unlinking the files on ALRM will just hide the problem > > -- so I don't like that. > > Well they need to be unlinked somewhere? Surely no-one likes tmp filling > up with these dropped connections? Or is find ~smtpd/tmp -mtime +1 | xargs > rm -f the preferred solution?
Probably better yet is to unlink the file as soon as it is created, keeping and passing around a file descriptor. That way you don't need to do anything special to have the file deleted on exit. The file is just an anonymous container of data, isn't it? --- Charlie
