
hi,
I have several vps servers with very limited resources running several large mailman lists, n these servers keep stopping from responding n sometimes mailq shows several errors like: too many open files in the system and not enough resourses ... etc.
so every hour I do the following:
mailmanctl stop postfix stop reboot
to free up the system resources, and eventually the mailq shows empty n the mail gets delivered..
is that a good thing I’m doing? for I can’t afford to upgrade the hardware, is there a better solution? is there any side effects??
Thanks..

On 5/31/2011 11:14 AM, Khalil Abbas wrote:
is that a good thing I’m doing? for I can’t afford to upgrade the hardware, is there a better solution? is there any side effects??
IIRC, it was Dolly Parton, a well known US country western singer who, following a 'wardrobe failure' (pre Janet Jackson) on national TV, said "You can't fit 10 pounds of mud in a five pound sack".
I think that applies here.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

well thanks for the tip, but I'm sorry I didn't get it .. is it a good thing to stop mailman and postfix and reboot the servers every hour to free up recourses n start over?
-----Original Message----- From: Mark Sapiro Sent: Wednesday, June 01, 2011 12:33 AM To: Khalil Abbas Cc: mailman-users@python.org Subject: Re: [Mailman-Users] reboot servers
On 5/31/2011 11:14 AM, Khalil Abbas wrote:
is that a good thing I’m doing? for I can’t afford to upgrade the hardware, is there a better solution? is there any side effects??
IIRC, it was Dolly Parton, a well known US country western singer who, following a 'wardrobe failure' (pre Janet Jackson) on national TV, said "You can't fit 10 pounds of mud in a five pound sack".
I think that applies here.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 5/31/2011 3:39 PM, Khalil Abbas wrote:
well thanks for the tip, but I'm sorry I didn't get it .. is it a good thing to stop mailman and postfix and reboot the servers every hour to free up recourses n start over?
"You can't fit ten pounds of mud in a five pound sack." I.e., you are trying to do too much with too little. If you can't get more hardware or reduce the size of or maybe the number of posts to your lists, you will have problems. What you are doing is not good, but if you think it allows you to avoid the real solution, you can keep doing it.
You are the only one who can determine if what you are doing is causing lost and/or duplicated messages or perhaps other problems.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

mmmmm.. what if I did this:
create small lists instead of large ones, then schedule the same message to be sent every hour to a different list ? this way the servers will not halt..
what do u think?
-----Original Message----- From: Mark Sapiro Sent: Wednesday, June 01, 2011 1:58 AM To: Khalil Abbas Cc: mailman-users@python.org Subject: Re: [Mailman-Users] reboot servers
On 5/31/2011 3:39 PM, Khalil Abbas wrote:
well thanks for the tip, but I'm sorry I didn't get it .. is it a good thing to stop mailman and postfix and reboot the servers every hour to free up recourses n start over?
"You can't fit ten pounds of mud in a five pound sack." I.e., you are trying to do too much with too little. If you can't get more hardware or reduce the size of or maybe the number of posts to your lists, you will have problems. What you are doing is not good, but if you think it allows you to avoid the real solution, you can keep doing it.
You are the only one who can determine if what you are doing is causing lost and/or duplicated messages or perhaps other problems.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 6/1/2011 10:24 AM, Khalil Abbas wrote:
mmmmm.. what if I did this:
create small lists instead of large ones, then schedule the same message to be sent every hour to a different list ? this way the servers will not halt..
what do u think?
I think Ralf is right. Lower the process limit, else your load will stay on high and you may lose or end up having duplicated messages. Maybe other problems too.
Think about it.
Molla.

On 6/1/2011 3:31 AM, Mollatt Ntini wrote:
I think Ralf is right. Lower the process limit, else your load will stay on high and you may lose or end up having duplicated messages. Maybe other problems too.
Defintely. If you don't have the resources for instant use, you need to get them or use them more gradually. Lowering the postfix process count will help that. IIRC, you can twiddle mailman to attempt fewer message per MTA connection. You can remove other loads from the system (what else is it doing?). Rebooting is not the answer, and really unnecessary if you stop/start the big processes.
z!
participants (4)
-
Carl Zwanzig
-
Khalil Abbas
-
Mark Sapiro
-
Mollatt Ntini