« Return to Thread: administering many DSpace/manakin instances

Re: administering many DSpace/manakin instances

by cachiusa :: Rate this Message:

Reply to Author | View in Thread

Hi Rui,
Thanks for your advice. But more than 1 instance of Tomcat will take more resources and be
more expensive in CPU, rite? I just have 1 server for all (DNS, mail, web
hosting, ...). I just create
Best,
Cachiusa
rramos wrote:
 Just one ideia,

  Why don't you install let's say, 8 Tomcat instances all with the same
configurations
  using same context's and then use apache with mod_jk for load balancing.
 
  Cheers, Rui

cachiusa wrote:
> Dear all,
> I am looking for solution for 24 Dspace for 24 communities run on 1 server.
> Which solution I should choose:
>
> 1) 24 instances of Tomcat, one for each Dspace instance, or
> 2) One Tomcat for 24 Dspace instances.
>
> I choose second solution by following the link
> http://www.nabble.com/Changing-DB-Name-%C2%BFhow--td19053520.html 
> and already finished installation. But my server is broken if I  try to
> access 24 DSpace at the same time (it is ok to open 12 Dspace).
>
> Some sites show error:
> java.lang.OutOfMemoryError: PermGen space
>
> The others return errors:
>  java.io.FileNotFoundException:
> /usr/local/gmseenet/partners/gmseenet/dspace/webapps/jspui/WEB-INF/web.xml
> (Too many open files)
>  
> or:
> org.apache.jasper.JasperException: Unable to compile class for JSP
>
> I already set heap memory for Tomcat to 2048 by
> JAVA_OPTS="-Xmx2048M -Xms64M -Dfile.encoding=UTF-8", but I still face the
> same problem.
>
> I have to run 24 DSpace in 1 machine, so what is solution for me?
> Please help me. Thanks in advance.
> Best,
> Cachiusa
>  




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


-----
Rui Ramos
==============================================
Universidade do Porto - IRICUP
Praça Gomes Teixeira, 4099-002 Porto, Portugal
email: rramos[at]reit.up.pt
phone: +351 22 040 8164
==============================================

 « Return to Thread: administering many DSpace/manakin instances