At 1:02 PM -0600 10/30/00, Joy wrote:
> I am using a linux box using red hat 5.2, 2.2.5 kernel, qpopper 3.1
> server mode, auto delete, and bulldb, and have a question about pop lock
> files. How long does a .user.pop file stick around after a connection
> has been broken? Is there a setting to change the time that it sticks
> around? I have noticed that a customer was repeatedly trying to get his
> mail (with the longest pop break of 13 minutes) which had a pop lock
> file. After a 14 min break from checking his mail the lock went away.
The .user.lock file should go away when the popper process for that
user exits. If the user's spool is especially large, this may take a
few minutes. If the popper process dies before it can finish
cleaning up, the .user.lock file will stay around. The next popper
process for that user will usurp the lock if it is older than 5 or 15
minutes. (While the lock is in use Qpopper refreshes it every minute
or so, to ensure that it doesn't become stale.)
The .user.pop file should also be removed when the popper process
cleans up and terminates. However, if it stays around, the next
popper process will simply use it (unless the first popper process is
still active).
If you can reproduce a situation where the user disconnects, the
popper process for that user dies, and the .user.lock or .user.pop
files stays around, please let me know.