Suggested Hardware Requirements

18666, modified 20 Years ago. New Member Posts: 23 Join Date: 7/12/05 Recent Posts
Hi,<br /><br />I was wondering what type of hardware requirements LifeRay has if I want to serve 2000+ users. Let&#39;s assume that I will be running the portal in a configuration similar to demo.liferay.com, with the exception that fewer portlets will be available. Some custom modifications will be made, mostly client side code, which may increase bandwidth rerquirements. From the notes on the training sessions it seems that to run LifeRay, the suggested hardware config would be a 2Ghz Pentium/Athlon system w/ 1Gig of RAM. How many users would that support. Do you have any statistical data you can post? Thanks.<br /><br />Peter
thumbnail
11329, modified 20 Years ago. Expert Posts: 322 Join Date: 3/24/05 Recent Posts
Hey Peter,<br /><br />Are you expecting to have 2000+ users at once or 2000+ users total...<br />You would need a really beefy machine to allow 2000+ users to access your portal at once. <br /><br />But if your company is around 2000 users a regular computer (3gigp4/2giga64-1-4gigsram) would suffice for a company of your size.<br /><br />For reference Liferay uses<br />amd althon 64 3200 2 gigs of ram to host our portal/website and we get about 10000+ pageviews a day.
18666, modified 20 Years ago. New Member Posts: 23 Join Date: 7/12/05 Recent Posts
Thank you very much for your reply. I am expecting a large number of page views, plus a continous &quot;maintenace&quot; workload to go on in the background, mostly sending out event reminders through SMS, Email, IM. I am planning to have a dedicated mail server, so some additional network workload will have to be factored in... Your system doesn&#39;t sound like anything extreme considering the traffic. Down the road I&#39;ll do some stress testing on the entire set-up LifeRay, MySQL, mailserver.<br />How well does LifeRay perform when clustered, I think I read that it can be. Does anyone have experiencing with running LifeRay on a small cluster? Thanks&#33;&#33;<br />
thumbnail
11329, modified 20 Years ago. Expert Posts: 322 Join Date: 3/24/05 Recent Posts
yeah our sites not too hammered...<br />we are doing testing now with load balancing and clustering right now so if we finish soon ill give you more info... we&#39;ve had other larger companies use our portal like goodwill and the school system in madrid which all each have 10000+ users so at least you know its possible for a large site to run liferay.
13201, modified 20 Years ago. New Member Posts: 13 Join Date: 11/16/05 Recent Posts
Any news yet?<br /><br />Thanks,<br />Marco Garbelini
19586, modified 20 Years ago. New Member Posts: 22 Join Date: 12/19/05 Recent Posts
Any idea what it would take to support 30,000 pageviews a day? It&#39;ll be a fairly simple website with just the content management and a few jsp pages. We&#39;re looking at solaris x86 boxes.
thumbnail
14881, modified 19 Years ago. Regular Member Posts: 120 Join Date: 6/2/06 Recent Posts
Any news on suggested hardware requirements?

I would be nice if Liferay could provide the community with some kind of guideline outlining the suggested requirements based on total number of users and concurrent users.

I'm a bit concerned about deploying Liferay on customer sites as even on my development machine (Pentium M, 1.6GHZ, 1GB RAM) I'm getting PermGen Out of Memory errors after working on the machine for some time.

Would also be nice to have a guide for configuring the Java Virtual Machine for optimal Liferay performance.
thumbnail
11365, modified 19 Years ago. Liferay Master Posts: 846 Join Date: 8/5/04 Recent Posts
A clustered liferay with 2 nodes and 2 database nodes is sufficient to handle upwards of 100k page views/day.
thumbnail
14881, modified 19 Years ago. Regular Member Posts: 120 Join Date: 6/2/06 Recent Posts
Could you perhapse let us in on some of the hardware setups of your commercial implementations?
thumbnail
11365, modified 19 Years ago. Liferay Master Posts: 846 Join Date: 8/5/04 Recent Posts
A fairly typical setup that we've done:

1) Apache Server/ mod_jk
2) tomcat instances - 2 server nodes, dual-core, dual-cpu with 4 gb ram
3) database - 2 server nodes

We've been recommending the Dell 1850/2850's for most commercial clients.

This scales quite nicely for most applications and is quite affordable: $20-30k.

A further upgrade would be to use a hardware load balancer such as BigIP.

PermGen space is something you adjust on the JVM options, if you up that to around 128m you should not see it anymore.
thumbnail
5075033, modified 15 Years ago. Junior Member Posts: 29 Join Date: 6/11/10 Recent Posts
What about using virtual machine for the cluster instead of physical machine? Is there anyone here who have installed liferay on virtual cluster nodes? Thank in advance for your help.
Jaroslav Tupy, modified 14 Years ago. New Member Post: 1 Join Date: 8/2/11 Recent Posts
Hello, can you please help me the recommended hardware configuration for the following requirements?:

- relatively complex web site with quite some interactivity and user forms
- 16.000 concurrent users (at peaks)
- about a million users overall

Thank you in advance.
thumbnail
Olaf Kock, modified 14 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
It's depending on your scenario. Read the reference architecture and the performance whitepaper to understand the scenario and continue from there.

You might want to start a new thread - this one started 5 years ago and got me puzzled for the numbers stated earlier until I found out that the posts were quite old...
23291, modified 19 Years ago. New Member Posts: 15 Join Date: 5/9/06 Recent Posts
Here are some JVM settings that have worked well for us during load testing. You can probably use these as a "baseline" and then tweak according to your results. These settings work fine with Sun/BEA JRE1.5

-XX:+UseConcMarkSweepGC
-XX:+UseParNewGC
-XX:+DisableExplicitGC
-XX:NewSize=128m
-XX:MaxNewSize=128m
-XX:PermSize=64m
-server
-Xms256m
-Xmx512m


Also, the 1.5 JRE's come with a very nifty tool called "JConsole". Here's how you can set it up.
1. Add these switches to the java command in your app server's startup script

-Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

2. Start up the app server
3. open a new shell
4. type "$JAVA_HOME/bin/jconsole MY_SERVER_IP:7091" where MY_SERVER_IP is the IP address of your liferay app server
5. Poof. you have a great little tool for checking out your heap and other fun aspects of the JVM

Good luck