[Building Sakai] sakai infrastructure configuration

Sam Ottenhoff ottenhoff at longsight.com
Tue Jul 29 06:37:52 PDT 2014


I would:


   - Use JDK 1.7.0_60
   - Tomcat 7.0.55
   - Use less memory on Apache server 16GB => 8GB
   - Go with Plan B
   - Increase MaxPermSize from 512m to 712m



On Tue, Jul 29, 2014 at 2:20 AM, Sanghyun Jeon <euksa99 at gmail.com> wrote:

> Hello All,
>
> We regularly have about 2000 concurrent users and plan to move to Sakai
> 2.9.3 from Sakai 2.8 this Summer. We are running Sakai 2.8.x running 4 app
> nodes with one mysql database. One Apache front end server with 4GB memory
> is linked to two Sakai app servers with 8GB memory. Two tomcat app nodes
> are running on each Sakai app server. Each tomcat is currently configured
> as follows:
>
> -Xms1536m -Xmx3072m -XX:PermSize=256m -XX:MaxPermSize=512m
> -XX:NewSize=768m -XX:MaxNewSize=1024m -XX:+UseParallelOldGC
>
> While upgrading Sakai, we plan to reconfigure our infrastructure to
> improve throughput and accommodate our gradually increasing concurrent
> users (we expect 2,500 this Fall). I’ve heard that Sakai loves heap.
> However, I’ve also read that larger memory space means it takes the JVM
> longer to do garbage collections. I am wondering whether Sakai community
> experts can give me some guidance/advice on which one will be better: four
> 16GB tomcat servers (Plan A) or six 8GB tomcat servers (Plan B). Or would a
> totally different architecture be better, such as pairing an Apache with
> each and every tomcat? We’ll welcome any advice or suggestions.
>
>
>
>
> Current
>
> Plan A
>
> Plan B
>
>
>
> Sakai 2.8.x
>
> Tomcat 5
>
> jdk 6
>
> Mysql 5.1
>
> Sakai 2.9.3
>
> Tomcat 7.0.42
>
> jdk 1.7.0_40
>
> Mysql 5.5
>
> Sakai 2.9.3
>
> Tomcat 7.0.42
>
> jdk 1.7.0_40
>
> Mysql 5.5
>
> Apache server
>
> One 4GB and 2 cores
>
> One 16GB and 4 cores
>
> One 16GB and 4 cores
>
> Sakai db server
>
> One 8GB and 4 cores
>
> One 32GB and 4 cores
>
> One 32GB and 4 cores
>
> Sakai app server
>
> Two 8GB servers, two tomcats per serverà total four 4GB tomcat servers
>
>
>
> Two 32GB servers, two tomcats per server à total four 16GB tomcat servers
>
>
>
> Three 16GB servers, two tomcats per server à total six 8GB tomcat servers
>
>
>
> Setenv.sh
>
> -Xms1536m -Xmx3072m -XX:PermSize=256m -XX:MaxPermSize=512m
> -XX:NewSize=768m -XX:MaxNewSize=1024m -XX:+UseParallelOldGC
>
> -Xmx9g -XX:MaxPermSize=512m
>
>
>
> -Xmx6g -XX:MaxPermSize=512m
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140729/2f48616e/attachment.html 


More information about the sakai-dev mailing list