dagent open file limit



  • Hi,

    dagen reports:

    Fri Nov 8 12:33:35 2019: [error ] WARNING: setrlimit(RLIMIT_NOFILE, 8192) failed: Operation not permitted. You will only be able to connect up to 4096 sockets. Either start the process as root, or increase user limits for open file descriptors.

    I’ve tried to increase “file-max” and values in /etc/security/limits.conf without success.

    How to fix this?

    TIA



  • try this, run :
    systemctl edit kopano-dagent
    that will create the file /etc/systemd/system/kopano-dagent.service.d/override.conf

    and add:

    [Service]
    LimitNOFILE=8192:16384
    

    systemctl daemon-reload
    systemctl restart kopano-dagent



  • Thanks, helped for most mailboxes but one public folder. In this folder no mail arrives despite to:

    ==> kopano/dagent.log <==
    Fri Nov  8 13:24:30 2019: [error  ] WARNING: setrlimit(RLIMIT_NOFILE, 8192) failed: Operation not permitted. You will only be able to connect up to 4096 sockets. Either start the process as root, or increase user limits for open file descriptors.
    
    ==> mail.log <==
    
    Nov  8 13:24:30 kopano postfix/pipe[15798]: 442111140E90: to=<xxxx@example.com>, relay=kopano, delay=0.23, delays=0.05/0.01/0/0.17, dsn=2.0.0, status=sent (delivered via kopano service)
    Nov  8 13:24:30 kopano postfix/qmgr[1470]: 442111140E90: removed
    

    Mail to all other public folders gets delivered.


Log in to reply