freeipmi-devel
[Top][All Lists]
Advanced

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

Re: [Freeipmi-devel] Large number of hosts in ipmiseld


From: Albert Chu
Subject: Re: [Freeipmi-devel] Large number of hosts in ipmiseld
Date: Tue, 02 Feb 2016 13:22:16 -0800

On Tue, 2016-02-02 at 11:45 -0800, Kilian Cavalotti wrote:
> Hi Albert,
> 
> Thanks for your lightning-fast reply.
> 
> On Tue, Feb 2, 2016 at 11:36 AM, Albert Chu <address@hidden> wrote:
> > I'm a little surprised you got that error.  I'll see if I can reproduce
> > on my end and see what I can come up with.  Specifying on multiple lines
> > seems like something that can be done too.
> 
> That would be awesome.
> 
> > I assume you're listing a very large list of hosts with comma
> > separation?  In your environment are you not able to list via range
> > format?  i.e. node[0-21]?
> 
> I actually use the range format, like this:
> hostname = 
> ipmi-sh-22-[1-36],ipmi-sh-23-[1-36],ipmi-sh-24-[1-36],ipmi-sh-8-[1-37]
> 
> It looks like the limit may be at 512 characters.

Looking at the conf file parsing lib (common/miscutil/conffile.h)

/* LENGTHS                                                                      
                                                                                
                                              
 *                                                                              
                                                                                
                                              
 * The following are the maximum values and lengths throughout                  
                                                                                
                                              
 * the conffile parser.                                                         
                                                                                
                                              
 */

#define CONFFILE_MAX_LINELEN                  32778
#define CONFFILE_MAX_OPTIONNAMELEN              256
#define CONFFILE_MAX_ARGS                        64
#define CONFFILE_MAX_ARGLEN                     512
#define CONFFILE_MAX_ERRMSGLEN                 1024

A jump from 512 to 1024 would probably fix this.  You could try this as
a quick fix and recompile.

Al

> Cheers,
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory





reply via email to

[Prev in Thread] Current Thread [Next in Thread]