• cannot get the login page

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #38477  by nigyel
 
Hello,

I am using openKm version 6.3.0 and it has been working fine till now. All of a sudden without any changes I notice that the login page loads very very slow and sometimes it doesnot loads at all...
I am attaching the catalina logs below. Please help...
Code: Select all
2015-04-07 17:55:19,351 [Thread-16] WARN  com.openkm.extractor.PdfTextExtractor- Failed to extract PDF text content
org.apache.pdfbox.exceptions.WrappedIOException
	at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:240)
	at com.openkm.extractor.PdfTextExtractor.extractText(PdfTextExtractor.java:64)
	at com.openkm.extractor.RegisteredExtractors.getText(RegisteredExtractors.java:214)
	at com.openkm.extractor.RegisteredExtractors.getText(RegisteredExtractors.java:173)
	at com.openkm.dao.NodeDocumentDAO.textExtractorHelper(NodeDocumentDAO.java:1343)
	at com.openkm.extractor.TextExtractorWorker.processSerial(TextExtractorWorker.java:164)
	at com.openkm.extractor.TextExtractorWorker.processQueue(TextExtractorWorker.java:149)
	at com.openkm.extractor.TextExtractorWorker.run(TextExtractorWorker.java:100)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at bsh.Reflect.invokeMethod(Reflect.java:134)
	at bsh.Reflect.invokeObjectMethod(Reflect.java:80)
	at bsh.BSHPrimarySuffix.doName(BSHPrimarySuffix.java:176)
	at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:120)
	at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:80)
	at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
	at bsh.Interpreter.eval(Interpreter.java:645)
	at bsh.Interpreter.eval(Interpreter.java:739)
	at bsh.Interpreter.eval(Interpreter.java:728)
	at com.openkm.util.ExecutionUtils.runScript(ExecutionUtils.java:112)
	at com.openkm.core.Cron$RunnerBsh.run(Cron.java:103)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.OutOfMemoryError: Java heap space
	at org.apache.pdfbox.io.RandomAccessBuffer.expandBuffer(RandomAccessBuffer.java:151)
	at org.apache.pdfbox.io.RandomAccessBuffer.write(RandomAccessBuffer.java:131)
	at org.apache.pdfbox.io.RandomAccessFileOutputStream.write(RandomAccessFileOutputStream.java:108)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
	at java.io.FilterOutputStream.close(FilterOutputStream.java:157)
	at org.apache.pdfbox.pdfparser.BaseParser.parseCOSStream(BaseParser.java:448)
	at org.apache.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:552)
	at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:184)
	... 23 more
Thanks,
Nig.
Last edited by nigyel on Wed Apr 08, 2015 5:15 am, edited 1 time in total.
 #38534  by jllort
 
Describe your hardware and OS.
Post here your setenv.sh or setenv.bat configuration parameteres.
What kind of files are you indexing ( size, and number of pages ).
Do you got other software installed on your computer ? have enought resources free ?
 #38537  by nigyel
 
Dearv Jllort,

Please find below response to your queries:
Describe your hardware and OS.
Ubuntu 14.04 installed in DellPoweredge R610
Post here your setenv.sh or setenv.bat configuration parameteres.
attached.
What kind of files are you indexing ( size, and number of pages ).
only .pdf files 130000 files
Do you got other software installed on your computer ? have enought resources free ?
No, HDD is 1TB and system RAM is 16GB.

So far for the past 8 months everything was working fine and all of a sudden the system became slow and also the login page shows up sometimes, even if it loads the speed is very very slow.. I thought of reinstalling the openKM but the export repository is not working, just seeing connecting to localhost in the frontend and in backend noting shows up

please help.

Thanks,
Ng
Attachments
(468 Bytes) Downloaded 221 times
setenv.sh or setenv.bat
(10.51 KiB) Downloaded 194 times
 #38562  by jllort
 
In your setenv.sh
Code: Select all
JAVA_OPTS="$JAVA_OPTS -Xms256m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC"
change to
Code: Select all
JAVA_OPTS="$JAVA_OPTS -Xms256m -Xmx4096m -XX:PermSize=256m -XX:MaxPermSize=1024m -XX:+UseConcMarkSweepGC"
You openkm was using only 2GB of ram a 500mb of heap ( probably now for some reason while processing some file is needed more heap ). Depending the number of concurrent users and what are you doing this parameters should be increased, take it as starting point.
 #38573  by nigyel
 
Dear Jllort,

Thank you for the solution. I changed the settings in setenv.sh. Now I can login from my local PC, but cannot from other machine, login page not coming up. I will check my repository export and update you.I am attaching the latest logs.
Regards, :)
Ng.
Attachments
(10.81 KiB) Downloaded 217 times
 #38580  by nigyel
 
Dear Jllort,

Everything seems to be normal now, but cannot get the login screen from other machines...
Any idea where to check?

Thanks,
Ng.

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.