Pergunta

Eu configurei meu aplicativo Rails no Windows com o servidor de aplicativos Mongrel e o servidor da Web Apache.

Eu defini o cluster 10 para Mongrel para lidar com a solicitação corretamente. Quando faço qualquer solicitação que tenha operação pesada DB ou que exija tempo para executar, todo o cluster do My Mongrel está ocupado e exibindo o mesmo log.

A mesma configuração de cluster mongrel está funcionando bem no servidor Linux.

Você pode me tirar desse gargalo.

Agradecemos antecipadamente.

Foi útil?

Solução 2

Was stuck into the log issue .

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

Outras dicas

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?

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top