LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Parts/Attachments: text/plain (34 lines)
Print Reply
Mime-Version:
1.0
Sender:
LISTSERV give-and-take forum <[log in to unmask]>
Date:
Wed, 13 Nov 2002 12:26:28 -0500
Reply-To:
LISTSERV give-and-take forum <[log in to unmask]>
Subject:
From:
Valdis Kletnieks <[log in to unmask]>
In-Reply-To:
Your message of "Wed, 13 Nov 2002 10:30:18 CST." <[log in to unmask]>
Content-Type:
text/plain; charset=us-ascii
Comments:
To: "Walker, Brand" <[log in to unmask]> To: [log in to unmask]
On Wed, 13 Nov 2002 10:30:18 CST, "Walker, Brand" <[log in to unmask]>  said:

> We have approximately 700 lists, and periodically daytime loads spike to 2.42
> or as high as 4.67.  The /home/listserv/spool directory fills with a backlog
> of .job files.  While lsv continues working, the web interface hangs out and
> then fails as the browser times out.

The problem is that although much of the sendmail/apache stuff will multithread
quite nicely, the 'lsv' process itself is still mostly single-threaded.  As
a result, if the wa.cgi tries to wake lsv up while it's busy, it has to wait
until lsv is ready to answer - by which time a timeout may happen.

There are 2 major bottlenecks that you can get bit by:

1) It can take a long time for lsv to hand mail to sendmail, especially with
a large number of recipients.  Things that help here:  (a) use the
FEATURE(nocanonify) on the Sendmail side (which will get you literally a 5-8x
speedup as it cuts out a DNS lookup at an inopportune time) and (b) on the
lsv side, coding something like this in the go.user file:

SMTP_FORWARD="localhost"
SMTP_FORWARD_1="3*localhost"

This will cause lsv to fork off 3 child processes that will do the actual
handoff to sendmail - and the parent lsv can start the next request as soon
as a child *starts* to do the work rather than waiting for it to finish.

2) A large 'ADD' job to bulk-load a list.  Only real fix here is to cough
up the money for a Listserv HPO license.
--
                                Valdis Kletnieks
                                Computer Systems Senior Engineer
                                Virginia Tech

ATOM RSS1 RSS2