Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Maximum number of LogBooks? Bug?, posted by Mike on Thu Dec 22 14:32:00 2005 
    icon2.gif   Re: Maximum number of LogBooks? Bug?, posted by Stefan Ritt on Thu Dec 22 15:14:39 2005 
       icon7.gif   Re: Maximum number of LogBooks? Bug?, posted by Mike on Thu Dec 22 15:39:23 2005 
Message ID: 1566     Entry time: Thu Dec 22 15:14:39 2005     In reply to: 1565     Reply to this: 1567
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS:   ELOG Version: 2.6.0 
Subject: Re: Maximum number of LogBooks? Bug? 

Mike wrote:
Is there a Maximum number logbooks?

I have run into a problem but I'm not sure if to call it a Bug or not. We have started using Elog to keep a work log for each of our production servers. After a short trial I put generated a config file using groups for all of our servers which is 294 logbooks. Almost every thing works except the config screen. You get a list of all the logbooks with the checkboxes for the email notifications. If you click save (Doesn't make a difference if you make changes or not) you get the following.

Error: Too many parameters (> 120). Cannot perform operation.

I was able to recompile using cygwin under windows after changing MAX_PARAM from 120 to 400. That fixes the problem, but eventually you get a stack overflow.

Any suggestions? I have considered separate instances running 100 logbooks each but I would like to have a global search.

Thanks for a Great tool. I've been using it as a personal log for sometime and was finally able to convince my team we sould use it.


You're really pushing to the limit Wink

The maximum number of logbooks is indeed 120. If you have too many logbooks, they are also hard to handle (too many check boxes in the config page etc.). What if you make not one logbook per server, but have a single logbook and use the server as an attribute, like

Attributes = ..., Server, ...
Options Server = Server1, Server2, ...

Now you can ask: How many options are possible for an attribute, and the answer is 100, which is even less than the number of logbooks. But you can make three logbooks, each covering 100 servers, and that covers your 294 servers.
ELOG V3.1.5-fe60aaf