You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Andrea Patricelli (JIRA)" <ji...@apache.org> on 2017/02/17 16:28:41 UTC

[jira] [Commented] (SYNCOPE-1017) too many open files (tcp connections)

    [ https://issues.apache.org/jira/browse/SYNCOPE-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872062#comment-15872062 ] 

Andrea Patricelli commented on SYNCOPE-1017:
--------------------------------------------

Hi Georg,

I think that this is due to the Syncope Console Java application nature.
I guess that the open files are the compiled sources contained into the .war file of the Syncope Console application.
I suggest you to increase the max number of (possible) open files on the machine where Syncope is deployed, like explained in [1], and restart your application server.

[1] https://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/

> too many open files (tcp connections)
> -------------------------------------
>
>                 Key: SYNCOPE-1017
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1017
>             Project: Syncope
>          Issue Type: Bug
>          Components: console
>    Affects Versions: 2.0.2
>         Environment: linux
>            Reporter: georg
>            Priority: Minor
>         Attachments: console.log.gz
>
>
> i work with only one user and after one hour i get too many open files with state CLOSE_WAIT:
> tcp6       1      0 130.255.78.128:49500    130.255.78.128:8080     CLOSE_WAIT  20014/java
> tcp6       8      0 130.255.78.128:53026    130.255.78.128:8080     CLOSE_WAIT  20014/java
> tcp6       8      0 130.255.78.128:46512    130.255.78.128:8080     CLOSE_WAIT  20014/java
> tcp6       8      0 130.255.78.128:48472    130.255.78.128:8080     CLOSE_WAIT  20014/java
> tcp6       8      0 130.255.78.128:48086    130.255.78.128:8080     CLOSE_WAIT  20014/java
> tcp6       6      0 130.255.78.128:48460    130.255.78.128:8080     CLOSE_WAIT  20014/java
> tcp6       8      0 130.255.78.128:47130    130.255.78.128:8080     CLOSE_WAIT  20014/java
> tcp6       8      0 130.255.78.128:51704    130.255.78.128:8080     CLOSE_WAIT  20014/java
> tcp6       8      0 130.255.78.128:37098    130.255.78.128:8080     CLOSE_WAIT  20014/java
>  ps -ef |grep 20014
> tomcat8  20014     1  8 13:31 ?        00:13:35 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat8/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC -Djava.endorsed.dirs=/usr/share/tomcat8/endorsed -classpath /usr/share/tomcat8/bin/bootstrap.jar:/usr/share/tomcat8/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat8 -Dcatalina.home=/usr/share/tomcat8 -Djava.io.tmpdir=/tmp/tomcat8-tomcat8-tmp org.apache.catalina.startup.Bootstrap start



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)