Re: [Mailman-Users] Performance issues with 12K subscribers and 14K subscribers and personalized footers.

2013-09-30 Thread Stephen J. Turnbull
Bryan Wright writes:

 > Now I just need to fine-tune sendmail so it speeds up as well, but
 > that's a question for elsewhere.

Just a guess, but it may not be sendmail per se.  If there are issues
with the DNS, that could result in multiple long delays, giving the
half-hour time you're seeing for not all that many messages.  Of
course sendmail may be throttled for some reason, or an upstream
gateway is throttling your host, or something.
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Performance issues with 12K subscribers and 14K subscribers and personalized footers.

2013-09-30 Thread Bryan Wright
Mark,

Thanks for the help.  Followed the instructions in the FAQ  to get sendmail 
listening on an alternate port in deferred mode.  That made a huge difference, 
although not as speedy as your environment, 8122 messages made it from mailman 
to sendmail in about 30 minutes.

Sep 30 10:07:18 2013 (22267) 
 smtp to 
catherine.klein for 8122 recips, completed in 1782.344 seconds

Now I just need to fine-tune sendmail so it speeds up as well, but that's a 
question for elsewhere.

Thanks again for the help.

Bryan Wright


-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net] 
Sent: Saturday, September 28, 2013 3:33 PM
To: Bryan Wright; mailman-users@python.org
Subject: Re: [Mailman-Users] Performance issues with 12K subscribers and 14K 
subscribers and personalized footers.

On 09/27/2013 10:40 PM, Bryan Wright wrote:
> 
> So back to the speed.   If multiple qrunners won't fix the issue, is
> there any way to speed this up? To get it to process multiple outgoing 
> messages at once?


Before trying to send from Mailman in parallel, you need to look into speeding 
up the SMTP interaction between Mailman and sendmail, bevcause that's where the 
real delay exists.


> Could I create multiple lists and then just have the lists subscribed 
> to the one list?  Then each of these lists could use a qrunner?


Yes and no. You could create an umbrella list or use regular_include_lists (see 
the FAQ at ) to create multiple outgoing messages 
with fewer recipients, but there is no guarantee that these message's out/ 
queue entries would all wind up in different OutgoingRunner slices. Actually 
ensuring that each message is processed by a different OutgoingRunner would, I 
think, require some kludgey code mods. It would be easier and more productive 
to modify SMTPDirect to use multiple threads. (There is an 'experimental'
MAX_DELIVERY_THREADS setting documented in Defaults.py, but it is not currently 
implemented.)


> Could disk access time be an issue?  Could I place the mailman queue 
> directory in a ram disk?


Putting the queue on a ram disk won't help. The queue entry is only picked up 
at the start of processing and whether it takes microseconds or milliseconds, 
it is not the source of any significant delay.

Putting the server's swap space on a ram disk could help, but there are other 
things to try first.

As I said in my original reply, see the FAQs at  
and . A local caching DNS may help and if sendmail 
is doing DNS verification at incoming SMTP time, stopping that will really 
help. Also ensure you haven't changed the default

SMTP_MAX_SESSIONS_PER_CONNECTION = 0

setting.

Note: as a point of reference, my production server is not very high powered, 
runs CentOS 5, and has no specific performance tuning. Messages from Mailman 
use Mailman's VERP feature so each recipient gets an individual message whether 
or not personalization is on. Mailman delivers over 50 messages per second to 
Postfix or 12,000 messages in 4 minutes. This is based on up to 600+ messages 
(my maximum list size is currently 629), and may slow down some with larger 
lists as Postfix gets busier sending, but I'm sure delivery to Postfix of 
12,000 messages would take minutes as opposed to hours.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Does mailman has a mobile version too?

2013-09-30 Thread Adam McGreggor
On Sun, Sep 29, 2013 at 08:05:08PM -0400, Richard Damon wrote:
> The mailman web pages are just web pages so they CAN be accessed while
> mobile. The command line tools can be accessed via a SSH app while
> mobile (much nicer to have a real keyboard though).

If you use an Android device, the Hacker's Keyboard [1] is quite dandy
for easy access to useful things like |, ~, TAB, > etc.

[1] 
https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard&hl=en

-- 
"This argument, says a middle-aged lady in a business suit called
 Marion, is just more London stuff ... " (What were her other outfits
 called?)
-- Guardian style guide, on 'syntax'.
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org