I am a neophyte at this, but if you read the documentation about mongrel and load balancing they strongly suggest going to more boxes and only running 4 or so Mongrel instances per box. If you only have a dual core server, it does not make much sense to jack up the RAM so you can stuff more processes in. Performance is all about eliminating latency, if you have two lowly cpus handling 20k requests per hour yes, I bet you're slow.

Other factors
1. Database should be clustered and running on its own box.
2. Are you properly managing logs? They would be growing at a rapid rate.
3. Any chance of going to a quad or octal CPU configuration?

Best regards,
Bill

At 11:50 AM 9/13/2007, you wrote:
more info

just 1 server

webserver + appserver + dbserver

On 9/14/07, Yan Meng <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] > wrote:
Hi, Guys

Our team is running a web2.0 finance site in China

<http://www.caibangzi.com/>http://www.caibangzi.com/

We use APACHE + mod_proxy_balancer + mongrel to deploy our application, it workd super in the past few monthes.

However, just from last week, at high traffic hour (about 40,000 request per hour), our site is very very slow, it usually took more than 10 seconds to get a page or simply return timeout error.

I telnet to the server and found that when I visit directly to one mongrel instance, it can return shortly, however when I visit from apache interface, it hang.

I also cannot visit (timeout) the mod_proxy_balancer's frontend to see the balance-manager.

However, the server load is just normal :(

We guess maybe the reason is slow action block mongrel, is it the reason? Have any of you experienced of this?

Any comments are appreciated.

Our Server:

Dual-Core AMD Opteron(tm) Processor 2214 HE * 2
4G RAM
20 mongrel instances
mysql

--
Best Regards,

-Yan Meng
<http://www.caibangzi.com/>http://www.caibangzi.com/




--
Best Regards,

-Yan Meng
<http://www.caibangzi.com/>http://www.caibangzi.com/
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to