home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!decwrl!infopiz!mccall!ipmdf-newsgate!list
- From: ned@sigurd.innosoft.com (Ned Freed)
- Newsgroups: vmsnet.mail.pmdf
- Subject: RE: Help. list.exe going crazy?
- Message-ID: <01GO9NK45VW29S3Q9U@SIGURD.INNOSOFT.COM>
- Date: 1 Sep 92 18:10:18 GMT
- Organization: The Internet
- Lines: 28
- Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
- Resent-Date: 01 Sep 1992 11:10:18 -0700 (PDT)
- Resent-From: epmdf@YMIR.CLAREMONT.EDU
- Errors-To: epmdf@YMIR.CLAREMONT.EDU
- Resent-Message-ID: <01GO9NVTZ6B695P0TF@YMIR.CLAREMONT.EDU>
- X-Vms-To: IN%"DMPM%DUKEMC.BITNET@ymir.claremont.edu"
- X-Vms-Cc: IPMDF
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
- Content-Transfer-Encoding: 7BIT
-
- Your problem is that your homebrew channel isn't working properly. It must
- remove the entries for the messages it processes from the queue cache. When
- you don't remove the entries LIST (and everything else in PMDF) has no
- way of knowing that the entries are gone. As such you are left with the
- list of all messages that have ever been processed on the channel, and the
- list will continue to grow without limit over time.
-
- You need to either rewrite your channel to use PMDF's QU routines (this is
- the way to do it that we can possibly support) for dequeuing or you can
- use the OS routine os_qu_delete_outbound to delete the entries as you
- process them.
-
- The reason why I say that the QU routines are the only reasonable way to
- do this is that the queue format PMDF uses is subject to change without
- notice. It changed fairly substantially in PMDF V4.1 (I bet you didn't
- realize this) and is very likely to change even more in the future. Programs
- written to the old format sort of work because the new format is only
- used in some cases and is backwards compatible. But this may not be
- true in the future.
-
- The reason why you don't always see the huge list of messages is simply
- the difference between immediate processing jobs and periodic jobs.
- Immediate jobs only process the messages they were queued to deal with. Older
- messages are invisible in this case, so you don't see all the phantoms. But
- if a periodic job runs it sees all queued messages and that's when the
- huge list appears.
-
- Ned
-