is this enough for a webserver of 200 clients


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users is this enough for a webserver of 200 clients
# 1  
Old 04-29-2011
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.

With Regards
Anish Kumar.V
# 2  
Old 04-29-2011
hi Anish,

i can't told you if your configuration is enough or not , it depend on the Application

because the code must utilize the using of memory and making sure that every object not used is released and so

there some tips you can use to low memory usage and performance
1. you can use Apache provide the user with static component like css , js
2. review the code and don't use many static objects and make sure to release the un used object
3. if your application have feature of download files as excel sheet make sure to write the file on local server then take the stream from file not from memory
4. review the tomcat configuration to assign good heap size in initialize it

you can search for memory utilization in java and best practice

NOTE**: that if all client working together and it take 70% of your memory only without any another application run on this server , it is very good


i hope my replay help you
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Netcat ( nc -l ) as webserver

Dear Linux guru's I am trying to create a webserver using nc (netcat only) on RHEL 7.2 running on bash shell. now the easy thing is to get nc listing to a port and respond back $ while true; do { echo -e 'HTTP/1.0 200 OK\r\n'; set; } | nc -l 7877; done This when called from a... (3 Replies)
Discussion started by: chakrapani
3 Replies

2. Shell Programming and Scripting

PHP webserver vs AJAX

Hello All I want to develop a news ticker using a PHP webserver instead of polling the RSS feed using AJAX. Let me know if you guys have any idea about this. (0 Replies)
Discussion started by: suvendu4urs
0 Replies

3. UNIX for Dummies Questions & Answers

restarting a webserver on hang

hi guys what is the common way to restart a webserver that got hung upon high load? i have a loop shell script running, checking for a small textfile on the webserver, in case it doesnt get that file within 5 seonds it kills the server and restarts it. i know its very crude, but i needed a... (4 Replies)
Discussion started by: scarfake
4 Replies

4. UNIX for Dummies Questions & Answers

Solaris or freebsd for webserver

I am setting up a web server and mail server on a dell poweredge with a P4 2.7 Ghz and 512mb or ram. I am new to unix and i am wondering if you guys would recomend me installing solaris 10 or use freebsd.. Anythoughts would be great Thanks Travis (1 Reply)
Discussion started by: gzero
1 Replies

5. Solaris

telnet Webserver GET /

I want to incorporate this in a script for some simple monitoring for my webserver telnet localhost 80 GET /opencms/opencms/test/index.html how to do it? I tried echo "GET /opencms/opencms/test/index.html" | telnet localhost 80 I tried telnet localhost 80 << EOF echo "GET... (4 Replies)
Discussion started by: sparcguy
4 Replies

6. Solaris

webserver login

how can I get statistics and web analysis for solaris 10 webserver access? what is the file? and what is the tools to analyze it? thanx (2 Replies)
Discussion started by: fsmadi
2 Replies

7. UNIX for Advanced & Expert Users

apache webserver

Can I set up an apache webserver on Mandriva? Looking for the easiest webserver program to install basic webserver just for home use. Any ideas/suggestions much appreciated..... (2 Replies)
Discussion started by: jo calamine
2 Replies

8. SuSE

Cannot connect to webserver

Hello All, I need some help as to how to debug the problem I am having with my webserver. I am using Suse 9.2 pro as my server. I have setup my firewall and router to forward http 80 request to my linux server. I tried pinging my server from work - it worked. I tried running localhost... (5 Replies)
Discussion started by: negixx
5 Replies

9. OS X (Apple)

Webserver Setup, need help!

Hey guys, does anyone know how I edit, configure the server settings using the terminal? MySQL and PHP was once working. But after frying the Xserve G5 i'm in the middle of rebuilding everything, I believe i need to re-configure the root document directory... but have forgotten how to edit... (1 Reply)
Discussion started by: hype.it
1 Replies
Login or Register to Ask a Question