max connections per second?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

boehme

max connections per second?

Postby boehme » Thu May 25, 2006 11:06 am

Hi,

Is there a connections per second setting for smtpd?

I'm trying to send emails with a script and it chokes after about 8/9 emails unless I put a sleep command in between them.

Thanks!

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri May 26, 2006 10:41 pm

There isn't a connection throttle as such but there is a limit to the number of active connections that the SMTP Relay can handle at once. This is about 96 connections by default but can be configured higher if necessary. However, if the script is failing after 8/9 messages, I'm not sure that this limit is being reached.

When you say the script chokes, what do you see ?

Cheers

Dave

boehme

Postby boehme » Tue Jun 06, 2006 12:11 am

With the server log turned on I see that the script has opened a connection and supplied a recipient, but the server has not acknolowedged with a '250 Ok' .

So the script just sits there waiting. Other mail can still be sent when this happens.

I have upped the number of connections but that had no impact.

SMTP version: 10.0.1.3

Thanks!

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Jun 06, 2006 12:16 am

This is indicative of a slow DNS response. Sendmail is being used in the background to check whether the domain of the sender is resolvable and the recipient exists. If you have your domain name in /etc/mail/local-host-names, you would get an error returned for a non-existent user. If you have multiple nameservers defined in /etc/resolv.conf, check each one to see if there is a delay getting an answer.

Cheers

Dave


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest