[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #ODQ-499209]: Increasing the LDM product queue size past 4G



James,

> I tried to increase the product queue size to 12G on a new LDM server
> and I received the error that the file was too large.
> 
> [ldm@dc-ldm2-new ~]$ ldmadmin mkqueue -f
> Apr 30 23:10:30 pqcreate[20619] ERROR: ctl_init(): Data portion of
> file is too big for one region
> pqcreate: create "/usr/local/ldm/ldm.pq" failed: File too large
> Apr 30 23:10:30 UTC dc-ldm2-new.tamu.edu : make_pq: mkqueue failed

The error-message means that a "size_t" datatype isn't capacious
enough to hold the number of bytes in the data-portion of the
product-queue.  This is most likely because a "size_t" on your
system has only 32 bits.

> The only lead I found to this problem is available at
> 
> http://www.unidata.ucar.edu/support/help/MailArchives/ldm/msg04408.html
> 
> I am running a 64-bit OS, CentOS 4.4 x86_64 to be more precise.  More
> information about the machine is located below.
> 
> [ldm@dc-ldm2-new ~]$ uname -a
> Linux dc-ldm2-new.tamu.edu 2.6.9-42.0.10.plus.c4smp #1 SMP Tue Feb 27
> 16:39:11 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

It seems odd that a 64-bit system would have a 32-bit "size_t".
Would you mind checking this out?  I would start with the
following command:

    grep -rw size_t /usr/include

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: ODQ-499209
Department: Support LDM
Priority: Normal
Status: On Hold