Hi, We've been using CFMX on Linux for quite a while and things have been working like a clock. Lately we have experienced some problems with hanging "requests".
The environment is an HP 350ML, dual processors (ht), 3Gb RAM. Debian Sarge (stable), Kernel 2.4.29 CFMX7 ENT(with hotfix3) JVM 1.4.2_07-b05 Apache 2 MySQL 4.1.11. A typical hanging can occur anytime on the website and after up to 20 seconds things are rolling again. There're no heavy queries whatsoever. We also cache almost everything. I know there're several things that are probable sources and it may(or probably) have to do with threads etc but would need some advice. What is the best practice for a medium loaded server in terms of tuning cf, apache and mysql in first hand. * This is what we currently use in apache: <IfModule worker.c> StartServers 2 MaxClients 300 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule> KeepAlive On MaxKeepAliveRequests 150 KeepAliveTimeout 2 * CFMX: Maximum sim req: 25 Min JVM Heap Size: 1024 Max JVM Heap Size: 1024 -server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m The server isn't using all memory at any time. CFSTAT shows nothing that indicates a pile up. Regards Stefan G Should we run JRUN in the back or stick to the JVM we use is another question? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:14:4044 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
