Port25 Support Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

BREAKING NEWS: PowerMTA 5.0 beta is out!!!!  Please contact support@port25.com for a license and download access.

Pages: [1] 2

Author Topic: pmta max connections  (Read 2652 times)

hlesta

  • Jr. Member
  • **
  • Karma: +0/-0
  • Posts: 30
pmta max connections
« on: December 15, 2017, 12:51:32 PM »

Hello there,

I have a doubt. Nowaday I have a pmata machine with a great hardware , 90 gb ram, 16  cpus and 900 GB SSD storage.

Could you please tell me how many connection I can reach with the hardware descripted above?

Thank you!
Logged

ReyM

  • Full Member
  • ***
  • Karma: +19/-4
  • Posts: 395
Re: pmta max connections
« Reply #1 on: December 15, 2017, 12:52:41 PM »

Windows or Linux? Big difference there as far as total connections available. PMTA will scale up to the memory available. You'll see the total queue size possible when PMTA starts.
Logged

hlesta

  • Jr. Member
  • **
  • Karma: +0/-0
  • Posts: 30
Re: pmta max connections
« Reply #2 on: December 15, 2017, 01:17:51 PM »

Hello Ray,

I use Linux.

Queue totals:
- max: 16.777.216

I check that pmta use 14 GB of RAM, I can assign more, I have 70 GB available. Could I increase the memory use? how i do that?

Thank you!
Logged

ReyM

  • Full Member
  • ***
  • Karma: +19/-4
  • Posts: 395
Re: pmta max connections
« Reply #3 on: December 15, 2017, 01:18:45 PM »

PMTA will consume the memory as needed and grow into what is available.
Logged

Port25-Admin1

  • Administrator
  • Hero Member
  • *****
  • Karma: +42/-6
  • Posts: 2332
Logged
Port25-Admin1
------------------
Try the following commands:
Quote
pmta show topdomains --errors
pmta show topqueues --errors
pmta --help

When PowerMTA won't start use:
Quote
pmtad --debug
When all else fails-->support@port25.com

hlesta

  • Jr. Member
  • **
  • Karma: +0/-0
  • Posts: 30
Re: pmta max connections
« Reply #5 on: December 15, 2017, 01:21:07 PM »

Ray,

Thank you! Have a nice week end!

Kind regards!
Logged

hlesta

  • Jr. Member
  • **
  • Karma: +0/-0
  • Posts: 30
Re: pmta max connections
« Reply #6 on: December 15, 2017, 01:46:11 PM »

Check this post on load testing:
https://forum.port25.com/useful-information-(read-only-no-posting)/how-can-i-do-performance-testing-with-powermta/msg100/#msg100

Hello Admin,

I feed pmta via smtp , I understand that is the best way to feed pmta, I have fed pmta  from Lan (postfix), after that the emails are going to each ESP on internet.

I have a issue when try to feed from our Lan (postfix) to PMTA, I have a great bottleneck, our datacenter said that the switch in the middle is using all the connections.

So, I wanted to know what limit I have in pmta to reach all posibilities.

Thank you!!
Logged

ReyM

  • Full Member
  • ***
  • Karma: +19/-4
  • Posts: 395
Re: pmta max connections
« Reply #7 on: December 15, 2017, 01:58:20 PM »

Best practice for feeding to PMTA is in batches of 5000 messages... I'd also put your feeder as close to PMTA as possible. What switch are you using? If your switch can't keep up, it may be time for a new switch.
Logged

hlesta

  • Jr. Member
  • **
  • Karma: +0/-0
  • Posts: 30
Re: pmta max connections
« Reply #8 on: December 15, 2017, 02:22:31 PM »

Hello Ray,

I ask for more information our datacenter and I let you know soon.

I need ask you one doubt more. When I increase  total-max-smtp-in and total-max-smtp-out parameters  (pmta config file) and the sum for both is higher than 10000. the pmta doesn't reboot ok.

It begins to return the following errors.

Code: [Select]
#Error: Error activating configuration: Error binding socket to 0.0.0.0:25, status = EACCES; restart required to add listeners on ports below 1024 if not running as root
# Error: Error activating configuration: Error initializing thread: Error binding socket to 0.0.0.0:8080, status = EADDRINUSE.

Code: [Select]
# /etc/init.d/pmta restart
#Stopping PowerMTA: done.
#Starting PowerMTA: failed.


But when I decrease this connection to fewer than 10000, the pmta begins to work correctly all services.

thank you!
Logged

ReyM

  • Full Member
  • ***
  • Karma: +19/-4
  • Posts: 395
Re: pmta max connections
« Reply #9 on: December 15, 2017, 02:26:28 PM »

that's way too high! You have OS sockets that need using as well as PMTA... you're max shouldn't be more than 1,500-3,000
Logged

hlesta

  • Jr. Member
  • **
  • Karma: +0/-0
  • Posts: 30
Re: pmta max connections
« Reply #10 on: December 15, 2017, 02:47:34 PM »

Hi Ray,

Thanks for your reply. I'm waiting for datacenter response yet. But Our company tries to send  more of 600.000.000 emails through this pmta, Could you please tell me if you see that possible.

How many pmta we need to achieve that?

Thank you!
Logged

ReyM

  • Full Member
  • ***
  • Karma: +19/-4
  • Posts: 395
Re: pmta max connections
« Reply #11 on: December 15, 2017, 02:48:52 PM »

PMTA can do over 1MM per hour... and each IP address you use is good for about 2MM per day... this is all assuming you have good lists and good content and ISPs do not throttle or block you. The latter is going to be your largest bottle neck, not PMTA with your configuration.
Logged

hlesta

  • Jr. Member
  • **
  • Karma: +0/-0
  • Posts: 30
Re: pmta max connections
« Reply #12 on: December 15, 2017, 03:40:38 PM »

PMTA can do over 1MM per hour... and each IP address you use is good for about 2MM per day... this is all assuming you have good lists and good content and ISPs do not throttle or block you. The latter is going to be your largest bottle neck, not PMTA with your configuration.

Ray,

I delivered a little more of 350MM/month via pmta and we have 300 IPs aproximatelly binded on it, soon we'll have 256 IPs more.

Our delivery rate is of 96%

I have 6500 incoming connection and 2600 outgoing to ESP. How can we use batches to feed 5000 emails per connection? Can I follow that from pmta manual or we need implement some software to achive that?

Thank you!
Logged

ReyM

  • Full Member
  • ***
  • Karma: +19/-4
  • Posts: 395
Re: pmta max connections
« Reply #13 on: December 15, 2017, 03:42:36 PM »

Your initial issue you queried about was connecting from your application to PMTA submit... and PMTA recommends 5,000 per batch to PMTA per connection... that would be achieved by your feeding application (to batch and manage connections) either by drop folder or API.
Logged

hlesta

  • Jr. Member
  • **
  • Karma: +0/-0
  • Posts: 30
Re: pmta max connections
« Reply #14 on: December 15, 2017, 04:17:20 PM »

Hello Ray,

Nice, thank you for the whole information!

Regards!
Logged
Pages: [1] 2