From: Dieter B. <pr...@bl...> - 2025-07-07 07:54:53
|
Hello Benny, thank you for your answer! On Fri, Jul 04, Benny Pedersen via Proftp-user wrote: > Dieter Bloms via Proftp-user skrev den 2025-07-04 12:54: > > > > Then use "pkill -f '^proftpd: .* IDLE$”' to kill all IDLE sessions and > > then terminate the master process. > > if this works its a bug, master process should not allow hanging process to > exists, and i belive no one would not talk to the ctrl tool what to do > > i just have expirense from dovecot and postfix, when master is stopped, > hopefully proftpd is not diffrent :) Maybe I didn't express myself clearly. I have two proftpd instances behind a load balancer. If I want to restart the container with a new OCI image, then active uploads/downloads should not be cancelled. However, active sessions in IDLE mode (users are logged in, but not doing anything) should be terminated gradually so that only the master process is still running. As proftpd no longer allows new logins (ftpshut), it has run empty and can then be started with a new OCI image. Technically it works quite well. One problem is that during the transfer of a large file, the process name of the instance repeatedly has IDLE in its name, although data is definitely being actively transferred here. As a result, I would then cancel this active transfer and have an incorrect, incomplete file. -- Regards Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the From field. |