Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2020 17:17:26 +0100
From:      Jack Raats <mlist@nlned.nl>
To:        <xtouqh@icloud.com>, <freebsd-questions@freebsd.org>
Subject:   Re: Problems with FreeBSD 12.2-RELEASE
Message-ID:  <A88F1A9E-69AE-456A-AF3F-55DA03DCA74E@nlned.nl>
In-Reply-To: <EF981B8A-A383-47A3-8F7E-7C6A90BD47FD@nlned.nl>
References:  <C9D65EFE-31EC-4A0F-A89F-31AFE487CDA0@nlned.nl> <a94f8ec4-f3fb-a8c0-ecb9-061d839d9d53@icloud.com> <482BCE79-F10C-4D82-9213-283B0111EC71@nlned.nl> <EF981B8A-A383-47A3-8F7E-7C6A90BD47FD@nlned.nl>

index | next in thread | previous in thread | raw e-mail

Starting lsof without parameters is EATING memory until it has no swap page and crashes


Op 29-10-2020 17:13 heeft Jack Raats <mlist@nlned.nl> geschreven:

    Starting lsof gives the following error

    root@one:/var/log # lsof
    lsof: WARNING: compiled for FreeBSD release 12.1-RELEASE-p10; this is 12.2-RELEASE.
    COMMAND     PID     USER   FD     TYPE               DEVICE           SIZE/OFF  NODE NAME

    Jack


    Op 29-10-2020 17:07 heeft Jack Raats <mlist@nlned.nl> geschreven:

        I first started periodic daily
        Then I started top to see what happened
        Lsof took a lot of memory after which it crashed and clamd stopped working.

        /var/log/messages contained a lot of messages

        Oct 29 17:03:08 one kernel: swap_pager_getswapspace(32): failed
        Oct 29 17:03:08 one syslogd: last message repeated 2 times
        Oct 29 17:03:08 one kernel: swap_pager_getswapspace(27): failed
        Oct 29 17:03:09 one kernel: swap_pager_getswapspace(32): failed
        Oct 29 17:03:09 one syslogd: last message repeated 5 times
        Oct 29 17:03:09 one kernel: swap_pager_getswapspace(13): failed
        Oct 29 17:03:09 one kernel: swap_pager_getswapspace(32): failed
        Oct 29 17:03:13 one syslogd: last message repeated 5 times
        Oct 29 17:03:13 one kernel: pid 59260 (lsof), jid 0, uid 0, was killed: out of swap space
        Oct 29 17:03:13 one kernel: swap_pager_getswapspace(32): failed
        Oct 29 17:03:15 one kernel: pid 15412 (clamd), jid 0, uid 106, was killed: out of swap space

        I hope this can help.

        Jack


        Op 29-10-2020 16:36 heeft xtouqh--- via freebsd-questions <owner-freebsd-questions@freebsd.org namens freebsd-questions@freebsd.org> geschreven:

            Jack Raats wrote:
            > Hi,
            > 
            >   
            > 
            > I’ve the following problem after updating to FreeBSD 12.2-RELEASE.
            > 
            >   
            > 
            > Old situation:
            > 
            > FreeBSD 12.1-RELEASE-p10
            > 
            > Postfix, dovecot, opendkim, opendmarc, clamav-milter and clamd.
            > 
            > Mail was perfectly working
            > 
            >   
            > 
            > New situation:
            > 
            > FreeBSD 12.2-RELEASE, the rest was the same.
            > 
            > Every night after 03:00 am the clamav daemon stops working so postfix stops working (even dovecot)

            Define "stops working", does it crash, exit, or simply stop responding? 
              Anything in system or clamav logs?

            > Strange, but I know that after 03:00 am periodic daily runs.
            > 
            >   
            > 
            > Can anyone give me a clue what to change or where to look for to solve this mystery.
            _______________________________________________
            freebsd-questions@freebsd.org mailing list
            https://lists.freebsd.org/mailman/listinfo/freebsd-questions
            To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A88F1A9E-69AE-456A-AF3F-55DA03DCA74E>