[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LDM #EZK-400759]: Problem inserting int ldm prod queue - reg.
- Subject: [LDM #EZK-400759]: Problem inserting int ldm prod queue - reg.
- Date: Fri, 18 Mar 2011 14:02:26 -0600
Sathya,
> The output for pqmon that I sent yesterday was the one generated by
> the command. Also when I executed it, no other process was accessing
> the queue.
Ok.
> Also I tried printing the address returned by pq for each instance and
> it happens to be different. So I tried printing the address of pq by
> running the dvbs_multicast / readnoaaport. To our surprise, we saw the
> different addresses printed for each instance of readnoaaport.
Forgive me, but I don't understand. What "address"? By "pq" do you mean the
pq(3) library? What's an "instance"?
> Also I tried the options of deleting and re-creating the queue. Also
> except for insert_prod_2_ldm process, I do not start any other process
> via ldmd.conf.
Ok.
> I am also attaching the code for insert_prod_2_ldm process. All this
> code does is
>
> - read the entries from the pipe
> - read the file contents into the memory
> - populate the fields of product strucuture
> - If pq NULL, then open pq in PQ_DEFAULT mode
> - Otherwise Insert the product
> - Delete the file from directory
> - Close the pipe
> - Close the queue
> - Exit
>
> Let me know where I go wrong while trying to insert into the prod.
> queue.
I'll take a look.
> Thanks,
> Sathya.
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: EZK-400759
Department: Support LDM
Priority: Normal
Status: Closed