[Ocfs2-users] ocfs2 hangs during webserver usage

jmoseley at corp.xanadoo.com jmoseley at corp.xanadoo.com
Tue Jan 27 16:32:49 PST 2009


As others have indicated, I don't think that's going to work very well.
You've got two different nodes trying to write to the same file constantly.
I would keep each server's log on a locally mounted file system, or simply
keep the logs on the OCFS2 filesystem, but have each node write to
different log files.

Yeah, that makes parsing access_logs slightly more of a problem for
producing hit reports, etc, but I think you'll notice performance improve.


James Moseley




                                                                           
             David Johle                                                   
             <djohle at industria                                             
             linfo.com>                                                 To 
             Sent by:                  lfreitas34 at yahoo.com                
             ocfs2-users-bounc                                          cc 
             es at oss.oracle.com         ocfs2-users at oss.oracle.com          
                                                                   Subject 
                                       Re: [Ocfs2-users] ocfs2 hangs       
             01/27/2009 04:38          during webserver usage              
             PM                                                            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Yes, that is the case, multiple nodes with the same log file open &
being written to at once.

Worked well during all my testing environment stress tests, and even
worked great in production for over a month.



At 02:56 PM 1/27/2009, Luis Freitas wrote:
>David,
>
>     You said you were keeping the apache log files on OCFS2.
>
>      Are you using the same log file (access_log and error_log) for
> all the nodes? That is a single access_log that is writen by both
> nodes simultaneosly?
>
>Regards,
>Luis


_______________________________________________
Ocfs2-users mailing list
Ocfs2-users at oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users





More information about the Ocfs2-users mailing list