07-30-2018 03:13 AM
Hi All,
Currently, I am using alfresco community 5.0d version in production server.
We have allocated 16GB RAM to the hosted instance.
Currently, I am facing the issue of slowness. Also, out of box login API is taking 11 to 12 seconds to produce alf ticket.
Current subsystem properties.
### Solr indexing ###
index.subsystem.name=solr4
dir.keystore=${dir.root}/keystore
solr.host=localhost
solr.port.ssl=8443
The total size of the alf_data folder is 449GB. And here I am attaching the document which describes alf_data size.
So can someone please suggest me any reason for this slowness?
07-30-2018 03:21 AM
Probably this can help: /blogs/alfresco-premier-services/2017/05/16/troubleshooting-alfresco-performance-from-the-bottom-up
07-30-2018 03:21 AM
Probably this can help: /blogs/alfresco-premier-services/2017/05/16/troubleshooting-alfresco-performance-from-the-bottom-up
10-01-2021 08:42 AM
I made a project under Alfresco (setting up a digital library under alfresco), when I copy the alfresco file into my supervisor's machine does not work (my supervisor wants my project to work in his machine) can- will you help me please?
07-30-2018 10:08 AM
Hi:
I see that you delete a lot in your instance (due the size of contentstore.deleted). This may require lots of resources for SOLR. Some basics recommendations included in Nathan's article :
- Increase JVM size and monitorize (at least via OOTB Support Tools)
- Reindex SOLR (if you delete a lot, your indices may be fat of deleted documents which occupy more space and perform worse when searching)
- Separate SOLR instance (use dedicated resources for your index and search server)
Regards.
--C.
07-30-2018 10:22 AM
Cesar Capillas
I guess that 90% of "contentstore.deleted" are DELETED nodes that are out of Database and SOLR.
If your assumption is true, and trashcan have been never been purged, then they have a huge node just under Archive root. And this can be also the cause of the low performance.
07-30-2018 11:58 AM
Hi Angel Borroy:
Let me clarify, in my assumption a huge contentstore.deleted (with a similar size to the contentstore) means that:
Lucene's Handling of Deleted Documents | Elastic
And so, my second recommendation for a full reindex for getting a healthy index in both cores.
Regards.
--C.
08-02-2018 06:57 AM
Hi Angel Borroy
Thank you so much for your valuable reply.
When I remove all data from the trashcan and contentstore.deleted.
After that, we perform a full reindex which is suggested.
What happens on next day system was slow down. Even login API takes 11 seconds to respond.
if u can just share the reason behind this behavior then it would be a great help.
Thanks in advance.
08-02-2018 07:04 AM
There is no need to perform a full reindex after removing content from trashcan...
Anyway, a full reindex is a hard task for your system. The text from every document in the server is extracted by Tika and even some transformations to PDF can be taken in the process. Probably you can inspect your server to identify the process that is consuming CPU, but I guess that is Java.
My advice: Don't perform a full re-index if there is no good reason (as data/indexes corruption).
08-02-2018 07:24 AM
Hi Angel Borroy
Thank you so much for the reply.
When I delete all data from contentstore .deleted, then still any reference to that data which is stored in DB?
If yes then which is steps to be taken to solve that issue.
Thank you.
08-02-2018 07:27 AM
If you deleted all data from "contentstore.deleted", then you have lost references in database (for sure).
Probably you can understand better Alfresco deletion cycle at https://github.com/keensoft/alfresco-deleted-content-store-cleaner
Explore our Alfresco products with the links below. Use labels to filter content by product module.