Re: [ldm-users] ldmd.conf maximum line length?

  • To: Art Wildman - NOAA Federal <art.wildman@xxxxxxxx>
  • Subject: Re: [ldm-users] ldmd.conf maximum line length?
  • From: daryl herzmann <akrherz@xxxxxxxxxxx>
  • Date: Wed, 31 Aug 2016 21:35:59 -0500
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=akrherz@xxxxxxxxxxx;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99
Greetings,

This poked my curiosity, so it appears that while you can set a larger than 255 character regular expression in ldmd.conf, this pattern will later fail at the RPC level when it is attempted to be used.

https://github.com/Unidata/LDM/blob/master/protocol/ldm.x#L423

When I set such a pattern for a ldmd.conf request, the upstream connection fails with

20160901T021846.586897Z upstream[20609] NOTE error.c:236:err_log() Upstream LDM didn't reply to FEEDME request; RPC: Can't encode arguments

upstream simply logs

20160901T023231.472245Z downstream[32130] NOTE ldmd.c:187:cleanup() Exiting


daryl


On Wed, 31 Aug 2016, Art Wildman - NOAA Federal wrote:

From some comments in my ldmd.conf...
# Do not allow lines to exceed 255 characters, Tony Freeman email - 20140828
# SR LDM Policy: Combine LDM Feed Requests as BW efficient as possible.
#==============================================================

Tony's email on EMCWF had a link here...
https://collaborate.werh.noaa.gov/trac/er_awips_apps/browser/ER_AWIPS_apps/trunk/ECMWFmos/ldm.ecmos

-HTH, Art

Art Wildman/ITO - NWS-JAX http://weather.gov/jax/ - 904-741-5186 x-235

On Wed, Aug 31, 2016 at 10:28 AM, Matthew Foster - NOAA Federal <
matthew.foster@xxxxxxxx> wrote:

What is the maximum line length (and/or pattern length) for entries in
ldmd.conf?

Thanks

Matt


--
Matt Foster
Techniques Development Meteorologist
NWS Central Region Headquarters, Scientific Services Division / STI
Kansas City, MO
Office: 816-268-3113


_______________________________________________
NOTE: All exchanges posted to Unidata maintained email lists are
recorded in the Unidata inquiry tracking system and made publicly
available through the web.  Users who post to any of the lists we
maintain are reminded to remove any personal information that they
do not want to be made public.


ldm-users mailing list
ldm-users@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit:
http://www.unidata.ucar.edu/mailing_lists/



--
/**
 * daryl herzmann
 * Systems Analyst III -- Iowa Environmental Mesonet
 * https://mesonet.agron.iastate.edu
 */



  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: