Hi Everyone,
I ran the command with the JAVA_OPTS and "-b" options mentioned, and even
then, it was taking more than two hours. Then, I canceled the process. I
executed again without the "-b" option and it took about 1 hour.
So, I will enable the cron to run without the "-b" option.
Before the process was taking more than 24 hours for approximately 18,000
items.
Peter and Christian, many thanks for the help and tips!
Best regards,
Anisio
------------------------
Am 21.11.2014 um 03:56 schrieb Peter Dietz:
Hi Anisio,
What is too long?
You should only run that command once, or rarely, as part of an upgrade or
maintenance. With the "-b" flag, it creates a full reindex of your
discovery index. On a daily basis (cron), you should run that with no
argument, and it runs over a smaller set of objects.
If you are saying that it never completes, then you'll have to look at
performance tuning. i.e. bump your memory limit in JAVA_OPTS in
/dspace/bin/dspace, and run in "-server". Just out of curiosity, do you
have a very large DSpace instance (high number of items)? I'm just
wondering if this is some scaling issue.
________________
Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809
---------------------
2014-11-21 5:24 AM Christian Scheible
Hi together,
maybe this helps. We run the command like this (after changes to the
discovery config)
sudo -u tomcat7 JAVA_OPTS="-Xmx1024M -Xms1024M -Dfile.encoding=UTF-8"
/dspace/bin/dspace index-discovery -b
so we change the memory limit for java to a gigabyte and it takes 80
minutes for about 25000 items.
--------------------------
2014-11-19 12:29 GMT-05:00 Anisio Monteiro (IPEN/GDS-Informática) <
monte...@ipen.br>:
Hello,
The "dspace index-discovery -b" command is taking too long to complete.
Someone has any idea how to solve this problem.
Thanks for help!
------------------------
--
Carlos ANISIO Monteiro <mca...@gmail.com> <mca...@yahoo.com.br> <
monte...@ipen.br>
IPEN/CNEN-SP - Av. Lineu Prestes, 2242 - Cidade Universitária, São Paulo,
Brasil
CEP 05508-000 Tel.(55)(11) 3133-8876 LINUX USER # 364622
"Aquele que recebe de mim uma idéia tem aumentada a sua instrução sem que
eu tenha diminuída a minha. Como aquele que acende sua vela na minha recebe
luz sem apagar a minha. Que as idéias passem livremente de uns aos outros
no planeta, para a instrução moral e mútua dos homens e a melhoria de sua
condição...Invenções, portanto, não podem, na natureza, ser sujeitas à
propriedade." (Thomas Jefferson)
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette