From: Václav H. <v.h...@sh...> - 2011-06-28 13:21:56
|
On Tue, 28 Jun 2011 09:33:55 +0200, Sylvain Bonnemaison wrote: > Hi, > > I'm using log4cplus-1.0.4 with socket and file appender. My > application > is a web server. When the application received many request, > log4cplus > lock the application at line 160 in "appenderattachableimpl.cxx" : > > int > AppenderAttachableImpl::appendLoopOnAppenders(const > spi::InternalLoggingEvent& event) const > { > int count = 0; > > LOG4CPLUS_BEGIN_SYNCHRONIZE_ON_MUTEX( appender_list_mutex ) > for(ListType::const_iterator it=appenderList.begin(); > it!=appenderList.end(); > ++it) > > Is it a bug or a bad system configuration (not enough shared memory, > etc.) ? It could be a bug. Try to compile with debugging symbols and try to obtain call stacks of all threads for analysis. -- VH |