JIRA Ticketer: java.net.SocketException: Too many open files

Description

I've come across an issue with the jira plugin, where after some time i get a bunch of "java.net.SocketException: Too many open files" errors. If I run 'lsof -p java-pid |wc -l' it returns 21330, forcing me to kill java and restart OpenNMS to get it working again. Attached is the output of 'lsof -p java-pid'

Also, when I stop the jira plugin everything returns to normal and the open files stays hovering around 2500.

OpenNMS version: 18.0.2

Environment

Ubuntu 15.04

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Show:

Markus von Rüden January 19, 2017 at 10:13 AM

I looked into it, and yep, we do not close the http connection once opened.
See PR https://github.com/OpenNMS/opennms/pull/1238 for the patch.
Thanks for reporting the issue.

Markus von Rüden January 18, 2017 at 11:15 AM
Edited

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created December 9, 2016 at 11:07 AM
Updated August 7, 2017 at 1:13 PM
Resolved January 19, 2017 at 5:27 PM