Problem with the at queue

Problem with the at queue

Post by Bjorn Ivar Sta » Fri, 21 Dec 1990 07:03:09



Several times I have experienced that some jobs being in the at-queue
have just been left there (i.e. forgotten) while other haven't
(for the one and same user). When the system restarts,
however, they are (all) started.

Any idea, anyone? (IBM RISC SYSTEM/6000 mod 530 running AIX Version 3.1)

--

                                                \ystein

 
 
 

Problem with the at queue

Post by jsal.. » Tue, 25 Dec 1990 11:32:35



Quote:>Several times I have experienced that some jobs being in the at-queue
>have just been left there (i.e. forgotten) while other haven't
>(for the one and same user). When the system restarts,
>however, they are (all) started.
>Any idea, anyone? (IBM RISC SYSTEM/6000 mod 530 running AIX Version 3.1)

You don't mention which level you are on (3001, 3002, ...) but my
guess is because there were problems with the release level of the
at/batch commands that didn't get fixed until later.  I think this
was fixed as of 3003 (if not 3002).  Call in an APAR if you think it
merits it.

Quote:>--
>                                            \ystein

jim/jsalter  IBM AWD, Palo Alto  T465/(415)855-4427   VNET: JSALTER at AUSVMQ

  PS/2 it, or DIE!  :-)  The ramblings above have nothing to do with Big Blue.

 
 
 

1. problem with linux message queue

Sorry if this belongs elsewhere. If so, I'd appreciate a pointer.

 I am trying to use the IPC message queue on Redhat 6.2. Here's my code

 #include <sys/types.h>
 #include <sys/ipc.h>
 #include <sys/msg.h>
 #include <stdio.h>

 #define TM_MSGQ_KEY 1000

 typedef struct TM_MSGBUF
 {
 long mtype;
 char mtext[20];
 }a;

 int main()
 {

 int tm_msqId = msgget( TM_MSGQ_KEY, 0666 | IPC_CREAT );

 TM_MSGBUF bufsnd={100,"Hope this works"}, bufrcv;
 bufsnd.mtype = 100;

 printf("send buffer type = %d\n",bufsnd.mtype);
 printf("send buffer data = %s\n\n\n",bufsnd.mtext);

 msgsnd(tm_msqId, (struct msgbuf *)&bufsnd, sizeof(bufsnd), 0);
 msgrcv(tm_msqId,(struct msgbuf *)&bufrcv,sizeof(bufrcv), 0, 0);

 printf("send buffer type = %d\n",bufsnd.mtype);
 printf("send buffer data = %s\n\n\n",bufsnd.mtext);

 printf("receive buffer type = %d\n",bufrcv.mtype);
 printf("receive buffer data = %s\n\n\n",bufrcv.mtext);
 }
 And here's the output:

 send buffer type = 100
 send buffer data = Hope this works

 send buffer type = 0
 send buffer data = Hope this works

 receive buffer type = 100
 receive buffer data = Hope this works

 The problem is that the message type in bufsnd has been corrupted. Any
 ideas what's going on here?

 Thanks

 Michael Mandelberg

Sent via Deja.com http://www.deja.com/
Before you buy.

2. Advisory on HP Surestore external DAT tape on HP Netserve

3. Problem with RPC request queue becoming full

4. ps printer accounting ?

5. problem with linux message queue

6. Cng-all Nothing is better for relieving pain - T3 w/codeine

7. qmail installation problem, msgs stuck in queue, help!

8. SMAIL woes! HELP!

9. BIG BIG BIG Problem with IPC Messages Queue ... Help Please !

10. point solaris print queue to win2000 print queue

11. Remote print queue/queue device definitions

12. Queuing in Linux similar to queue in Microsoft MSMQ or IBM MQ

13. how to find time spent in ready queue and wait queue ?