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>

next in thread | previous in thread | raw e-mail | index | archive | help
Starting lsof without parameters is EATING memory until it has no swap page=
 and crashes


=EF=BB=BFOp 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 1=
2.2-RELEASE.
    COMMAND     PID     USER   FD     TYPE               DEVICE           S=
IZE/OFF  NODE NAME

    Jack


    =EF=BB=BFOp 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 kil=
led: 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


        =EF=BB=BFOp 29-10-2020 16:36 heeft xtouqh--- via freebsd-questions <owner=
-freebsd-questions@freebsd.org namens freebsd-questions@freebsd.org> geschre=
ven:

            Jack Raats wrote:
            > Hi,
            >=20
            >  =20
            >=20
            > I=E2=80=99ve the following problem after updating to FreeBSD 12.2-R=
ELEASE.
            >=20
            >  =20
            >=20
            > Old situation:
            >=20
            > FreeBSD 12.1-RELEASE-p10
            >=20
            > Postfix, dovecot, opendkim, opendmarc, clamav-milter and clam=
d.
            >=20
            > Mail was perfectly working
            >=20
            >  =20
            >=20
            > New situation:
            >=20
            > FreeBSD 12.2-RELEASE, the rest was the same.
            >=20
            > 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 res=
ponding?=20
              Anything in system or clamav logs?

            > Strange, but I know that after 03:00 am periodic daily runs.
            >=20
            >  =20
            >=20
            > 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"





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