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.
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 <http://www.longsight.com>
pe...@longsight.com <mailto:pe...@longsight.com>
p: 740-599-5005 x809
2014-11-19 12:29 GMT-05:00 Anisio Monteiro (IPEN/GDS-Informática)
<monte...@ipen.br <mailto: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
<mailto:mca...@gmail.com>> <mca...@yahoo.com.br
<mailto:mca...@yahoo.com.br>> <monte...@ipen.br
<mailto: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
<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
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
--
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703
------------------------------------------------------------------------------
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