Problems with FreeBSD 12.2-RELEASE

Jack Raats mlist at nlned.nl
Thu Oct 29 16:17:30 UTC 2020


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 at nlned.nl> geschreven:

    Starting lsof gives the following error

    root at 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 at 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 at freebsd.org namens freebsd-questions at 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 at freebsd.org mailing list
            https://lists.freebsd.org/mailman/listinfo/freebsd-questions
            To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"




More information about the freebsd-questions mailing list