Fixed
Details
Assignee
Matt BrozowskiMatt BrozowskiReporter
Antonio RussoAntonio RussoComponents
Fix versions
Affects versions
Priority
Major
Details
Details
Assignee
Matt Brozowski
Matt BrozowskiReporter
Antonio Russo
Antonio RussoComponents
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created April 26, 2011 at 2:02 PM
Updated January 27, 2017 at 4:21 PM
Resolved April 30, 2011 at 9:05 AM
m experimenting the too many open file trouble with 1.8.11 on debian.
I set up the ulimit to:
Maximum file Descriptors + 1to be setted by ulimit -n
#MAXIMUM_FILE_DESCRIPTORS=81920
MAXIMUM_FILE_DESCRIPTORS=512000
maximum size of stack segment (in kbytes) to be setted by ulimit -s
MAXIMUM_SIZE_STACK_SEGMENT=8192
But it seems that I reach the 512.000 open file in 4 days of work.
This is not a special installation....I have provisioned 2000 nodes.
I only poll ICMP every 5 minutes And only on SnmpPrimary Interface but on 600 nodes every 2 minutes.
Yeah I do response time graphs. .
Also I have SnmpPoller active on 13671 snmp interfaces.
And I also do Snmp Data Collection over 18008 interfaces.
So I suspect that there is some leak somewhere!
Here is some simple statistics I'm running...
mar 26 apr 2011, 10.29.09, CEST found open socket 1904 - found open pipe 38022
mar 26 apr 2011, 10.34.11, CEST found open socket 2056 - found open pipe 41142
You see that open socket and open pipe every 5 minutes increase...
On 5 minutes I guess should be stable....
Well, the most important thing: opennms is running
Here is the startup settings:
=== OpenNMS Complimentary Thread Dump ===
------------------------------------------------------------------------------ mar 26 apr 2011, 16.39.25, CEST
begin ulimit settings:
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
coredump(blocks) 0
memory(kbytes) unlimited
locked memory(kbytes) 64
process 256842
nofiles 512000
vmemory(kbytes) unlimited
locks unlimited
end ulimit settings
Executing command: /usr/share/opennms/bin/runjava -r – -Djava.endorsed.dirs=/usr/share/opennms/lib/endorsed -Dopennms.home=/usr/share/opennms -Dcom.sun.management.jmxremote.port=18980 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Xmx8192m -Djava.net.preferIPv4Stack=true -Dorg.mortbay.jetty.Request.maxFormContentSize=300000 -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC -XX:PermSize=128m -XX:LargePageSizeInBytes=4m -XX:MaxPermSize=512m -Dcom.sun.management.jmxremote=true -jar /usr/share/opennms/lib/opennms_bootstrap.jar start