Date: Mon, 8 May 2000 11:29:04 +0200 (CEST) From: mavetju@chello.nl To: FreeBSD-gnats-submit@freebsd.org Subject: ports/18446: fetchmail doesn't close its sockets properly Message-ID: <20000508092904.5839F1D6@cgmd76206.chello.nl>
next in thread | raw e-mail | index | archive | help
>Number: 18446 >Category: ports >Synopsis: fetchmail doesn't close its sockets properly >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 08 04:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 4.0-RELEASE i386 >Organization: - >Environment: Running FreeBSD-4.0 with fetchmail 5.3.0 from the ports collections >Description: If you run fetchmail in daemon-mode, it will not close its TCP sessions properly. With lsof you will see more and more lines with this: fetchmail 3524 edwin 4u IPv4 0xc808c2e0 0t0 TCP p6.frust.eu.org:1921->smtp.chello.nl:pop3 (CLOSE_WAIT) and later on it will complain about that the tcp-block info isn't available (a friend of me who run fetchmail as root wasn't able to login anymore since fetchmail had eaten all the systems filedescriptors :-) >How-To-Repeat: Install fetchmail 5.3.0 from the ports collections and run it in deamon-mode: fetchmail -d300 [~] edwin@p6>/usr/local/sbin/lsof | grep fetchmail [..] fetchmail 3524 edwin 3u IPv4 0xc808d2e0 0t0 TCP p6.frust.eu.org:1918->relay02.chello.nl:pop3 (CLOSE_WAIT) fetchmail 3524 edwin 4u IPv4 0xc808c2e0 0t0 TCP p6.frust.eu.org:1921->smtp.chello.nl:pop3 (CLOSE_WAIT) fetchmail 3524 edwin 5u IPv4 0xc808db60 0t0 TCP p6.frust.eu.org:1923->smtp.chello.nl:pop3 (CLOSE_WAIT) fetchmail 3524 edwin 6u IPv4 0xc808bd80 0t0 TCP p6.frust.eu.org:1925->relay02.chello.nl:pop3 (CLOSE_WAIT) fetchmail 3524 edwin 7u IPv4 0xc808e720 0t0 TCP p6.frust.eu.org:1927->relay02.chello.nl:pop3 (CLOSE_WAIT) fetchmail 3524 edwin 8u IPv4 0xc808cb60 0t0 TCP p6.frust.eu.org:1929->smtp.chello.nl:pop3 (CLOSE_WAIT) fetchmail 3524 edwin 9u IPv4 0xc808fd80 0t0 TCP p6.frust.eu.org:1931->relay02.chello.nl:pop3 (CLOSE_WAIT) fetchmail 3524 edwin 10u IPv4 0xc808b720 0t0 TCP p6.frust.eu.org:1933->relay02.chello.nl:pop3 (CLOSE_WAIT) fetchmail 3524 edwin 11u IPv4 0xc808e2e0 0t0 TCP p6.frust.eu.org:1935->smtp.chello.nl:pop3 (ESTABLISHED) >Fix: - Run fetchmail from the crontab - Fetchmail 5.3.8 doesn't show these symptons, but is not available from the ports collections. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000508092904.5839F1D6>