
Thanks!
Well - except for some significant glitches - our effector newsletter went out just fine last night. I want to than everyone who helped me out here. All I have to do today is tune the system so I don't overload it again.
I had SMTP_MAX_RCPTS = 250
Then - using Exim I had remote_max_parallel = 100
I'm wondering what values I should set for these and in exim - should I set:
queue_run_max = 30 ?
I'm going to upgrade python to the latest and greatest. If I get the exim processes down I shouldn't overload the file handles - but - in the 2.4 kernel
- how do I increase the number of open files?
Marc Perkel /root EFF

On 1/11/02 8:39 AM, "Marc Perkel" <marc@perkel.com> wrote:
I had SMTP_MAX_RCPTS = 250
I'd leave this alone for now, but once you get things running well, a value of 10 is better.
Then - using Exim I had remote_max_parallel = 100
I'd cut this in half and see what happens.
I'm not terribly familiar with exim, though. Hopefully someone who is can give more detail.

On Fri, Jan 11, 2002 at 08:39:41AM -0800, Marc Perkel wrote:
I'm going to upgrade python to the latest and greatest. If I get the exim processes down I shouldn't overload the file handles - but - in the 2.4 kernel
- how do I increase the number of open files?
The kernel ships by default with about 8k file descriptors available. If the system just does email, then you probably have a ulimit setting of 1024 by default, and you can change that by (as root) doing a ulimit -n 2048, or 4096, or whatever and spawning the shell that starts exim, or the shell that starts postfix - whichever is exhausting its resources.
There used to be some header twiddling you had to do in 2.2 to get select() to work properly, but I don't think thats an issue anymore.
-- The 5 year plan: In five years we'll make up another plan. Or just re-use this one.

On Fri, Jan 11, 2002 at 09:18:12AM -0800, Peter C. Norton wrote:
On Fri, Jan 11, 2002 at 08:39:41AM -0800, Marc Perkel wrote:
I'm going to upgrade python to the latest and greatest. If I get the exim processes down I shouldn't overload the file handles - but - in the 2.4 kernel
- how do I increase the number of open files?
I jumped into the middle of this thread. I'm assuming "linux". If that's wrong, ignore this post.
Take a look at /usr/src/linux/Documentation/proc.txt
It may have changed in 2.4, but in 2.2, you set max file descriptors:
echo 8192 >/proc/sys/fs/file-max echo 24576 >/proc/sys/fs/inode-max
for example. proc.txt from 2.2 indicates you should set inode-max between three and four times file-max. Biggest number you can set for file-max is 1024*1024.
The proc.txt also discusses how to evaluate your settings.
Once you arrive at reasonable settings, have your init scripts set them.
The kernel ships by default with about 8k file descriptors available. If the system just does email, then you probably have a ulimit setting of 1024 by default, and you can change that by (as root) doing a ulimit -n 2048, or 4096, or whatever and spawning the shell that starts exim, or the shell that starts postfix - whichever is exhausting its resources.
There used to be some header twiddling you had to do in 2.2 to get select() to work properly, but I don't think thats an issue anymore.
-- The 5 year plan: In five years we'll make up another plan. Or just re-use this one.
Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman/listinfo/mailman-developers
--
Dan Wilder <dan@ssc.com> Technical Manager & Editor SSC, Inc. P.O. Box 55549 Phone: 206-782-8808 Seattle, WA 98155-0549 URL http://embedded.linuxjournal.com/

Marc Perkel <marc@perkel.com> writes:
I'm going to upgrade python to the latest and greatest.
You mentioned running RedHat 7.2; I believe that ships with Python 2.1.1 installed as `python2'. Of course, 2.2 is the latest/greatest, but 2.1.1 is pretty close.
-- (TMDA (http://tmda.sourceforge.net/)) (user-level UCE intrusion prevention)
participants (5)
-
Chuq Von Rospach
-
Dan Wilder
-
Jason R. Mastaler
-
Marc Perkel
-
Peter C. Norton