Frage

Ich habe meine Rails-Anwendung unter Windows mit MONGREL-Anwendungsserver und Apache-Webserver eingerichtet.

Ich habe den 10 Cluster für Mischling definiert, um die Anfrage ordnungsgemäß zu behandeln. Wenn ich eine Anforderung erhalte, die einen schweren DB-Betrieb hat oder eine Zeit zum Ausführen erfordern, ist der gesamte MONGREL-Cluster mit demselben Log-Cluster mit demselben Protokoll beschäftigt.

Dieselbe Mongrel-Clustereinstellung funktionieren in Linux-Server in Ordnung.

Kannst du mich bitte aus diesem Engpass rausholen?

Vielen Dank im Voraus.

War es hilfreich?

Lösung 2

Was stuck into the log issue .

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

Andere Tipps

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?

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top