Page 1 of 1

Slowness of the application at times

Posted: Fri Apr 09, 2021 6:01 pm
by kouadio
I have installed OpenKM version 6.3.10 on Debian 10. Apparently, everything is fine but I notice that the server is super slow and especially when I copy a file. I installed the application in a Vmware Esxi virtualized environment and the virtual machine has 8GB of RAM. This is just a test environment, to say that the server hosting the application is not saturated.
What settings could I change to improve the performance of my server?

Re: Slowness of the application at times

Posted: Sat Apr 10, 2021 6:47 pm
by jllort
What is the size of the document you are uploading?
What kind of document are you uploading?
What is super slow -> the uploading -> or while uploading the application is whole affected?
Did you enable antivirus or a similar feature?
Did you change any administration parameters in the Administration > Configuration parameters?

Re: Slowness of the application at times

Posted: Mon Apr 12, 2021 12:09 pm
by kouadio
I had activated the clamav antivirus. I deactivated it and the behaviour is better.
Thank you very much.

Re: Slowness of the application at times

Posted: Sun Apr 18, 2021 6:23 am
by jllort
In the professional edition we added a new behavior -> the antivirus process run in the background like text extractor queue to do not penalize operations like document uploading. Currently, this feature has not been moved to the community edition.

Re: Slowness of the application at times

Posted: Mon May 10, 2021 2:29 pm
by kouadio
After deactivating the antivirus, importing files is easier. However, at times the application seems to be blocked for all users. And after a while, as if by magic, everything is suddenly released and the application resumes its normal operation. Where did I go wrong with the configuration?

Re: Slowness of the application at times

Posted: Fri May 14, 2021 5:36 pm
by jllort
Maybe because lucene search engine is configured in real time. Each time upload document, change metadata, etc... the lucene search engine works in background but in the same threat. We observe in repositories with huge parallel changes may cause some lock. You can configure search engine in asynchronous mode -> only consider change may take some seconds ( or not ) to be applied but in the other hand sure the search engine will not lock regular operations.

Seems this feature is not available in CE ( only in professional from version 6.4 but we can try to introduce there ) -> https://docs.openkm.com/kcenter/view/ok ... eters.html ( look for hibernate.search.worker.execution ). If you are interested on it, please add a issue at https://github.com/openkm/document-mana ... tem/issues