K From:	CSBVAX::MRGATE!KVC%YMIR.BITNET@CUNYVM.CUNY.EDU@SMTP  3-APR-1988 17:16  To:	ARISIA::EVERHART@ Subj:	Starting queues (was Re: Mail delivery job lives forever!)    p Received: from YMIR.BITNET by CUNYVM.CUNY.EDU (IBM VM SMTP R1.1) with BSMTP id 5652; Sun, 03 Apr 88 16:59:33 EST Date: Sun, 3 Apr 88 14:43 PDT 5 From: Kevin Carosso <KVC%YMIR.BITNET@CUNYVM.CUNY.EDU> C Subject: Starting queues (was Re: Mail delivery job lives forever!)  To: info-pmdf@YMIR.BITNET  X-VMS-To: IPMDF $ Resent-date: Sun, 3 Apr 88 14:45 PDT% Resent-to: INFO-PMDF-LIST@YMIR.BITNET   O >      We think that our problem was due to the fact that QUEUES, including the M > MAIL$BATCH queue, were started before the PMDF_STARTUP file executed.  If a H > delivery job was due to start at the time of the re-boot then it wouldN > initiate before the logicals for PMDF were defined.  Since the job 'keeps onL > trunkin' it indeed trucks forever, bombing every time a logical is needed. > L >      We now start the MAIL$BATCH queue from PMDF_STARTUP, after everythingM > is set up correctly.  This was very interesting for me: I hope someone else " > finds this gem interesting also.  H Note that this sort of thing can cause problems with many things besidesG PMDF.  What I do, as a general solution to the problem, is make sure my C SYSTARTUP.COM is sequenced properly.  I initialize the queues using G the /NOSTART qualifier and then explicitly start them at the end of the B system startup procedure.  I guess the idea is that you want batchG process to start up at about the same time you're ready for interactive A process.  I think this would be a better solution than relying on % PMDF_STARTUP to start the MAIL queue.   M As an aside, when I was managing a large system at my previous job, we wanted E to use batch jobs as part of the system startup.  We set up a special C queue for system startup tasks (in fact, there was one of these for H each machine in the cluster) which was started much earlier in the boot.  5         /Kevin Carosso                kvc@ymir.bitnet 1          Innosoft International Inc.  kvc@nrc.com 