Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    dagent open file limit

    Kopano Groupware Core
    2
    3
    597
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mahescho
      mahescho last edited by

      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

      1 Reply Last reply Reply Quote 0
      • thctlo
        thctlo last edited by

        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

        1 Reply Last reply Reply Quote 0
        • mahescho
          mahescho last edited by mahescho

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post