M
M
Michael2020-07-09 14:56:02
System administration
Michael, 2020-07-09 14:56:02

How to curtail appetites of Postfix-a?

The task, in principle, is this:
there is a forum on Vbulletin, periodically a couple of times a month a mailing list is made to users, according to a couple of paragraphs, no more, users under 7 thousand.
So - at the time of sending, the postfix loads the VPS to such an extent that the sites that hang on it stop responding, is there any way to reason with it?
Thanks to those who answered in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2020-07-09
@happy-cat

You can limit the number of postfix processes:
1st way - specify default_process_limit in main.cf - default is 100, try setting it to 50
2nd way - you can specify the limit of processes for each worker in master.cf, we are interested in: line
smtp unix - - - - - smtp
the penultimate column is the process limit of this worker
can be changed to
smtp unix - - - - 40 smtp
Restart postfix after any changes.

A
Alexander Chernykh, 2020-07-09
@sashkets

it is necessary to find out the bottleneck and add the resource
ps
7000 is nonsense for mailing lists. should be gone in a minute or two

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question