[exim] Exim 4.95: growth kern.openfiles

Top Page
Delete this message
Reply to this message
Author: Mikhail Golub
Date:  
To: exim-users
Subject: [exim] Exim 4.95: growth kern.openfiles
Hi.

Exim 4.95 running on FreeBSD 12.3
Growing gradually kern.openfiles

# exim -bV
Exim version 4.95 #1 (FreeBSD 12.3) built 11-Jan-2022 08:36:14
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007
- 2020
Probably Berkeley DB version 1.8x (native mode)
Support for: iconv() use_setclassresources Expand_dlfunc OpenSSL
TLS_resume Content_Scanning DKIM DMARC PIPE_CONNECT
Experimental_Queue_Ramp SPF SRS TCP_Fast_Open Experimental_ARC

8418 - pid of exim main process.
# ps ax | grep exim
  8418  -  Ss     2:49,48 /usr/local/sbin/exim -bd -q5m



# fstat -p 8418
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
mailnull exim        8418 text /        1123592 -rwsr-xr-x  1339784  r
mailnull exim        8418   wd /        401303 drwxr-x---     512  r
mailnull exim        8418 root /             2 drwxr-xr-x    1024  r
mailnull exim        8418    0
mailnull exim        8418    1 /dev         16 crw-rw-rw-    null rw
mailnull exim        8418    2 /dev         16 crw-rw-rw-    null rw
mailnull exim        8418    3* local dgram fffff80003ec0600
mailnull exim        8418    4* internet stream tcp fffff800183a97b0
mailnull exim        8418    5 /        1457089 drwxr-xr-x     512  r
mailnull exim        8418    6 /        1446342 -rw-r--r--    5593  r
mailnull exim        8418    7 /        1457089 drwxr-xr-x     512  r
mailnull exim        8418    8 /        1446340 -rw-r--r--    1675  r
mailnull exim        8418    9 /        722335 drwxr-xr-x     512  r
mailnull exim        8418   10 /        2327639 drwxr-xr-x     512  r
mailnull exim        8418   11 /        2327640 -rw-r--r--  710164  r
mailnull exim        8418   12 /        722335 drwxr-xr-x     512  r
mailnull exim        8418   13 /        2327639 drwxr-xr-x     512  r
mailnull exim        8418   14 /        2327640 -rw-r--r--  710164  r
mailnull exim        8418   15 /        722335 drwxr-xr-x     512  r
mailnull exim        8418   16 /        2327639 drwxr-xr-x     512  r
mailnull exim        8418   17 /        2327640 -rw-r--r--  710164  r
mailnull exim        8418   18 /        722335 drwxr-xr-x     512  r
mailnull exim        8418   19 /        2327639 drwxr-xr-x     512  r
mailnull exim        8418   20 /        2327639 drwxr-xr-x     512  r
mailnull exim        8418   21 /        2327639 drwxr-xr-x     512  r
...


inum 2327639 - /usr/local/share/certs/

# fstat -p 8418 | grep 2327639 -c
2754

It's a bug?

Previous version 4.94.2 works fine.

P.S. output from lsof (installed from ports)
COMMAND     PID     USER   FD     TYPE                DEVICE 
SIZE/OFF    NODE NAME
...
exim      23760 mailnull 2852r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs
exim      23760 mailnull 2853r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs
exim      23760 mailnull 2854r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs
exim      23760 mailnull 2855r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs
exim      23760 mailnull 2856r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs
exim      23760 mailnull 2857r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs
exim      23760 mailnull 2858r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs
exim      23760 mailnull 2859r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs
exim      23760 mailnull 2860r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs
exim      23760 mailnull 2861r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs
exim      23760 mailnull 2862r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs
exim      23760 mailnull 2863r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs
exim      23760 mailnull 2864r    VDIR                  0,85 
    512 2327639 /usr/local/share/certs