LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   is this enough for a webserver of 200 clients (https://www.linuxquestions.org/questions/linux-server-73/is-this-enough-for-a-webserver-of-200-clients-877616/)

dinakumar12 04-28-2011 09:00 AM

is this enough for a webserver of 200 clients
 
Hi all,

This is my server configuration.

Hard Disk - 500 GB

RAM - 3GB

Processor - intel core 2 quad ( 4 numbers). each one of four cores.

We have an application hosted thorough tomcat and accessed via apache through mod_jk connector.

There would be around 200 clients accessing our application in future.

My question is, is this configuration enough for our requirement.

Because some times java process eating about 70% of my memory.

This thing what is making me to concern.

So Kindly post your suggestions.

sibe 04-28-2011 09:41 AM

--

3GB RAM for Tomcat?
I believe you will need way more gigs than that. I would start with 8GB.

wpeckham 04-28-2011 03:28 PM

Tomcat server
 
My company has deployed an application server using that kind of package. We used P4 processors with 512 MB ram and 80 Gig hard drives running Fedora (now moved to CentOS). Roughly one for every thousand users. NONE of the data was local, there was NO cgi, all data connections to the (much beefier back end data server) were ODBC.

Java is a pig, and tomcat can be nasty, but it depends on what you are DOING with it. Keep it lean and fast, and you can do much more with less. One thing to note (as mentioned above) is that even well designed java seems to accumulate memory and never fully release it.

I tried to talk my developers to either dropping Apache ( it does nothing for us that Tomcat alone could not do) or moving to a lighter front-end like lighttpd that can handle heavier loads with fewer threads and in less memory, but no one was interested.


All times are GMT -5. The time now is 06:50 PM.