Noel Jones put forth on 5/26/2010 3:56 PM: > Use ps or top to see how much RAM each smtpd uses, guesstimate from > there. If system swaps, reduce. > Postscreen will help with this, since a single postscreen process can > handle thousands of connections.
To lower memory consumption on your VPS, you may also want to look into proxymap if you use many or large (or both) lookup tables: http://www.postfix.org/proxymap.8.html Postscreen will cut down on memory consumption caused by this spam traffic as you won't have an smtpd process per connection any longer. Proxymap can still pay dividends if you have a fair concurrent connection load for legit mail and large/many lookup tables. I use some very large local blacklists, regexp and cidr tables. Imlementing proxymap cut my memory usage per smtpd process considerably, something on the order of 80% per process. -- Stan