Re: Correct way to stop fetchmail
On Sat, Dec 28, 2024 at 18:56:09 +0100, Roger Price wrote:
> I tried 4 times. then I tried
>
> /etc/init.d/fetchmail stop
>
> but although dead for 6 hours, fetchmail continued to fetch mails.
> So I tried
>
> root@titan ~ ps -ef | grep fetch
> fetchma+ 1264 1 0 Sep25 ? 00:06:33 /usr/bin/fetchmail -f
> /etc/fetchmailrc --pidfile /var/run/fetchmail/fetchmail.pid --syslog
> root@titan ~ kill 1264
That process had been running for three months.(*) It wasn't "dead for 6
hours" at the moment you ran those commands.
(*) Unless of course your system clock is massively wrong.
Reply to: