Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » DNS socket: socket limit reached
  •  
jonnybrad2001

Messages: 1
Karma: 0
Send a private message to this user
Whenever we try and send a larger mailing run (like 1000+), our Kerio 6.7 mail server stops accepting IMAP requests from clients.

Normally this has been fixed by giving the machine a reboot, but would like to fix it properly. Checked the logs when it stops we get repeated error messages of "DNS socket: socket limit reached." After the reboot the server webmail/IMAP is noticeable slowed until the queue is cleared.

We are still using ISP smtp relay for email delivery which limits us to approx 500 emails/hour, but would this cause the server to fall over? Using ISP as our (UK ADSL) IP was being blocked by some providers as being in a home IP range, so lots of mail wasn't delivered.

Currently running Kerio 6.7 on Apple Mac Mini 2.0GHZ C2D running 10.5.6, but this problem persisted before using MacPro with 10.4.7 (and earlier). Using Cutedge DNS Enabler for Leopard for DNS too.

TIA for any pointers
Jon
  •  
TorW

Messages: 769
Karma: 9
Send a private message to this user
OS X can only handle 512 simultaneous IP sockets. I'm not sure if it can be changed with sysctl, but try

sysctl kern.ipc.maxsockets=1024


and see if it helps. The reason your IMAP connections are refused is because the socket list is exhausted, and there's nothing you can do about it if OS X doesn't let you change the resource ceiling. Rebooting the server will reset all sockets, thus giving you a temporary solution.

How many SMTP delivery threads have you configured? The default is 32, and it's probably tempting to increase the number of threads if you do mass mailling. The trade-off is of course that you spend sockets on SMTP delivery that you need for IMAP, POP3, SMTP reception and webmail.
Previous Topic: default mail client issue with change KOFF to KOC
Next Topic: Multi-homed server & SSL certificate
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Fri Nov 24 06:52:02 CET 2017

Total time taken to generate the page: 0.00336 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.