DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <https://issues.apache.org/bugzilla/show_bug.cgi?id=44059>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44059 ------- Additional Comments From [EMAIL PROTECTED] 2008-02-25 20:03 ------- A similar problem with Lenya-1.2 was crashing our production server. Server typically runs less than 1% usage. Pairs of java processes appear using (combined) 90% of one processor and only disappear when Lenya is restarted. The server slows with 2 pairs and stalls with 3 pairs. This forced an upgrade last August, a User ML post on 20071129 (no responses), and was finally patched with a cron job to restart Lenya when the symptoms appear. Problem appears intermittently with no identifiable cause. jconsole is not available for troubleshooting Java 1.4. Linux, Apache-httpd-2.1 as proxy, two processors Java 1.4.2_08 Lenya 1.2.2, Cocoon 2.1.6 Lenya 1.2.5, Cocoon 2.1.10. Upgrade from 1.2.2 to 1.2.5 did not cure problem. Could this be fixed by synchronizing all uses of HashMap in the 1.2.x branch? Lenya-1.2.x references 127 HashMaps with 19 Collections.synchonizedMaps. Cocoon-2.1.11 src/java references 313 HashMaps. The ubiquitous objectModel declared in Cocoon-2.1's AbstractEnvironment is not synchronized or unmodifiable. Is globally replacing "= new HashMap();" with "= Collections.synchronizedMap(new HashMap());" enough or bad? (A script would also need to add "import java.util.Collections;" where missing and needed.) Is there a better solution? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
