Hi there! > Can anyone tell me if my CF Admin guy is nuts? I think he means well, but he > is stressing > everyone out with this log file. He says this is what is causing our random > hangings with our > CFMX7 server. We have a 4 CPU system and 3.5GB of RAM. This should be more > than > adequate for running our application.
First, I'd recommend that you post this on one of the other houseoffusion lists, as the jrun one is pretty much defunct. Second, a single CF instance can't use 3.5 GB of RAM, so just because you have that doesn't mean much. Third, in general you'll get much better performance with CF 8, since CF 8 supports new, non-obsolete JVMs. CF 7 supports 1.4.x, while CF 8 supports the latest 1.6 JVM. > Our site gets about 900 logins per day from west cost to east cost. We are > east cost, so the majority of our traffic > is probably around 11 or 12 Eastern Time. We have session variables that > store anywhere between 10,000 rows > with anywhere between 200-400 characters. The session time span is 4 hours > and 5 minutes. Shouldnt our > system easily handle this? I ask, because our admin guy says it is an issue, > but I think our problems are from > something else, maybe upstream? One other thing to note is that our users > claim that pages are taking minutes > to load, but this garbage collection the sys admin keeps talking about only > shows it is in collections for very > small number of seconds? The log below is only for a couple of minutes, but > we have this problem for the rest > of the day. Also, he claims this is peppered through out the log file. > Usually not this much, but he sees full > collection similar to this quite frequently. Well, first, that's a lot of stuff to stick in the session scope. Second, that's a REALLY LONG session timespan. The time span determines how long sessions will last with no user activity, so if I log in, view one page and close my browser, that session will stick around in memory for 4 hours more. That's really, really long. I'd set it to something like 20 minutes, maybe 30 minutes tops. Third, garbage collection might not take very long when it runs, but it may pause all other activity while it's running. CF doesn't execute all tasks in parallel, it uses a queuing system, and if you're receiving more requests than you have threads to process those requests, the additional requests are queued. If garbage collection occurs while my request is in the queue, all the requests currently being processed will take longer, and it'll take longer for my request to get an available thread. > It used to be that our system would bounce back after restarting our CF > Server, but now this doesnt do > anything for us. We are experiencing more volume, but I dont think this > could possibly cause this much > of a hanging scenario!! Besides, when I look at CF debug, it shows pages are > being rendered in seconds, > not minutes. I think our admin guy may be a little over the top with all of > this. Can some one please help? When you actually browse pages, what do you see? Do they take seconds? You may have other issues that don't have anything to do with CF. > Oh, here are some other info: > > Min heap is 512 > > Max heap is 1024 This means that your CF server can only use 1024 MB of that 3.5 GB RAM you've got. > We are using parallelGC switch. There are a lot of tunable parameters for garbage collection. Unfortunately, finding the optimal ones is often a matter of trial and error. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for mor ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/jrun-talk/message.cfm/messageid:5850 Subscription: http://www.houseoffusion.com/groups/jrun-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.8
