Howdy -- Does anybody know of a method within CF, or a third-party tool, whereby I can monitor or otherwise determine which Linux process (or which Windows process, for that matter) is handling which active CF request?
Some of my developers occasionally write code which runs away, hangs, or otherwise fails to terminate as expected. When I do a "ps -Af | fgrep coldfusion" on the Linux box hosting my CF 5 Pro server, I usually get back at least a couple dozen CF processes, all of them of course owned by "nobody", and I don't have a clue which process is the troublesome one that needs to be killed, so I usually don't have any choice but to be rude to everybody else who's using the site and do a .../bin/stop and .../bin/start on the whole CF server. Ick. What I want, I guess, is sort of a "ps -coldfusion" that tells me, for each CF process, which .cfm it's executing and which IP address made the request. Then I can easily identify the troublemaker and issue a "kill" (unless there's some more graceful way to do this that I don't know about). I only have CF Pro, but from what I can see from the docs about the performance monitoring tools available with CF Enterprise, it still doesn't look like I would get the level of detail that I need even if I upgraded. I tried running .../bin/cfstat for the heck of it, to see what it would output, but all it said was "Couldn't get access to shared memory area. Perhaps CFAS is not running on this machine? Perhaps performance monitoring is not enabled from the CFAS administrator? Perhaps CFAS was not restarted after enabling performance monitoring?" This, in spite of the fact that CFAS is running, performance monitoring is enabled, and CFAS was restarted after PM was enabled. If anybody knows of a solution, I'd sure appreciate a pointer. Thanks! -- LBA ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists