Skip Navigational Links
LISTSERV email list manager
LISTSERV - COMMUNITY.EMAILOGY.COM
LISTSERV Menu
Log In
Log In
LISTSERV 17.5 Help - LSTSRV-L Archives
LISTSERV Archives
LISTSERV Archives
Search Archives
Search Archives
Register
Register
Log In
Log In

LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Menu
LISTSERV Archives LISTSERV Archives
LSTSRV-L Home LSTSRV-L Home

Log In Log In
Register Register

Subscribe or Unsubscribe Subscribe or Unsubscribe

Search Archives Search Archives
Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Subject:
Re: Load issues with Listserv
From:
Valdis Kletnieks <[log in to unmask]>
Reply To:
LISTSERV give-and-take forum <[log in to unmask]>
Date:
Wed, 13 Nov 2002 12:26:28 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
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

COMMUNITY.EMAILOGY.COM CataList Email List Search Powered by LISTSERV