We have a system running Alf5.0, you can think that we have customized field in metadata that storing the person id (unique). When we search with the person id, if the no. of records is large (say 500 records), it needs more than few minutes to get the result. However, after this completed, the next search of the same person id returns the result in no time. But may be few hours / days later, the first search of it becomes slow again. And we guess this is the cache behavior (invalidated).
Can someone advise how to control the cache behavior such that we can cache person with many records and keep it not invalidated? Or any advice to make it user friendly on that? Thank you!
is there anyone can help on the above?
Check the java memmory allocation first. In my expiriense a lot's of v5 servers works with default 1GB RAM indepandantly how many phisical memory the host have.
Can you advise which config. to be checked?
In tomcat
we already set to use 128GB ram
We used the following during tomcat service installation
set JAVA_OPTS=++JvmOptions="-XX:+DisableExplicitGC" ++JvmOptions="-XX:+UseConcMarkSweepGC" ++JvmOptions="-XX:+UseParNewGC" ++JvmOptions="-XX:ReservedCodeCacheSize=128m" ++JvmOptions="-Dalfresco.home=D:\Alfresco" ++JvmOptions="-Dcom.sun.management.jmxremote" --JvmMs 2560 --JvmMx 131072
For solr4
we are using default setting, and I found that the followings are commented, should we adjust it?
In solrconfig.xml,
<!-- <ramBufferSizeMB>100</ramBufferSizeMB> --> <!-- <maxBufferedDocs>1000</maxBufferedDocs> -->
I am already using correct JVM setting as mentioned in previous setting and I can see the tomcat can use around 6x GB memory
So, I am thinking other direction. Is the following related? and if yes, any way to calculate the best values?
For solr4
we are using default setting, and I found that the followings are commented, should we adjust it?
In solrconfig.xml,
<!-- <ramBufferSizeMB>100</ramBufferSizeMB> --> <!-- <maxBufferedDocs>1000</maxBufferedDocs> -->
Anyone can help to advise? Thank you.
Anyone can help ? The problem is still here
Anyone can help ?
@All @fedorow
Is there any solr4 setting for large size of data? I am not sure how to tune it. I have already tuned tomcat java memory one. Thank you.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.