我在windows上设置了my rails应用程序,使用micrel应用程序服务器和apache web服务器。

我已定义10个群体用于麦克雷地处理请求。 当我制作具有重型DB操作或需要时间执行的请求时,我的所有帖群集都正忙,并显示相同的日志。

相同的汇率设置在Linux服务器上工作正常。

你能让我走出这个瓶颈。

提前感谢。

有帮助吗?

解决方案 2

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?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top