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

20030919: making a new product queue



>From: Ben Cotton <address@hidden>
>Organization: Purdue
>Keywords: 200309192142.h8JLgAk1008444

Hi Ben,

>Our sysadmin bounced our LDM machine this afternoon in an attempt to get
>our WXP website to work.  I didn't find out til after the fact and so LDM
>was rudely interrupted.  I restarted using the old queue and the sysadmin
>said he was getting "spammed with LDM error messages" on the root screen.
>Everything on the LDM end seemed to be working fine, but I stopped LDM and
>tried to remake the queue.  The ldmadmin script and a manual attempt at
>making a new product queue both yielded this message:
>
>Sep 19 21:38:23 pqcreate[1709]: mmap: 0x0 0 4273569792: Invalid argument
>pqcreate: create "/project/ldm/data/ldm.pq" failed: Invalid argument
>
>Any ideas?

This looks to me like the size of the LDM queue in ~ldm/bin/ldmadmin
was set to be 4 GB instead of 400 MB (one extra zero).  The size
limit for an LDM queue on FreeBSD (thinking that is what you are
trying this on) is 2 GB.

The fix is easy:

- edit ~ldm/bin/ldmdmin and:

change:

$pq_size = 4000000000;

to:

$pq_size = 400000000;

Then, if you havn't already done so, delete the old queue:

cd ~ldm
ldmadmin delqueue

Now, remake the new queue.

ldmadmin mkqueue

If you were using a queue of a different size than the default specified
in ldmadmin, adjust the ldmadmin entry to match what you were using
before running 'ldmadmin mkqueue'.

By the way, what version of the LDM are you running?  If it is not
ldm-6.0.14, please take this opportunity to upgrade now.  If you are
not already returning real time statistics, please add the following
line to your ~ldm/etc/ldmd.conf file:

exec    "rtstats -h rtstats.unidata.ucar.edu"

This should be the last 'exec' line in your ldmd.conf file.

Cheers,

Tom