Added more RAM - how to tweak imap settings?? Urgent

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

TheDude
Posts: 119
Joined: Sat Sep 17, 2005 9:53 pm
Location: Alabama, USA
Contact:

Added more RAM - how to tweak imap settings?? Urgent

Postby TheDude » Wed Jan 31, 2007 2:29 pm

I recently went from 1gb of RAM to 3gb of RAM, I re-ran the installer and upped the space allocated for JAVA. This helped the web users speed a great deal.

I think I need to increase the ammount of imap connections that can concurently be used from the default - can anyone tell me how to do this? I remember reading somewhere that you can increase this and I have a lot of users using Windows Mobile 5 withimap to scrape their email account every 15 minutes and I know that is starting to add up in the usage department.

Please Help,

The Dude

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

Postby ScalixSupport » Thu Feb 01, 2007 8:14 am

Hi Dude,

You can edit the number of IMAP_CONNECTION_LIMIT value in the file /var/opt/scalix/<mm>/s/sys/general.cfg.

Restart IMAP deamon using the commands below:

Code: Select all

omoff -wd 0 imap
omon imap


Thanks,
Subir

TheDude
Posts: 119
Joined: Sat Sep 17, 2005 9:53 pm
Location: Alabama, USA
Contact:

Should I? How much?

Postby TheDude » Thu Feb 01, 2007 4:47 pm

Thanks for the response....

Now I have cold feet :)

Do you think this will help speed?

Based on my RAM now, what should I change this value to? I have about 30 people on SWA...

Thanks!!

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

Postby ScalixSupport » Fri Feb 02, 2007 4:25 am

Hi Dude!

Increasing more memory (both physical and SWAP) is always a good idea to improve
performance. DNS responses could be another factor that effect SWA performance. I
assume you increased Tomcat/Java memory by editing value for JAVA_OPTS in
/var/opt/scalix/s4/tomcat/bin/setclasspath.sh file.

What Scalix version you use, what is the current value for IMAP_CONNECTION LIMIT
and IMAP_CONNRATE_LIMIT. If you are using Scalix 11, did you upgrade from Scalix 10?

On searching Scalix knowledgebase, I could find that ideal values for IMAP_CONNECTION LIMIT
and IMAP_CONNRATE_LIMIT could be:
IMAP_CONNECTION_LIMIT=500
IMAP_CONNRATE_LIMIT=10
Note: The above settings will make IMAP connection and connection rate unlimited.

Running

Code: Select all

lsof -i :!43

should indicate how many connections you currently have.

There is a description about IMAP_CONNECTION LIMIT and IMAP_CONNRATE_LIMIT in
Scalix Administration guide.

IMAP_CONNECTION LIMIT, specifies the maximum number of concurrent IMAP
connections that the Server can support. If left at 0 (the default value), the IMAP4 Server
will continue to accept all connections until machine resources are exhausted. This
could adversely affect Scalix performance and eventually prevent other users from
accessing the Scalix Server.

IMAP_CONNRATE_LIMIT, specifies the maximum number of IMAP connection requests
that the IMAP Server will accept in any one second. If left at 0 (the default), the IMAP
Server will accept connection requests at a rate that is limited only by machine
resources. This could adversely affect Scalix performance and eventually prevent
other users from accessing the Scalix Server. If, for example, you set this value to 3,
the IMAP Server will be able to accept up to 180 connection requests per minute, and
machine resources should still be sufficient to allow normal Scalix operation.

Thanks,
Subir


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 10 guests