[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-devel] Large number of hosts in ipmiseld
From: |
Al Chu |
Subject: |
Re: [Freeipmi-devel] Large number of hosts in ipmiseld |
Date: |
Tue, 02 Feb 2016 16:25:07 -0800 |
So looking things over, the reason it doesn't support multiple inputs is
due to a architectural decision, mostly lifting conf-file parsing from
many of the other FreeIPMI tools.
Perhaps not the prettiest, but I think the simplest fix is to increase
the max size listed below. Could you give it a try? If you need a
patch I can provide one for you.
Al
On Tue, 2016-02-02 at 13:22 -0800, Albert Chu wrote:
> 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,
- [Freeipmi-devel] Large number of hosts in ipmiseld, Kilian Cavalotti, 2016/02/02
- Re: [Freeipmi-devel] Large number of hosts in ipmiseld, Albert Chu, 2016/02/02
- Re: [Freeipmi-devel] Large number of hosts in ipmiseld, Kilian Cavalotti, 2016/02/02
- Re: [Freeipmi-devel] Large number of hosts in ipmiseld, Albert Chu, 2016/02/02
- Re: [Freeipmi-devel] Large number of hosts in ipmiseld,
Al Chu <=
- Re: [Freeipmi-devel] Large number of hosts in ipmiseld, Kilian Cavalotti, 2016/02/02
- Re: [Freeipmi-devel] Large number of hosts in ipmiseld, Kilian Cavalotti, 2016/02/03
- Re: [Freeipmi-devel] Large number of hosts in ipmiseld, Chu, Al, 2016/02/03