Question

J'ai configuré My Rails Application sur Windows avec Server de l'application Mongrel et Apache Web Server.

J'ai défini le groupe 10 cluster pour que Mongrel pour gérer correctement la demande. Lorsque je demande une demande qui a une opération de DB lourde ou qui nécessite du temps pour exécuter, alors tout mon groupe MONGREL est occupé et affichant le même journal.

Même réglage de cluster Mongrel fonctionne bien sur Linux Server.

Pouvez-vous me faire sortir de ce goulot d'étranglement.

Merci d'avance.

Était-ce utile?

La solution 2

Was stuck into the log issue .

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

Autres conseils

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?

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top