Dear Devin:
On Monday 04 August 2008, Devin Bougie wrote:
> Hello, All.
>
> We started seeing a "Commands out of sync; you can't run this command
> now" error when browsing our installation of v0.92.1. If we then hit
> reload in our browser (sometimes twice), the page would load fine. I
> couldn't find any other clues, and the error seemed to stop occurring
> after I restarted apache.
>
> We are working on an upgrade to v0.99.1, so hopefully this is not a
> serious issue. Just for your reference, I am attaching some of the
> messages we saw in our logs. Please let me know if you would like any
> other information.
>
> Many thanks,
> Devin
are you running the Apache server with MPM-Prefork modality or on the contray
are you using something similar to MPM-Worker? Invenio 0.92.1 is not
thread-safe and concurrency errors in accessing the database could happen
when using a multi-threaded Apache server (like when enabling the Worker
mode). Things should go slightly better with Invenio 0.99.x with
multi-threaded Apache (in particular for accessing the database, the
above-mentioned error should not appear anymore) but we don't officially
support this modality.
On the contrary, for the time being, it is always recommended to run Apache
with MPM-Prefork modality.
Thanks for reporting this and let us know if you're still encountering such
errors (after either switching to Prefork or to Invenio 0.99.1)
Best regards,
Samuele
--
.O.
..O
OOO