1.1.21 is out

Gert Doering (gert@greenie.muc.de)
Sun, 25 Jul 1999 10:28:00 +0200


Hi,

On Sat, Jul 24, 1999 at 07:10:05PM -0500, Robert J. Brown wrote:
>     Gert>   * faxrunqd will now send multiple jobs for the same fax
>     Gert> number (up to a configurable maximum number of pages,
>     Gert> default = 10) for the same telephone number in one call to
>     Gert> "sendfax", especially on very busy systems with many short
>     Gert> jobs to the same number this is a big time saver.
> 
> Thank you!  Thank you!  Thank you!  Thank you!  Thank you!  Thank you!

:-)))

[..]
> So how big are those tulips we have to tip-toe thru?  :-)

Actually, faxrunqd with the new features is one of the really well-tested
parts - one customer in munich sends out about 1000 faxes per work day 
(imagine that - this is 200.000 faxes per year!), and about 10 per cent of
them are "combineable", that is, two or more jobs to the same number are
in the queue at the same time.

Note: while there isn't much to do, this feature won't bee too effective -
what happens is something like this:

  - faxrunqd idle
  - fax job for number 1234 comes into queue
  - faxrunqd notices new job, reads queue, forks off sendfax
  - next fax job for number 1234 comes into queue
  - faxrunqd notices new job, but can't send, as sendfax is already
    active
  - first job finishes
  - second job is sent
  - second job finishes
  - faxrunqd falls back to sleep

if there is "lots of activity" going on, it's more like this:

  - faxrunqd is busy sending 30 different jobs to 3 modem lines
  - first job for 1234 comes into fax queue
  - faxrunqd notices job, puts into "in memory queue"
  - second job for 1234 comes into fax queue
  - faxrunqd notices job, notices "already one in queue", combines jobs
  - third job for 1234 comes into fax queue 
  - faxrunqd notices job, notices "already one in queue", combines jobs
  - first job for 1234 is eligible to be sent *now*
    -> second and third job are marked as "combine with the other one"
       and are sent together with the first one in one sendfax call
  - all three jobs are removed from the queue

so, if you are just testing this, do not wonder too much if sometimes the
jobs are sent one-at-a-time, and sometimes combined-together - if you run
faxrunqd "-v -d", the log file will tell you in pretty much detail what's
going on, and why.

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de