Hi,
A couple of days my confluence server stopped responding and i cannot understand why. generally there will be an error in the logs but when i restart there is no error and doing a net-stat shows nothing binded to the port
It is running on an 8GB RAM VPS and i am the only user on the server. It been working for 2 years without issue. There are plenty resources available . I have noticed that thee CPU stats are maxing out since the confluence server stopped responding. The service using the CPU resources is funny enough a confluence service but i'm not sure what confluence service is consuming 100% CPU or even if this is the issue why my server is not responding.
The startup logs (catalina.out) show the following after a restart: (I have restarted several times)
18-Apr-2019 20:30:42.841 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.
18-Apr-2019 20:30:42.957 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.
18-Apr-2019 20:30:42.974 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.
18-Apr-2019 20:30:42.988 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.
18-Apr-2019 20:30:43.045 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
18-Apr-2019 20:30:43.083 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
18-Apr-2019 20:30:43.626 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]
18-Apr-2019 20:30:43.665 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
18-Apr-2019 20:30:43.676 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 975 ms
18-Apr-2019 20:30:43.685 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone
18-Apr-2019 20:30:43.685 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.51It seems to never go past this stage
My server.xml shows:
Server port="8000" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat-Standalone">
<!--
==============================================================================================================
DEFAULT - Direct connector with no proxy, for unproxied HTTP access to Confluence.
If using a http/https proxy, comment out this connector.
==============================================================================================================
-->
<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"/>
A netstat shows the following: [netstat -tulpn | grep LISTEN]
root@wiki:/opt/atlassian/confluence/bin# netstat -tulpn | grep LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1465/sshd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 1619/postgres
tcp6 0 0 :::8091 :::* LISTEN 2180/java
tcp6 0 0 127.0.0.1:8005 :::* LISTEN 1657/java
tcp6 0 0 :::8080 :::* LISTEN 1657/java
tcp6 0 0 :::22 :::* LISTEN 1465/sshd
no confluence?? which makes sense why curl http://localhost:8090 or curl http://localhost:80 says connection refused
The CPU usage shows the following:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3108 conflue+ 20 0 253040 6384 0 S 196.0 0.2 11693:13
What is this service consuming all my cpu??
I'm hoping somebody can assist me?
Kind regards,
keith