09-04-2012 06:16 AM
$JAVA_OPTS="-Xss512K -XX:MaxPermSize=256m -Xms2048m -Xmx2048m
-Dalfresco.home=/soi/app/alfresco-ged34e
-Dhttp.proxyHost=xx.xx.xx.xx -Dhttp.proxyPort=xxxx
-Duser.dir=${CATALINA_HOME}/user.dir
-Duser.home=${CATALINA_HOME}/user.home
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=xxxx
-Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname=myserver.mydomain.ch
-server -Dsun.security.ssl.allowUnsafeRenegotiation=true
-Dfile.encoding=UTF-8 -Duser.country=CH -Duser.language=fr -Duser.timezone=Europe/Zurich
-XX:NewRatio=1 -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
-XX:CMSInitiatingOccupancyFraction=80"
Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
21138 be/4 alfresco 526.40 M 584.30 M 0.00 % 10.17 % java -Dnop -Xss512K -XX:MaxPermSize=256m -Xms1024~t/tem
21186 be/4 alfresco 17.55 M 448.00 K 0.00 % 3.50 % java -Dnop -Xss512K -XX:MaxPermSize=256m -Xms1024~t/tem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
21068 alfresco 20 0 2119m 1.2g 14m S 92.2 63.2 6:43.85 java
21197 root 20 0 177m 9252 2528 S 0.7 0.5 0:04.51 iotop
2012-09-04 09:56:33,514 User:myuser DEBUG [lucene.fts.FullTextSearchIndexerImpl] FTS index request for workspace://SpacesStore
2012-09-04 09:56:41,987 DEBUG [lucene.fts.FullTextSearchIndexerImpl] FTS Indexing workspace://SpacesStore at Tue Sep 04 09:56:41 CEST 2012
Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
21070 be/4 alfresco 7.17 G 121.76 M 0.02 % 23.50
<type name="cm:content">
<title>Content</title>
<parent>cm:cmobject</parent>
<archive>true</archive>
<properties>
<property name="cm:content">
<type>d:content</type>
<mandatory>false</mandatory>
<!– Although content is marked as indexed atomically it may end up asynchronous –>
<!– if the content conversion will take too long. Content that does not require conversion –>
<!– to UTF8 test/plain will always be indexed atomically –>
<index enabled="false">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>true</tokenised>
</index>
</property>
</properties>
</type>
09-04-2012 12:18 PM
09-05-2012 04:51 AM
I looking for a solution to reduce these IO writing, any help welcome !
09-10-2012 09:09 AM
java -Xmx512m -cp ./IndexInfo.jar org.alfresco.repo.search.impl.lucene.index.IndexInfo C:\\labs\\backup-lucene-indexes\\workspace\\SpacesStore
Entry List for lucene-indexes\workspace\SpacesStore
Size = 9
0 Name=0ab76c3f-be42-4486-bf5d-0716df6084f9 Type=INDEX Status=COMMITTED Docs=3029531 Deletions=0
1 Name=12f3f5b3-047b-4179-808a-c5e55dab6ba4 Type=INDEX Status=COMMITTED Docs=1745366 Deletions=0
2 Name=adfdcb27-3e94-4cfe-9826-072335af142b Type=INDEX Status=COMMITTED Docs=1128625 Deletions=0
3 Name=3ad8cb8c-3515-47e2-b26b-6c342e8a5b26 Type=INDEX Status=COMMITTED Docs=725190 Deletions=0
4 Name=c15f8d81-79ed-4a55-985a-1f7b8a1a1188 Type=INDEX Status=COMMITTED Docs=316397 Deletions=0
5 Name=9d21316f-64b4-406c-8029-011bbc029970 Type=DELTA Status=COMMITTED Docs=40 Deletions=29
6 Name=de201603-4374-4cf1-975c-673fe5cc2d7b Type=DELTA Status=COMMITTED Docs=80 Deletions=65
7 Name=d85fb371-5b9f-4938-a3e2-4d7aac73c5ff Type=DELTA Status=COMMITTED Docs=128 Deletions=86
8 Name=5b1d1df9-3e96-4334-9914-0fd2e996a775 Type=DELTA Status=COMMITTED Docs=119 Deletions=119
09-11-2012 12:10 AM
It is usualy a good practice that the highest-numbered INDEX entries (which contains the least documents, number 4 in the examples above) do not contain more than a few hundred documents. If it's not the case, it could lead to massive amount of IO pressure on the index directories for merging operations.
09-11-2012 02:19 AM
lucene.indexer.mergerTargetIndexCount=8
lucene.indexer.maxRamInMbForInMemoryMerge=48
lucene.indexer.writerRamBufferSizeMb=48
lucene.indexer.mergerRamBufferSizeMb=48
lucene.indexer.maxRamInMbForInMemoryIndex=48
09-13-2012 09:06 AM
Size = 7
0 Name=facae57d-2997-4964-b710-6bf7a88e1345 Type=INDEX Status=COMMITTED Docs=5527866 Deletions=0
1 Name=32064b10-d4dd-4514-a652-5bd55921892a Type=INDEX Status=COMMITTED Docs=845705 Deletions=0
2 Name=a68a0558-9429-4217-a44e-7f696e79a113 Type=INDEX Status=COMMITTED Docs=517370 Deletions=0
3 Name=0482c5b5-0c3f-4c2d-ae87-ad848466faac Type=INDEX Status=COMMITTED Docs=49291 Deletions=0
4 Name=d0b834a1-ce86-4493-bd13-a1905360c893 Type=INDEX Status=COMMITTED Docs=4751 Deletions=0
5 Name=27e26039-1ce6-4336-bea3-dd45f9fc4533 Type=DELTA Status=COMMITTED Docs=18 Deletions=11
6 Name=0563c9a4-daf6-4dea-91a1-96d1936cf651 Type=DELTA Status=COMMITTED Docs=50 Deletions=50
09-13-2012 11:09 PM
In order to keep the production online, does it possible to launch the reindexing process in an other server and then replace de production indexes with the rebuilded indexes ?
In the first segment there is Docs=5'527'866. Does Docs represents the number of indexed files, because the contenstore hold only 1'600'000 documents ?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.