Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

[LDM #QCH-285545]: Close error with ldmadmin printmetrics



Steve,

> /home/ldm/bin/pqmon does exist.
> 
> It looks like my nondefault queue location is the problem:
> [ldm@ames bin]$ pqmon -l-
> Aug 11 18:52:28 pqmon NOTE: Starting Up (22664)
> Aug 11 18:52:28 pqmon ERROR: pq_open failed: /home/ldm/data/ldm.pq: No
> such file or directory
> Aug 11 18:52:28 pqmon NOTE: Exiting
> [ldm@ames bin]$ pqmon -q /dev/shm/ldm.pq -l-
> Aug 11 18:52:56 pqmon NOTE: Starting Up (22676)
> Aug 11 18:52:56 pqmon NOTE: nprods nfree  nempty      nbytes  maxprods
> maxfree  minempty    maxext  age
> Aug 11 18:52:56 pqmon NOTE: 112118     1    9951   500002056    122069
> 2         0       760 8033
> Aug 11 18:52:56 pqmon NOTE: Exiting
> 
> Since the original problem happened even with
> ldmadmin printmetrics -q /dev/shm/ldm.pq
> it seems like the -q setting should be propagated to the pqmon
> invocation, but isn't.

Just change line 1232 in the ldmadmin(1) script from

    open(FH, "pqmon -l- 2>&1 |") or die "Can't fork(): $!";

to

    open(FH, "pqmon -l- -q $pq_path 2>&1 |") or die "Can't fork(): $!";

This fix will be in the next release.

> -- Steve
> 
> --
> Steve Decker, Assistant Professor
> Department of Environmental Sciences    Phone: (732) 932-9800 x 6203
> Rutgers University                               Fax: (732) 932-8644
> 14 College Farm Rd                  Email: decker@xxxxxxxxxxxxxxxxxx
> New Brunswick, NJ  08901-8551

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: QCH-285545
Department: Support LDM
Priority: Normal
Status: Closed


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690