IMAP goes down with high traffic

Discuss the Scalix web client

Moderators: ScalixSupport, admin

mars solutions
Posts: 17
Joined: Thu Oct 27, 2005 3:45 am
Location: Göppingen, Germany
Contact:

IMAP goes down with high traffic

Postby mars solutions » Thu Dec 17, 2009 6:19 am

Hello everybody,

is there a technical limit regarding the maximum imap sessions the scalix imapd accepts at one time?
We experience a problem using SWA leading to this message:

2009-12-07 10:49:08,356 ERROR [MailServices.authenticate:559] Cannot connect to the mail server at mailgate.XXX!
The mail server on mailgate.XXX appears to be down.
javax.mail.MessagingException: Connection refused;
nested exception is:
java.net.ConnectException: Connection refused
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:558)
at javax.mail.Service.connect(Service.java:275)

...when there's high traffic/usage on the server.

Any hints are welcome, thanks in advance.

Greets,
Seb.
mars solutions GmbH - Germany
http://www.mars-solutions.de

PrisonMind
Posts: 308
Joined: Thu Jul 10, 2008 5:00 am
Location: Adua

Re: IMAP goes down with high traffic

Postby PrisonMind » Thu Dec 17, 2009 4:26 pm

hi,

in the file : /var/opt/scalix/??/s/sys/general.cfg are some imap options!

It says:
# These tweaks limit the number and rate of IMAP connections to the
# server. The IMAP_CONNECTION_LIMIT simply restricts the total number of
# connections to the server -- note that many IMAP clients have several
# connections for each IMAP session. The IMAP_CONNRATE_LIMIT restricts
# the rate at which clients can connect to the server, in this case, at
# most ten connections per second; if clients try to connect faster
# than that, the IMAP server simply slows down the rate at which it will
# accept new connections.
IMAP_CONNECTION_LIMIT=500
IMAP_CONNRATE_LIMIT=10

after saving the setting restart scalix for it to take effect.

mars solutions
Posts: 17
Joined: Thu Oct 27, 2005 3:45 am
Location: Göppingen, Germany
Contact:

Re: IMAP goes down with high traffic

Postby mars solutions » Fri Dec 18, 2009 3:25 am

that's a starter. i might have thought too complicated in the first :-)
thx.
mars solutions GmbH - Germany
http://www.mars-solutions.de


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 2 guests