简体   繁体   中英

Mongrel clusters are running parallel on windows

I have setup my rails application on windows With Mongrel application server and Apache Web server .

I have defined the 10 cluster for mongrel to handle the request properly . When I make any request that has heavy db operation or that require time to execute , then all my mongrel cluster are busy and displaying same log .

Same mongrel cluster setting are working fine on Linux server .

Can you please get me out of this bottleneck .

Thanks in advance .

Was stuck into the log issue .

So I have set different log file for each cluster and things are working fine .

It sounds like the native database access library is locking something or the database itself is configured in the such a way that only exclusive access to the relevant tables is allowed. (Most likely the former by the sound of it, assuming it's the exact same database that is being accessed from the Linux-served version of your app too.)

As such, the answer to your question is probably rooted in the particular database provider you are using. Which is it... sqlite, Postgres, MySQL, MS SQL Server?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM