[Mongrel] Possible log rollover mutex problem

Zed A. Shaw zedshaw at zedshaw.com
Mon Oct 30 21:19:25 EST 2006

On Mon, 30 Oct 2006 13:48:43 -0500
"Jared Brown" <mongrelmail at gmail.com> wrote:

> It appears that part of the problem could be that when logger rolls over the
> mongrel log file. There is a mutex synchronization issue where the various
> mongrel instances all try to write to the new log file and block each other.
> This keeps them in a continual Application 500 Error state. Has anyone run
> into this problem? With log rotation turned off the problem does not appear.

Aha! I've suspected this for a long time, but I could never reproduce it.  Research this a bit more for me and I'll tackle it in a few days.

Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://safari.oreilly.com/0321483502 -- The Mongrel Book
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.

More information about the Mongrel-users mailing list