bugzilla | 2 Sep 2008 12:17
Picon
Favicon

DO NOT REPLY [Bug 17887] RollingFileAppender does not work for 10 threads

https://issues.apache.org/bugzilla/show_bug.cgi?id=17887

--- Comment #7 from QualityChecker <qualitychecker <at> free.fr>  2008-09-02 03:17:35 PST ---
(In reply to comment #6)
> May be the reason :
> The SocketServer TCP/IP server is designed to manage 10 (or 11 ?) maximum
> threads .
> See org.apache.log4j.net.SocketServer.java constructor :
> public
>   SocketServer(File directory) {
>     this.dir = directory;
>     hierarchyMap = new Hashtable(11);
>   }
> There must be some mixing or hidden bugs between the clients if exceeding 10
> clients.
> Thanks for your feedback if this is the right reason.
> See http://d.cr.free.fr/wswebconsulterfichiers.php?projet=demojava_log4j for
> (many..) extra bugs in log4j

11 is the initial allocation size for hierarchMap, of course, which is the
default anyway. May be a lack of memory + unmanaged allocation error ?

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Gmane