Performance Help needed!
Hi all,I am new in providing webhosting services. I have a server located in a data center and have only 1 web application running on it.
Actually my application is something like 'Online Stock Quotes' system where i will provide latest (changed very frequently) information for my users. The user page will have a auto-refresh, timer set to 10 secs.
I faced a performance problem when the number of users hits 300.
I need to know if 300 is the maximum my server can support. Can anyone tell me if there is anyway to justify this?
I did some check when the problem happened, my CPU & RAM usage is always belowed 40%, i suspect there is some room for tune in this case. can it be Linux kernel? apache? PHP ? or DB?
My server spec
- Dell Pentium III 1.26ghz single processor
- 1.256 gb RAM
- Linux RH 8.0
- Apache 2.0.4
- PHP 4.2.3
- PostgreSQL 7.2.2
- PHP accelerator 1.3.1
During peak hour (at least for 8 hours a day), my application will server 50-100 concurrent (YES, CONCURRENT) requests to download 20-40k dynamic html (PHP to query postgreSQL db).
Any help will be very much appreciated.
Many thanks,
Kum
