Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Wietse Venema
Wietse Venema: Victor Duchovni: On Wed, Dec 15, 2010 at 01:37:48PM -0500, Dave Brodin wrote: I ran the following command: time /usr/local/bin/smtp-source -s 10 -l 10120 -m 500 -c \ -f t...@bluemarble.net -t dbro...@bluemarble.net localhost:25 OK, this is smtp-source with

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Dave Brodin
Many thanks to Scott Lambert for what I believe to be the solution to my load problem. It was nsswitch.conf which still had all its default settings when I began this troubleshooting. I had changed all the entries from nis to files when he mentioned it a few days ago. But he then suggested

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Wietse Venema
Dave Brodin: [ Charset ISO-8859-1 unsupported, converting... ] Many thanks to Scott Lambert for what I believe to be the solution to my load problem. It was nsswitch.conf which still had all its default settings when I began this troubleshooting. I had changed all the entries from nis to

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Dave Brodin
On 12/16/2010 3:00 PM, Wietse Venema wrote: Dave Brodin: [ Charset ISO-8859-1 unsupported, converting... ] Many thanks to Scott Lambert for what I believe to be the solution to my load problem. It was nsswitch.conf which still had all its default settings when I began this troubleshooting. I

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Scott Lambert
On Thu, Dec 16, 2010 at 03:00:39PM -0500, Wietse Venema wrote: Dave Brodin: Many thanks to Scott Lambert for what I believe to be the solution to my load problem. It was nsswitch.conf which still had all its default settings when I began this troubleshooting. I had changed all the

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Wietse Venema
Scott Lambert: OK, before less-informed people start to spread urban legends, I did all the measurements with the default nsswitch.conf file (see below) which contains the exact same entries that were making your system crawl. So, while Postfix is now performing better for you, I am

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Sahil Tandon
On Thu, 2010-12-16 at 17:05:13 -0500, Wietse Venema wrote: Scott Lambert: OK, before less-informed people start to spread urban legends, I did all the measurements with the default nsswitch.conf file (see below) which contains the exact same entries that were making your system

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Scott Lambert
On Thu, Dec 16, 2010 at 05:05:13PM -0500, Wietse Venema wrote: Scott Lambert: OK, before less-informed people start to spread urban legends, I did all the measurements with the default nsswitch.conf file (see below) which contains the exact same entries that were making your system

Re: Load issues with Postfix on FreeBSD

2010-12-15 Thread Dave Brodin
Thanks to everyone for suggestions about the load issue. I will endeavor to provide more specific information. It took a while to move everything off of that server so I could do the load testing with smtp-source. Let me preface by saying that my real systems administrator took another job,

Re: Load issues with Postfix on FreeBSD

2010-12-15 Thread Matthias Andree
Am 15.12.2010 19:37, schrieb Dave Brodin: Thanks to everyone for suggestions about the load issue. I will endeavor to provide more specific information. It took a while to move everything off of that server so I could do the load testing with smtp-source. Let me preface by saying that my

Re: Load issues with Postfix on FreeBSD

2010-12-15 Thread Wietse Venema
Dave Brodin: 84 processes: 13 running, 71 sleeping CPU: 1.9% user, 0.0% nice, 98.1% system, 0.0% interrupt, 0.0% idle Mem: 171M Active, 6548M Inact, 842M Wired, 246M Cache, 827M Buf, 104M Free Swap: 4096M Total, 60K Used, 4096M Free PID USERNAME THR PRI NICE SIZERES STATE

Re: Load issues with Postfix on FreeBSD

2010-12-15 Thread Victor Duchovni
On Wed, Dec 15, 2010 at 01:37:48PM -0500, Dave Brodin wrote: I ran the following command: time /usr/local/bin/smtp-source -s 10 -l 10120 -m 500 -c \ -f t...@bluemarble.net -t dbro...@bluemarble.net localhost:25 OK, this is smtp-source with 10 (modest) parallel sessions, 10KB (modest)

Re: Load issues with Postfix on FreeBSD

2010-12-15 Thread Wietse Venema
Victor Duchovni: On Wed, Dec 15, 2010 at 01:37:48PM -0500, Dave Brodin wrote: I ran the following command: time /usr/local/bin/smtp-source -s 10 -l 10120 -m 500 -c \ -f t...@bluemarble.net -t dbro...@bluemarble.net localhost:25 OK, this is smtp-source with 10 (modest) parallel

Re: Load issues with Postfix on FreeBSD

2010-12-15 Thread Dave Brodin
Great. It's very helpful to have some comparison numbers to know what the performance should be like. I'm going to start by getting that server on a stable release of FreeBSD rather than a pre-release. Also a fresh install of postfix with a default configuration just so I can make sure

Re: Load issues with Postfix on FreeBSD

2010-12-15 Thread Stan Hoeppner
Wietse Venema put forth on 12/15/2010 12:48 PM: I have never seen smtpd use up significant amounts of CPU, except with Stan Hoeppner's extremely large PCRE or CIDR tables. I do have some pretty large tables, but the high CPU burn is probably more as much a function of my horribly old and slow

Load issues with Postfix on FreeBSD

2010-12-09 Thread Dave Brodin
We are an ISP and have Postfix running on FreeBSD. Currently, we are using postfix 2.4.10 on FreeBSD 4.7. Both are older versions because several years ago we tried to upgrade FreeBSD to 6.0 and had some bizarre results. We just tried the same thing last night to a much newer version of

Re: Load issues with Postfix on FreeBSD

2010-12-09 Thread Wietse Venema
Dave Brodin: We are an ISP and have Postfix running on FreeBSD. Currently, we are using postfix 2.4.10 on FreeBSD 4.7. Both are older versions because several years ago we tried to upgrade FreeBSD to 6.0 and had some bizarre results. We just tried the same thing last night to a much

Re: Load issues with Postfix on FreeBSD

2010-12-09 Thread Victor Duchovni
On Thu, Dec 09, 2010 at 02:59:56PM -0500, Dave Brodin wrote: Old server - Dual 2.8 GHz Xeon processors with 4 GB RAM New server - Dual 2.8 quad-core processors with 8 GB RAM Things run fine on old server, but hardware is starting to fail. When we start postfix on the new server and

Re: Load issues with Postfix on FreeBSD

2010-12-09 Thread Dave Brodin
On 12/9/2010 3:21 PM, Wietse Venema wrote: Dave Brodin: We are an ISP and have Postfix running on FreeBSD. Currently, we are using postfix 2.4.10 on FreeBSD 4.7. Both are older versions because several years ago we tried to upgrade FreeBSD to 6.0 and had some bizarre results. We just tried

Re: Load issues with Postfix on FreeBSD

2010-12-09 Thread Jerry
On Thu, 9 Dec 2010 15:21:15 -0500 (EST) Wietse Venema wie...@porcupine.org articulated: FWIW, FreeBSD is my primary development platform. I thought that FreeBSD 8.1 is the latest release. It is. I believe the 8.2 version is still in either RC1 or RC2 stage. In any case, it has definitely not

Re: Load issues with Postfix on FreeBSD

2010-12-09 Thread Wietse Venema
Dave Brodin: Thank you very much for the info. I'm really filling in because our main system administrator's last day is tomorrow, unfortunately. I guess it's 8.2-PRERELEASE (not sure how happy I am to find that out). We did try 2.4.10 and it had the same problem. I would bet that the

Re: Load issues with Postfix on FreeBSD

2010-12-09 Thread Stan Hoeppner
Wietse Venema put forth on 12/9/2010 2:52 PM: Dave Brodin: Thank you very much for the info. I'm really filling in because our main system administrator's last day is tomorrow, unfortunately. I guess it's 8.2-PRERELEASE (not sure how happy I am to find that out). We did try 2.4.10 and

Re: Load issues with Postfix on FreeBSD

2010-12-09 Thread Dave Brodin
On 12/9/2010 4:55 PM, Stan Hoeppner wrote: Wietse Venema put forth on 12/9/2010 2:52 PM: Dave Brodin: Thank you very much for the info. I'm really filling in because our main system administrator's last day is tomorrow, unfortunately. I guess it's 8.2-PRERELEASE (not sure how happy I am to

Re: Load issues with Postfix on FreeBSD

2010-12-09 Thread Wietse Venema
Dave Brodin: On 12/9/2010 4:55 PM, Stan Hoeppner wrote: Wietse Venema put forth on 12/9/2010 2:52 PM: Dave Brodin: Thank you very much for the info. I'm really filling in because our main system administrator's last day is tomorrow, unfortunately. I guess it's 8.2-PRERELEASE (not sure