• The CPU is 85-95% occupied from time to time

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #42596  by e.mueller
 
Hi,

The CPU is 85-95% occupied from time to time. I have the following configuration:
OpenKM Version: 6.3.0 (build: 8156)
OS: Ubuntu Version 14.04.5 LTS
4 vCPU on a VMWare Server
3072 MB Memory
60 HB Hard-Disk
- The Ectractions Queue is empty.
- JAVA_OPTS="$JAVA_OPTS -Xms256m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m"
- When i stop the Crontab-Job "Text Extractor Worker", than is the CPU Utilzation already normal.
- When I restart the "text ectractor" job is the problem after 4-5 hours again active.
- Do you have an idea for a solution or the cause of finding?
Attachments
Bildschirmfoto 2016-11-17 um 13.45.15.png
Bildschirmfoto 2016-11-17 um 13.45.15.png (124.2 KiB) Viewed 4971 times
Bildschirmfoto 2016-11-17 um 13.56.41.png
Bildschirmfoto 2016-11-17 um 13.56.41.png (127.34 KiB) Viewed 4971 times
Bildschirmfoto 2016-11-17 um 14.10.01.png
Bildschirmfoto 2016-11-17 um 14.10.01.png (78.44 KiB) Viewed 4971 times
 #42601  by jllort
 
Enable text.extraction.concurrent for using all the cpu's ( not only one for indexing ).

If text extraction queue is empty then this is not the problem. Look for soffice process ( might be a document which consumes a lot of cpu while conversion document to pdf before previewing -> documents are converted to pdf for previewing ) or a convert.exe.

Note: killing soffice process you'll discover if this is the problem, but obviously killing the process the previewing feature will be affected and you will need restarting openkm service again.

I see that your computer is based in Linux. 3GB probably is not much you are giving only 1 GB free for OS, database and thirdparty tools I suggest upgrade with 1GB more.
 #42633  by jllort
 
You have a load of 3.7 this is so much. When I see this high number usually I think in disk usage. With OpenKM stopped I understand the cpu usage is normal, less than 1 no ? I suggest stop all OpenKM crontab task, then stop OpenKM and start again. Ensure then the task are still stopped.

About stopping OpenKM, needs a lot of time for stopping ?
 #42662  by e.mueller
 
Thanks for the answer,
I will stop all crontab jobs and then shut down tomcat and restart.
you see the log-Files and Print-Screens in the append.
BR
Ernst
Attachments
Bildschirmfoto 2016-11-28 um 15.15.09.png
Bildschirmfoto 2016-11-28 um 15.15.09.png (205.06 KiB) Viewed 4931 times
Bildschirmfoto 2016-11-28 um 15.15.44.png
Bildschirmfoto 2016-11-28 um 15.15.44.png (117.92 KiB) Viewed 4931 times
Bildschirmfoto 2016-11-28 um 15.17.29.png
Bildschirmfoto 2016-11-28 um 15.17.29.png (156.27 KiB) Viewed 4931 times
 #42663  by e.mueller
 
Copy of Logfile:
Code: Select all
2016-11-26 19:22:20,808 [http-bio-0.0.0.0-8080-exec-15] INFO  com.bradmcevoy.http.HttpManager- PROPFIND :: http://www.dms-ejv.ch/OpenKM/webdav/ - http://www.dms-ejv.ch/OpenKM/webdav/
2016-11-26 19:22:21,420 [http-bio-0.0.0.0-8080-exec-4] INFO  com.bradmcevoy.http.HttpManager- PROPFIND :: http://www.dms-ejv.ch/OpenKM/webdav/ - http://www.dms-ejv.ch/OpenKM/webdav/
2016-11-26 19:39:54,486 [http-bio-0.0.0.0-8080-exec-3] INFO  com.bradmcevoy.http.HttpManager- PROPFIND :: http://www.dms-ejv.ch/OpenKM/webdav/ - http://www.dms-ejv.ch/OpenKM/webdav/
2016-11-26 22:04:23,735 [http-bio-0.0.0.0-8080-exec-17] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OpenKM]- Exception while dispatching incoming RPC call
javax.servlet.ServletException: Content-Type was '(null)'. Expected 'text/x-gwt-rpc'.
	at com.google.gwt.user.server.rpc.RPCServletUtils.checkContentTypeIgnoreCase(RPCServletUtils.java:427)
	at com.google.gwt.user.server.rpc.RPCServletUtils.readContent(RPCServletUtils.java:160)
	at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsGwtRpc(RPCServletUtils.java:205)
	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.readContent(AbstractRemoteServiceServlet.java:182)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:239)
	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
2016-11-27 00:00:00,789 [Thread-2526] INFO  com.openkm.cache.UserItemsManager- *** Begin refresh user items ***
2016-11-27 00:00:00,790 [Thread-2526] INFO  com.openkm.cache.UserItemsManager- Calculate user content info from 'okm:root'...
Exception in thread "http-bio-0.0.0.0-8080-exec-96" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Crontab Manager" Exception in thread "http-bio-0.0.0.0-8080-exec-99" 	at org.apache.tomcat.util.buf.CharChunk.allocate(CharChunk.java:130)
	at org.apache.tomcat.util.buf.CharChunk.<init>(CharChunk.java:84)
	at org.apache.catalina.connector.OutputBuffer.<init>(OutputBuffer.java:174)
	at org.apache.catalina.connector.OutputBuffer.<init>(OutputBuffer.java:159)
	at org.apache.catalina.connector.Response.setConnector(Response.java:151)
2016-11-27 05:56:09,100 [http-bio-0.0.0.0-8080-exec-84] INFO  com.bradmcevoy.http.HttpManager- PROPFIND :: http://www.dms-ejv.ch/OpenKM/webdav/ - http://www.dms-ejv.ch/OpenKM/webdav/
	at org.apache.catalina.connector.Connector.createResponse(Connector.java:896)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:374)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
Exception in thread "http-bio-0.0.0.0-8080-exec-101" Exception in thread "http-bio-0.0.0.0-8080-exec-100" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Timer-0"
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space2016-11-27 06:18:37,098 [http-bio-0.0.0.0-8080-exec-75] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/].[jsp]- Servlet.service() for servlet [jsp] in context with path [] threw exception [javax.servlet.ServletException: java.lang.OutOfMemoryError: Java heap space] with root cause
java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space
	at org.apache.tomcat.util.buf.CharChunk.allocate(CharChunk.java:130)
	at org.apache.tomcat.util.buf.CharChunk.<init>(CharChunk.java:84)
	at org.apache.catalina.connector.OutputBuffer.<init>(OutputBuffer.java:174)
	at org.apache.catalina.connector.OutputBuffer.<init>(OutputBuffer.java:159)
	at org.apache.catalina.connector.Response.setConnector(Response.java:151)
	at org.apache.catalina.connector.Connector.createResponse(Connector.java:896)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:374)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Exception in thread "http-bio-0.0.0.0-8080-Acceptor-0" java.lang.OutOfMemoryError: Java heap space
	at com.kenai.crontabparser.impl.SimpleCharStream.<init>(SimpleCharStream.java:263)
	at com.kenai.crontabparser.impl.SimpleCharStream.<init>(SimpleCharStream.java:270)
	at com.kenai.crontabparser.impl.CronTabParser.<init>(CronTabParser.java:1029)
	at com.kenai.crontabparser.impl.CronTabParser.<init>(CronTabParser.java:12)
	at com.kenai.crontabparser.impl.CronTabParserBridge.parse(CronTabParserBridge.java:28)
	at com.kenai.crontabparser.CronTabExpression.parse(CronTabExpression.java:231)
	at com.openkm.core.Cron.run(Cron.java:52)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
java.lang.OutOfMemoryError: Java heap space
Exception in thread "http-bio-0.0.0.0-8080-exec-108" 2016-11-27 06:19:00,621 [http-bio-0.0.0.0-8080-exec-90] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OpenKM].[jsp]- Servlet.service() for servlet [jsp] in context with path [/OpenKM] threw exception [javax.servlet.ServletException: java.lang.OutOfMemoryError: Java heap space] with root cause
java.lang.OutOfMemoryError: Java heap space
2016-11-27 06:18:59,346 [http-bio-0.0.0.0-8080-exec-35] INFO  com.bradmcevoy.http.HttpManager- PROPFIND :: http://www.dms-ejv.ch/OpenKM/webdav/ - http://www.dms-ejv.ch/OpenKM/webdav/
java.lang.OutOfMemoryError: Java heap space
Exception in thread "Update Info" java.lang.OutOfMemoryError: Java heap space
2016-11-27 12:42:13,121 [http-bio-0.0.0.0-8080-exec-82] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader- Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
2016-11-27 12:42:13,190 [Thread-2526] WARN  com.openkm.core.Cron- Error executing crontab task 'Refresh User Items': Sourced file: inline evaluation of: ``com.openkm.cache.UserItemsManager.refreshDbUserItems();'' : Method Invocation com.openkm.cache.UserItemsManager.refreshDbUserItems : at Line: 1 : in file: inline evaluation of: ``com.openkm.cache.UserItemsManager.refreshDbUserItems();'' : com .openkm .cache .UserItemsManager .refreshDbUserItems ( ) 

Target exception: java.lang.OutOfMemoryError: Java heap space

DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 465, isSSL false
2016-11-27 12:42:13,265 [http-bio-0.0.0.0-8080-exec-82] INFO  org.springframework.jdbc.support.SQLErrorCodesFactory- SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
220 smtp.gmail.com ESMTP v202sm23039797wmv.8 - gsmtp
DEBUG SMTP: connected to host "smtp.gmail.com", port: 465

EHLO t09c01srv02
250-smtp.gmail.com at your service, [213.221.202.39]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
DEBUG SMTP: Found extension "SIZE", arg "35882577"
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH"
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "CHUNKING", arg ""
DEBUG SMTP: Found extension "SMTPUTF8", arg ""
DEBUG SMTP: STARTTLS requested but already using SSL
DEBUG SMTP: Attempt to authenticate using mechanisms: LOGIN PLAIN DIGEST-MD5 NTLM 
DEBUG SMTP: AUTH LOGIN command trace suppressed
DEBUG SMTP: AUTH LOGIN succeeded
DEBUG SMTP: use8bit false
MAIL FROM:<dms.ejv@gmail.com>
250 2.1.0 OK v202sm23039797wmv.8 - gsmtp
RCPT TO:<noreply@openkm.com>
250 2.1.5 OK v202sm23039797wmv.8 - gsmtp
DEBUG SMTP: Verified Addresses
DEBUG SMTP:   noreply@openkm.com
DATA
354  Go ahead v202sm23039797wmv.8 - gsmtp
Date: Sun, 27 Nov 2016 12:42:13 +0100 (CET)
From: root@t09c01srv02
To: noreply@openkm.com
Message-ID: <1023152214.20.1480246933191.JavaMail.root@t09c01srv02>
Subject: Cron task 'Refresh User Items' executed - Error
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_18_503216402.1480246933191"
Charset: UTF-8

------=_Part_18_503216402.1480246933191
Content-Type: text/html;charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type"/>
</head>
<body>
Sourced file: inline evaluation of: ``com.openkm.cache.UserItemsManager.refreshDbUserItems();'' : Method Invocation com.openkm.cache.UserItemsManager.refreshDbUserItems : at Line: 1 : in file: inline evaluation of: ``com.openkm.cache.UserItemsManager.refreshDbUserItems();'' : com .openkm .cache .UserItemsManager .refreshDbUserItems ( ) 

Target exception: java.lang.OutOfMemoryError: Java heap space

</body>
</html>
------=_Part_18_503216402.1480246933191--
.
250 2.0.0 OK 1480246934 v202sm23039797wmv.8 - gsmtp
QUIT
2016-11-28 08:32:26,244 [main] INFO  org.apache.catalina.core.StandardServer- A valid shutdown command was received via the shutdown port. Stopping the Server instance.
2016-11-28 08:32:26,258 [main] INFO  org.apache.coyote.http11.Http11Protocol- Pausing ProtocolHandler ["http-bio-0.0.0.0-8080"]
2016-11-28 08:32:27,261 [main] INFO  org.apache.coyote.ajp.AjpProtocol- Pausing ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
2016-11-28 08:32:27,262 [main] INFO  org.apache.catalina.core.StandardService- Stopping service Catalina
2016-11-28 08:32:27,307 [localhost-startStop-2] INFO  org.apache.catalina.core.StandardWrapper- Waiting for 1 instance(s) to be deallocated for Servlet [jsp]
2016-11-28 08:32:28,308 [localhost-startStop-2] INFO  org.apache.catalina.core.StandardWrapper- Waiting for 1 instance(s) to be deallocated for Servlet [jsp]
2016-11-28 08:32:29,310 [localhost-startStop-2] INFO  org.apache.catalina.core.StandardWrapper- Waiting for 1 instance(s) to be deallocated for Servlet [jsp]
2016-11-28 08:32:29,465 [localhost-startStop-2] INFO  com.openkm.servlet.RepositoryStartupServlet- *** Shutting down OpenOffice manager ***
2016-11-28 08:32:29,465 [localhost-startStop-2] INFO  org.artofsolving.jodconverter.office.ProcessPoolOfficeManager- stopping
Nov 28, 2016 8:32:29 AM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
Information: stopping
2016-11-28 08:32:29,764 [MessageDispatcher] INFO  org.artofsolving.jodconverter.office.OfficeConnection- disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
Nov 28, 2016 8:32:29 AM org.artofsolving.jodconverter.office.OfficeConnection$1 disposing
Information: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
2016-11-28 08:32:31,000 [OfficeProcessThread-0] INFO  org.artofsolving.jodconverter.office.ManagedOfficeProcess- process exited with code 0
Nov 28, 2016 8:32:31 AM org.artofsolving.jodconverter.office.ManagedOfficeProcess doEnsureProcessExited
Information: process exited with code 0
2016-11-28 08:32:31,030 [localhost-startStop-2] INFO  org.artofsolving.jodconverter.office.ProcessPoolOfficeManager- stopped
Nov 28, 2016 8:32:31 AM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
Information: stopped
2016-11-28 08:32:31,031 [localhost-startStop-2] INFO  com.openkm.servlet.RepositoryStartupServlet- *** Shutting down UI Notification... ***
2016-11-28 08:32:31,031 [localhost-startStop-2] INFO  com.openkm.servlet.RepositoryStartupServlet- *** Shutting down cron... ***
2016-11-28 08:32:31,031 [localhost-startStop-2] INFO  com.openkm.servlet.RepositoryStartupServlet- *** Shutting down update info... ***
2016-11-28 08:32:31,031 [localhost-startStop-2] INFO  com.openkm.servlet.RepositoryStartupServlet- *** Shutting pending task executor... ***
2016-11-28 08:32:31,031 [localhost-startStop-2] INFO  com.openkm.util.pendtask.PendingTaskExecutor- ### All threads shutdown requested ###
2016-11-28 08:32:31,031 [localhost-startStop-2] INFO  com.openkm.util.pendtask.PendingTaskExecutor- ### All threads have finished ###
2016-11-28 08:32:31,031 [localhost-startStop-2] INFO  com.openkm.servlet.RepositoryStartupServlet- *** Shutting down repository... ***
2016-11-28 08:32:31,031 [localhost-startStop-2] INFO  com.openkm.servlet.RepositoryStartupServlet- *** Repository shutted down ***
2016-11-28 08:32:31,031 [localhost-startStop-2] INFO  com.openkm.servlet.RepositoryStartupServlet- *** Execute stop script ***
2016-11-28 08:32:31,031 [localhost-startStop-2] WARN  com.openkm.util.ExecutionUtils- Unable to read script: /opt/openkm-6.3.0-community/tomcat/stop.bsh
2016-11-28 08:32:31,031 [localhost-startStop-2] WARN  com.openkm.util.ExecutionUtils- Unable to read jar: /opt/openkm-6.3.0-community/tomcat/stop.jar
2016-11-28 08:32:31,031 [localhost-startStop-2] INFO  com.openkm.servlet.RepositoryStartupServlet- *** Execute stop SQL ***
2016-11-28 08:32:31,031 [localhost-startStop-2] WARN  com.openkm.servlet.RepositoryStartupServlet- Unable to read sql: /opt/openkm-6.3.0-community/tomcat/stop.sql
2016-11-28 08:32:31,031 [localhost-startStop-2] INFO  com.openkm.servlet.RepositoryStartupServlet- *** Shutting down workflow engine... ***
2016-11-28 08:32:31,308 [localhost-startStop-2] INFO  com.openkm.servlet.RepositoryStartupServlet- *** Hibernate shutdown ***
2016-11-28 08:32:31,312 [localhost-startStop-2] INFO  org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OpenKM]- Closing Spring root WebApplicationContext
2016-11-28 08:32:31,312 [localhost-startStop-2] INFO  org.springframework.web.context.support.XmlWebApplicationContext- Closing Root WebApplicationContext: startup date [Tue Nov 22 20:46:21 CET 2016]; root of context hierarchy
2016-11-28 08:32:31,314 [localhost-startStop-2] INFO
 #42678  by jllort
 
Seems something consumes all the memory available in your computer and it raises the heap error.

Looking in deep for the error:
Code: Select all
java.lang.OutOfMemoryError: Java heap space
Exception in thread "Update Info" java.lang.OutOfMemoryError: Java heap space
This string "Update Info" is used into crontab task. I suspect some crontask is the cause of the problem, but will be dificult identify which one. I suggest stop all of them. And enable one by one, until the problem comes back again. First disable all crontab tasks and get in this state during a day ( the problem raises every day no ? ). If it not raises start enabling one by one the cron tab task until identify the problematic one.

The error seems comes with com.openkm.cache.UserItemsManager.refreshDbUserItems(); and the task might be named "Users Items Serialize"

Which JDK version are you using ?
How many files do you have in your repository.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.