Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 65512 invoked from network); 5 Feb 2010 00:11:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2010 00:11:53 -0000 Received: (qmail 26040 invoked by uid 500); 5 Feb 2010 00:11:49 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 25960 invoked by uid 500); 5 Feb 2010 00:11:49 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 25949 invoked by uid 99); 5 Feb 2010 00:11:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 00:11:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.191.125.178] (HELO n11b.bullet.mail.mud.yahoo.com) (209.191.125.178) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 05 Feb 2010 00:11:37 +0000 Received: from [68.142.200.225] by n11.bullet.mail.mud.yahoo.com with NNFMP; 05 Feb 2010 00:11:16 -0000 Received: from [76.13.13.25] by t6.bullet.mud.yahoo.com with NNFMP; 05 Feb 2010 00:11:16 -0000 Received: from [68.142.237.90] by t4.bullet.mail.ac4.yahoo.com with NNFMP; 05 Feb 2010 00:10:48 -0000 Received: from [66.196.114.23] by t6.bullet.re3.yahoo.com with NNFMP; 05 Feb 2010 00:10:48 -0000 Received: from [127.0.0.1] by omp310.mail.re3.yahoo.com with NNFMP; 05 Feb 2010 00:10:48 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 783312.28256.bm@omp310.mail.re3.yahoo.com Received: (qmail 31654 invoked by uid 60001); 5 Feb 2010 00:10:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1265328648; bh=4U72naUvkCHY6H2ZNQknf1FZW7NmxLuoyJw9Lm4DXJ0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bPsIB1/4BTOhAFUXbWO1NOu1uZ4IclxXSGBV6Ns5FVtJvv39Fb80vJWRsTBJQGhdXq5tIkRv3EzfOEo5x4XC8y/3KBxbjVudU6Z4FJEF1P/BXSS67slkMcJSAo5waug889h1/z56MlnV7mRctAVLyh1m5qRZYC+OjfndvAbPVMk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zZCpbliGOr0Rh/+ujZy8BIqc72KlYwK/9vDz5RFRWs0g8YsHVeOpdk5bFub/stPfH9KMwqEPqOtuVc7A+eDvZB61SQkbQfFPO8bBisW9WYmf/qL5EEKKq/4Pb3Py/m0ikHg04vCbcJwIlS+UgzdE5vNG0+Y+EQfxObziv73GkCg=; Message-ID: <669934.30949.qm@web56605.mail.re3.yahoo.com> X-YMail-OSG: bp.6IDsVM1mky.5YS24fawWD_Y.YBskBV.FaWv2H8NNaIGl7dd7DONFuZa1KYa4DTVrTT1ujRvqsgTas723pkqKvcMBYi0m3FKP5teMR7KGuOfWdbGKzugS07MwlVuGcv3vcpjTYxFCcfRgkv2pgwg6nAmbysr4yaPFV_o5iwDDloAQSoBa26q4unjCOZ5YuLXWq0Bcw2AKdyF.Cq_uJaoN5YjjWZq8z6ZLdAMZd9wkWA59EyefrzR9e4gf0xyCwnok9p7Nk0jRSoo.5cftBD2bWldb46N23HRdHze0zG868fK2eSyVGXIG75aT6BHRpkeE_Q46y6Ip5LFBQyG_viGmzvH7i Received: from [69.239.184.167] by web56605.mail.re3.yahoo.com via HTTP; Thu, 04 Feb 2010 16:10:48 PST X-Mailer: YahooMailClassic/9.1.10 YahooMailWebService/0.8.100.260964 Date: Thu, 4 Feb 2010 16:10:48 -0800 (PST) From: Mark Eggers Subject: RE: Tomcat dies suddenly To: Tomcat Users List MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org --- On Thu, 2/4/10, Caldarale, Charles R wrote= :=0A=0A> > 6. Carl was using 32-bit Linux, which he isn't :(=0A> =0A> Corre= ct, which made the whole point moot, so I'm not sure=0A> why Dan even broug= ht it up.=0A> =0A=0AI just mentioned the 32-bit Linux behavior for complete= ness. I did state that I realized 32-bit Linux is not in play.=0A=0A> > AFA= IK, 64-bit Linux has a wide-open memory addressing=0A> scheme. Maybe it=0A>= > considers everything under 17 billion GiB to be "low=0A> memory", now :)= =0A> =0A> No, the hardware restrictions don't exist in 64-bit mode.=0A=0ATh= is is what I've read as well. If you use 64-bit Linux, this problem goes aw= ay. There are also some ways to build the 32-bit kernel in order to reduce = this problem.=0A=0AAll this is moot since a 64-bit Linux kernel is being us= ed.=0A=0AAs to the copy-on-write behavior for fork()d processes, it would h= elp if I read the man pages:=0A=0AUnder Linux, fork() is implemented using = copy-on-write pages, so the only penalty that it incurs is the time and me= mory required to duplicate the parent=E2=80=99s page tables, and to create = a unique task structure for the child.=0A=0AIt turns out that things are a = little bit more complicated than that, in that since version 2.3.3 fork is = actually a wrapper to clone(2) with the appropriate flags to give the same = result as a traditional fork(2) call.=0A=0AAll of this is moot however if t= here is no Runtime.exec() call in the application.=0A=0AI'm a bit curious t= hough about several points:=0A=0A1. The application runs fine on an older s= ystem. Do we have the glibc and kernel versions for all systems?=0A=0A2. Di= fferent usage patterns (?) seem to cause the outages at different rates (if= I remember an account of one Friday). What paths in the application were b= eing exercised most heavily during that time?=0A=0AAs for cache / buffer / = free - I've seen cases where the cache did not go to 0, but swap was in pla= y (slow disk, small amount of memory).=0A=0ASorry for chasing down the rabb= it hole . . .=0A=0A/mde/=0A=0A=0A --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org