The limit depends mostly on your load which will depend on user habbits and disk performance, then gpu and mem. So there is no rule of thumb, however, basically, it's a limit you can safely set to 2000 so start with that.
Also set
g_imap_idle_free "true"
g_imap_inactive_free "true"
which lets surgemail avoid using real threads when not needed.
If going above 2000 you may need to adjust the limit command in the surgemail_start.sh script,
ChrisP.
On Saturday 09/02/2019 at 4:22 am, Jeff Crowe wrote:
Hi all,
What are you running the max threads value (g_thread_max) on the server? I currently am getting steady reports like this:
Thread limit issue, examine status.threads to find cause of issue links=870 max=1000
The majority of the connections are from IMAP clients, then warnings get hit when we have pop bursts from customers who run servers that check 50 or so accounts at once.
Thanks
Jeff Crowe
WTC Communications