Hi I'd also recommend getting a copy of Fusion Reactor http://www.fusion-reactor.com
This will enable you to monitor individual requests in Real time, to see which requests are hanging Regards Mark -----Original Message----- From: Bernie Dolan [mailto:[EMAIL PROTECTED] Sent: 27 September 2007 19:34 To: CF-Server Subject: Re: CFMX7 + Apache problem -- excessive pids hanging website Hi Julie, You might be experiencing a denial of service attack. Apache (at least for v1.3x -- not sure about v2) will usually increase the number of pids (up to your "MaxClients" setting) as site traffic increases. I've also seen this behavior with bad redirects (ex. Bad login code that ends up doing an infinite cflocation to "index.cfm"). Check your Apache access log to see if there's an unusually high number of requests on a single page or multiple rapid fire requests from the same IP address. That might give you an idea of what's going on. Another possibility is you may have a number of requests that are just taking too long to run, causing other threads to backup. You can enable the "Log slow pages" setting in the CF administrator and check back after you experience the problem again to see if this is the case. Hope that helps... - Bernie On 9/27/07, Julie Davenport <[EMAIL PROTECTED]> wrote: > Hello, > We are running cfmx7 with apache on red hat linux. A problem started 2 days ago causing our website to hang, where coldfusion and apache do not seem to be communicating properly with each other. We will restart the coldfusionmx7 service (with or without restarting httpd service), and everything will be fine for about 30 mins, then all .cfm pages will hang, and if we check the status of httpd service it shows tons of pids, ex: > > [EMAIL PROTECTED] connectors]# service httpd status httpd (pid 8592 8591 > 8590 8589 8588 8587 8586 8585 8584 8583 8582 8581 8574 8573 > : > 8368 8363 8362 8360 8353 8352 8350 8346 8334 8326 8241 8231 8189 7718 7677 7279 7278 7277 7276 7275 7274 7273 7272 7269) is running... > > (ie, about 150 pids ... normally we only see 20 or so pids). It's like some requests just keep firing over and over but something is not connecting. We don't have any cf server or apache experts around, just a couple of developers, and we're at a loss. > > We did find a technote from Adobe about the cfmx-connectors.sh file not being renamed to cfmx-connectors-run.sh properly upon startup, so we did rename that, but it did help. Before we did that, when we would restart coldfusion, we'd get an error about apache connector wizard ("There was an error while running the connector wizard. Connector installation was not successful") but CF would still restart. This error has gone away since renaming the cfmx-connector.sh, but the problem remains. > > These messages are appearing repeatedly in the /var/log/httpd/error_log: > "JRun is busy. [15] dropped while sending command" > "Couldn't initialize from remote server, JRun server(s) probably down." > " JRun will not accept request. Check JRun web server configuration and JRun mappings on JRun server." > > This message is appearing repeatedly in /opt/coldfusionmx7/logs/cfserver.log: > "java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool." > > I don't know if these are causes or symptoms. Apologize for the lengthy post ... any suggestions? > thanks much, > Julie Davenport > CF Developer > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Server/message.cfm/messageid:6473 Subscription: http://www.houseoffusion.com/groups/CF-Server/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.10
