[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-install
Subject:    Re: [opennms-install] UNCATEGORIZED: Error ... Too many open files
From:       Guoben Li <guobenl () yahoo ! com>
Date:       2005-10-27 21:35:59
Message-ID: 20051027213600.42959.qmail () web30513 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

--- DJ Gregor <dgregor@interhack.com> wrote:

> 1) Limit file descriptor usage so that it stays
> below 256, so that the  
> fopen will work.  This would probably mean less
> polling, 

I tried several ways. Only one significantly reduced
the number of "Too many open file" errors. That's is
to comment many "<mibObj oid=.../>" in file
datacollection-config.xml. But still there are
hundreds, sometimes over a couple of thousands such
errors per hour in uncategorized.log.

> 2) See if rrdtool 1.2 uses something other than
> stdio for doing its  
> I/O, which would remove the limitation on the file
> descriptors that it  
> can use.

Please let me how?

> 
> 4) If you are feeling adventurous, I have Java code
> that calls rrdtool  
> over a pipe, which I would help you hack into
> OpenNMS.  The rrdtool  
> command would be in a separate process, and it would
> only have a  
> handful of file descriptors open (probably one 3-4).
>  This is probably  
> the most difficult option, but might be the best if
> you don't want to  
> switch to JRobin, which includes either throwing
> away our existing RRDs  
> or converting them.

Now I think I need to try this with your help.

Thank you!

Guoben Li


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic