OpenKM Server is using too much memory

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.
Post Reply
mamad
Expert Boarder
Expert Boarder
Posts: 140
Joined: Mon Jun 25, 2018 5:13 am

OpenKM Server is using too much memory

Post by mamad »

Hi guys
I'm using OpenKM 6.3 community edition with MySQL database
My repository of files consists of about 22000 documents which have taken about 42 GB spaces on hard dick.
I have installed OpenKM on a Debian Linux server with 24 GB of rams and OpenKM (with its requirement like JRE, MySQL,...) is the only system which has been installed on the server (no more software or system has been installed)
A few days ago I felt OpenKM is running a little slow, so I've checked the server resources and to my surprise, I saw that the 23 GB from the 24 GB of server ram has been taken.
Today I checked it again and it was reduced to 13 GB but I think this is still a little unusual because in this situation java at most uses 18 percent of ram and about 1 percent for MySQL.(I have set the maximum ram of tomcat on 4048 MB). It means both MySQL and java should use 19 percent = 4.45 GB of memory. So who is using the rest of Ram? Does the Debian operation system itself may use up to 18 GB of rams while it even has no graphical user interface.

I have provided some screenshots of the situation. Would you please help me to find out what is going on in the server?

screenshot 1: The Statistics tab of OpenKM
4.png

screenshot 2: the result of free -m command
3.png
3.png (6.9 KiB) Viewed 579 times

screenshot 3: the result of htop command
1.png

screenshot 4: the result of top command
2.png

Thank you in advance for your help
mamad
Expert Boarder
Expert Boarder
Posts: 140
Joined: Mon Jun 25, 2018 5:13 am

Re: OpenKM Server is using too much memory

Post by mamad »

I attached the screenshots as a zip file to this reply because of reducing their size duo to attaching as image.
Attachments
screenshots.zip
(480.86 KiB) Downloaded 34 times
jllort
Moderator
Moderator
Posts: 11399
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: OpenKM Server is using too much memory

Post by jllort »

In your first screenshot ( htop ) seems 5,5GB are in use, this is something normal and you have a load of 0.13 ... server is in calm. The free -m screenshot maybe it is what cause the confusion.

I share my computer screenshots, maybe will help in some manner:
Selección_012.png
Selección_012.png
Attachments
Selección_011.png
Post Reply