Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 18689 invoked from network); 24 Mar 2004 23:48:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Mar 2004 23:48:40 -0000 Received: (qmail 48582 invoked by uid 500); 24 Mar 2004 23:48:14 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 48565 invoked by uid 500); 24 Mar 2004 23:48:14 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 48548 invoked from network); 24 Mar 2004 23:48:14 -0000 Received: from unknown (HELO aug-lnsmtp2.Electrolux.com) (204.17.248.70) by daedalus.apache.org with SMTP; 24 Mar 2004 23:48:14 -0000 Received: from aug-lnmail2.electrolux.com (unverified) by aug-lnsmtp2.Electrolux.com (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Wed, 24 Mar 2004 18:51:28 -0500 To: users@httpd.apache.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 From: "Rick Archibald" Message-ID: Date: Wed, 24 Mar 2004 17:50:10 -0600 X-MIMETrack: Serialize by Router on LNM_Augusta/USA/Electrolux Group(Release 5.0.12 |February 13, 2003) at 03/24/2004 06:48:53 PM, Serialize complete at 03/24/2004 06:48:53 PM Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Sending reply indefinitely X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On the Apache Server status page, I occasionally see processes writing indefinitely (stuck in a "W" mode of operation) until Apache HTTP and Tomcat are restarted. I'm not able to repeat this behavior on demand, but it always involves a request which gets forwarded to Tomcat on the same localhost. After one process locks in the "Write" mode, several more processes lock in the "Write" mode until the entire HTTP server locks up and requires a reboot. The software I'm using: Apache HTTP 2.0.40-21.9, Tomcat 4.1.24, Coyote 3.0.7, and MySQL 3.23.58. Although Tomcat, Coyote, poorly written servlets, or MySQL may be the cause, is there some way to handle this on the Apache end or do I need to address it in Coyote or Tomcat? netstat -tupan yields: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN 4783/java tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN 1543/xinetd tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 4783/java tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1614/mysqld tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 1750/smbd tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4741/httpd tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 1846/X tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1570/vsftpd tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1528/sshd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1627/sendmail: acce tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 4741/httpd tcp 0 0 10.117.5.148:139 10.117.3.52:1116 ESTABLISHED 7009/smbd tcp 0 0 127.0.0.1:8009 127.0.0.1:39186 ESTABLISHED 4783/java tcp 0 0 127.0.0.1:8009 127.0.0.1:39184 ESTABLISHED 4783/java tcp 0 0 127.0.0.1:8009 127.0.0.1:39178 ESTABLISHED 4783/java tcp 0 0 127.0.0.1:3306 127.0.0.1:33064 ESTABLISHED 1614/mysqld tcp 0 0 127.0.0.1:8009 127.0.0.1:39227 ESTABLISHED 4783/java tcp 0 0 127.0.0.1:3306 127.0.0.1:39228 ESTABLISHED 1614/mysqld tcp 1 0 127.0.0.1:44354 127.0.0.1:3306 CLOSE_WAIT 1672/java tcp 0 0 127.0.0.1:8009 127.0.0.1:39250 ESTABLISHED 4783/java tcp 1 0 127.0.0.1:48121 127.0.0.1:3306 CLOSE_WAIT 4783/java tcp 1 0 127.0.0.1:45597 127.0.0.1:3306 CLOSE_WAIT 1672/java tcp 1 0 127.0.0.1:45618 127.0.0.1:3306 CLOSE_WAIT 1672/java tcp 0 60 10.117.5.148:22 10.117.3.52:1840 ESTABLISHED 7048/sshd tcp 1 0 127.0.0.1:32772 127.0.0.1:3306 CLOSE_WAIT 1672/java tcp 0 0 127.0.0.1:33064 127.0.0.1:3306 ESTABLISHED 4783/java tcp 0 0 127.0.0.1:39228 127.0.0.1:3306 ESTABLISHED 4783/java tcp 0 0 127.0.0.1:39250 127.0.0.1:8009 ESTABLISHED 6602/httpd tcp 1 0 127.0.0.1:39249 127.0.0.1:8009 CLOSE_WAIT 7601/httpd tcp 0 0 127.0.0.1:39178 127.0.0.1:8009 ESTABLISHED 6605/httpd tcp 0 0 127.0.0.1:39186 127.0.0.1:8009 ESTABLISHED 6606/httpd tcp 0 0 127.0.0.1:39184 127.0.0.1:8009 ESTABLISHED 6603/httpd tcp 0 0 127.0.0.1:39227 127.0.0.1:8009 ESTABLISHED 6601/httpd tcp 1 0 127.0.0.1:39103 127.0.0.1:8009 CLOSE_WAIT 6604/httpd tcp 1 0 127.0.0.1:38657 127.0.0.1:8009 CLOSE_WAIT 6608/httpd tcp 1 0 127.0.0.1:38666 127.0.0.1:8009 CLOSE_WAIT 6607/httpd tcp 0 0 127.0.0.1:38642 127.0.0.1:8009 ESTABLISHED 7137/httpd tcp 625 0 127.0.0.1:8009 127.0.0.1:38642 ESTABLISHED 4783/java tcp 0 0 10.117.5.148:139 204.63.128.125:2085 ESTABLISHED 2413/smbd tcp 0 0 10.117.5.148:139 192.168.90.98:4281 ESTABLISHED 2196/smbd tcp 0 0 10.117.5.148:139 204.63.128.58:2499 ESTABLISHED 2398/smbd udp 0 0 127.0.0.1:32772 0.0.0.0:* 2196/smbd udp 0 0 127.0.0.1:32773 0.0.0.0:* 2398/smbd udp 0 0 127.0.0.1:32774 0.0.0.0:* 2413/smbd udp 0 0 10.117.5.148:137 0.0.0.0:* 1755/nmbd udp 0 0 0.0.0.0:137 0.0.0.0:* 1755/nmbd udp 0 0 10.117.5.148:138 0.0.0.0:* 1755/nmbd udp 0 0 0.0.0.0:138 0.0.0.0:* 1755/nmbd udp 0 0 127.0.0.1:32794 0.0.0.0:* 7009/smbd udp 0 0 0.0.0.0:871 0.0.0.0:* 1543/xinetd udp 0 0 10.117.5.148:123 0.0.0.0:* 1560/ntpd udp 0 0 127.0.0.1:123 0.0.0.0:* 1560/ntpd udp 0 0 0.0.0.0:123 0.0.0.0:* 1560/ntpd The Recv-Q for 38642 looks suspicious... And the status page: Apache Server Status for webdev.eureka.com Server Version: Apache/2.0.40 (Red Hat Linux) Server Built: Nov 27 2003 11:04:06 Current Time: Wednesday, 24-Mar-2004 17:36:27 CST Restart Time: Wednesday, 24-Mar-2004 04:02:14 CST Parent Server Generation: 1 Server uptime: 13 hours 34 minutes 13 seconds Total accesses: 3343 - Total Traffic: 4.3 MB CPU Usage: u2.05 s.64 cu0 cs0 - .00551% CPU load .0684 requests/sec - 91 B/second - 1342 B/request 7 requests currently being processed, 5 idle workers WWWWWW__W___.................................................... ................................................................ ................................................................ ................................................................ Scoreboard Key: "_" Waiting for Connection, "S" Starting up, "R" Reading Request, "W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup, "C" Closing connection, "L" Logging, "G" Gracefully finishing, "I" Idle cleanup of worker, "." Open slot with no current process Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request 0-1 6601 0/389/389 W 0.14 3686 0 0.0 0.62 0.62 10.117.3.52 zlr.eureka.com GET /products/upright/4870dt.jsp HTTP/1.1 1-1 6602 0/397/397 W 0.35 3605 0 0.0 0.54 0.54 10.117.3.52 zlr.eureka.com GET /products/upright/4870dt.jsp HTTP/1.1 2-1 6603 0/381/381 W 0.23 3890 0 0.0 0.63 0.63 10.117.21.245 zlr.eureka.com GET /products/upright/4870dt.jsp HTTP/1.1 3-1 6604 0/395/395 W 0.40 0 0 0.0 0.54 0.54 10.117.3.52 webdev.eureka.com GET /status HTTP/1.1 4-1 6605 0/379/379 W 0.11 3914 0 0.0 0.32 0.32 10.117.21.245 zlr.eureka.com GET /products/upright/4870dt.jsp HTTP/1.1 5-1 6606 0/380/380 W 0.17 3885 0 0.0 0.44 0.44 10.117.21.245 zlr.eureka.com GET /products/upright/4870dt.jsp HTTP/1.1 6-1 6607 0/397/397 _ 0.42 3647 0 0.0 0.52 0.52 10.117.3.52 webdev.eureka.com GET /phpMyAdmin/css/phpmyadmin.css.php3?lang=en-iso-8859-1&js_f 7-1 6608 0/398/398 _ 0.39 3640 0 0.0 0.46 0.46 10.117.3.52 webdev.eureka.com GET /status HTTP/1.1 8-1 7137 0/210/210 W 0.07 6538 0 0.0 0.15 0.15 10.117.21.245 zlr.eureka.com POST /servlet/GetQuestions HTTP/1.1 9-1 7601 0/10/10 _ 0.14 3605 0 0.0 0.01 0.01 10.117.3.52 zlr.eureka.com POST /servlet/FindModel HTTP/1.1 10-1 7604 0/6/6 _ 0.27 467 0 0.0 0.04 0.04 10.117.3.52 webdev.eureka.com GET /status HTTP/1.1 11-1 7615 0/1/1 _ 0.00 253 0 0.0 0.01 0.01 10.117.3.52 webdev.eureka.com GET /status HTTP/1.1 Srv Child Server number - generation PID OS process ID Acc Number of accesses this connection / this child / this slot M Mode of operation CPU CPU usage, number of seconds SS Seconds since beginning of most recent request Req Milliseconds required to process most recent request Conn Kilobytes transferred this connection Child Megabytes transferred this child Slot Total megabytes transferred this slot Apache/2.0.40 Server at webdev.eureka.com Port 80 Any suggestions would be appreciated... Best Regards, Rick Archibald *********************************************************************** This e-mail and any attachments may contain information which is confidential, privileged, proprietary or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer. *********************************************************************** --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org