How make my HmailServer into load balancing?

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
itsmesri
Normal user
Normal user
Posts: 59
Joined: 2014-11-07 08:30

How make my HmailServer into load balancing?

Post by itsmesri » 2016-12-14 07:19

I have single server that having pressure on it. Want convert server to load balancing. seperate the work load between multiple servers could serve mail delivery or pickup requests under one mail server address. Is this possible?

If YES, How to do that? Please give instructions?
If NO, What are other options have?

User avatar
mattg
Moderator
Moderator
Posts: 21317
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: How make my HmailServer into load balancing?

Post by mattg » 2016-12-14 13:16

Only possible through OS level load balancing, not possible with just with hMailserver

HOWEVER, you can run hMailserver on ONE machine and the required database on a separate machine and use a third machine or SAN for the data directory
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

stephan123
Normal user
Normal user
Posts: 38
Joined: 2009-10-29 13:03

Re: How make my HmailServer into load balancing?

Post by stephan123 » 2016-12-14 14:33

itsmesri wrote:I have single server that having pressure on it.
I can hardly believe that this is related to hMailServer. May I ask some questions?
  1. How many messages per day does your server handle?
  2. How many active IMAP-Sessions are there in average?
  3. How many mails are stored on that server?
  4. Which version of hMailServer?
  5. What database system?
  6. Which version of the database system?
  7. Which operating System is it?
  8. How many RAM?
  9. Is it a magnetic Harddisc?
  10. What kind of RAID do you use?
  11. How high is the average CPU-load of hMailserver?
  12. How high is the average memory consumption of hMailserver?

itsmesri
Normal user
Normal user
Posts: 59
Joined: 2014-11-07 08:30

Re: How make my HmailServer into load balancing?

Post by itsmesri » 2017-01-04 00:59

stephan123 wrote:
itsmesri wrote:I have single server that having pressure on it.
I can hardly believe that this is related to hMailServer. May I ask some questions?
  1. How many messages per day does your server handle? - 2000 to 5000
  2. How many active IMAP-Sessions are there in average? 4 - 6
  3. How many mails are stored on that server? 50,000
  4. Which version of hMailServer? 5.6.4-B2283
  5. What database system? SQL Server
  6. Which version of the database system? SQL server 2012
  7. Which operating System is it? Windows 10
  8. How many RAM? 8 GB
  9. Is it a magnetic Harddisc? Seagate Barracuda internal hard drive 7200 RPM and a SATA 6 Gb/s interface
  10. What kind of RAID do you use? I don't know
  11. How high is the average CPU-load of hMailserver? 40-55
  12. How high is the average memory consumption of hMailserver? 50-60

User avatar
mattg
Moderator
Moderator
Posts: 21317
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: How make my HmailServer into load balancing?

Post by mattg » 2017-01-05 00:03

None of that is remotely high (except the CPU usage)

What anti-virus are you using from within hMailsevrer? My guess is that you are using ClamWIN. If so stop that.
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

stephan123
Normal user
Normal user
Posts: 38
Joined: 2009-10-29 13:03

Re: How make my HmailServer into load balancing?

Post by stephan123 » 2017-01-06 14:11

Your server does not need load balancing. You have some problem but this not solvable by more machines.

itsmesri wrote:
stephan123 wrote:
itsmesri wrote:I have single server that having pressure on it.
I can hardly believe that this is related to hMailServer. May I ask some questions?
  1. How high is the average CPU-load of hMailserver? 40-55
  2. How high is the average memory consumption of hMailserver? 50-60
Are there 2 cores in this machine? Is 40% - 55% CPU-load really only hMailServer? Is the cpu load of hMailServer constantly high? If so, we need to identify what causes the high cpu load.

First enable logging and review the logs. Maybe a search in the forum here will help you? viewtopic.php?f=7&t=30180

User avatar
mattg
Moderator
Moderator
Posts: 21317
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: How make my HmailServer into load balancing?

Post by mattg » 2017-01-07 01:33

mattg wrote:My guess is that you are using ClamWIN.
Using ClamWIN inline is one of the only reasons that high CPU usage of hMailserver will occur

Another is using Thunderbird to keep IMAP messages synched offline when you have VERY large accounts accessed from multiple computers, or OUtlook accessing a single IMAP account from multiple computers where there are very large accounts, and some rules in ONE or more of the Outlook installs that moves messages. And by very large accounts I mean > 2 GB of messages.

I still guess that inline ClamWIN is the culprit here
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Post Reply