You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Amol Wate (awate)" <aw...@cisco.com> on 2009/11/18 09:07:39 UTC

FW: Tomcat 6.0.20 Causes Kernel Crash on Linux

 

-----Original Message-----
From: Timir Hazarika (thazarik) 
Sent: Wednesday, November 18, 2009 1:21 PM
To: Amol Wate (awate)
Subject: FW: Tomcat 6.0.20 Causes Kernel Crash on Linux

Amol, I'm not sure this question reached the list, would you forward it
please ?

Further, I see the following trace caused kernel panic:

Stack traceback for pid 5518
0xffff810092cfae80     5518     5477  1    2   R  0xffff810092cfb180
*java
rsp                rip                Function (args)
0xffff810079a1bd38 0xffffffff805a5a5f sock_get_ops+0x1f (0x0)
0xffff810079a1bd80 0xffffffff8820cc46 [ad]ad_layer_revert+0x56
(0xffff810075077000) 0xffff810079a1bdb0 0xffffffff8820cd21
[ad]ad_layer_release+0x11 (0xffff810075077000) 0xffff810079a1bdd0
0xffffffff805a4e4b sock_release+0x5b (0xffff810075077000)
0xffff810079a1bdf0 0xffffffff805a5ce6 sock_close+0x26
(0xffff810075077050) 0xffff810079a1be10 0xffffffff802857e8 __fput+0x178
(0xffff81009b69d100) 0xffff810079a1be50 0xffffffff80285836 fput+0x16
(invalid) 0xffff810079a1be60 0xffffffff805a648c sys_accept+0x1dc
(invalid, 0xfd7fe8b4, 0xfd7fe8b0) 0xffff810079a1bf40 0xffffffff805c0f43
compat_sys_socketcall+0xa3 (invalid) 0xffff810079a1bf80
0xffffffff80220452 ia32_sysret (invalid, invalid, invalid, invalid)

Thanks in advance,
Timir

-----Original Message-----
From: Timir Hazarika (thazarik)
Sent: Tuesday, November 17, 2009 5:21 PM
To: 'users@tomcat.apache.org'
Subject: Tomcat 6.0.20 Causes Kernel Crash on Linux

Folks,
 
Are there any known memory issues with tomcat 6.0.20 ? This build causes
a kernel panic on my linux box with Java 5. I'd been using 6.0.18
without any issues on the same configuration.

http://markmail.org/message/mrpgvn4mqvyrq64a reports a memory leak,
though I don't have enough debugs to say it matches mine. All I have is:

    BUG: unable to handle kernel NULL pointer dereference at virtual
address 00000000
    printing eip:
    c05d9144
    *pdpt = 000000002db52001
    *pde = 0000000000000000
    Oops: 0000 [#1]

This problem is consistently reproducible on 6.0.20, and magically
disappears upon switching back to 6.0.18. What am I missing ?

Thanks in advance,
Timir 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: FW: Tomcat 6.0.20 Causes Kernel Crash on Linux

Posted by Peter Crowther <pe...@melandra.com>.
2009/11/18 Amol Wate (awate) <aw...@cisco.com>

> Are there any known memory issues with tomcat 6.0.20 ? This build causes
> a kernel panic on my linux box with Java 5. I'd been using 6.0.18
> without any issues on the same configuration.
>
> http://markmail.org/message/mrpgvn4mqvyrq64a reports a memory leak,
> though I don't have enough debugs to say it matches mine. All I have is:
>
>    BUG: unable to handle kernel NULL pointer dereference at virtual
> address 00000000
>    printing eip:
>    c05d9144
>    *pdpt = 000000002db52001
>    *pde = 0000000000000000
>    Oops: 0000 [#1]
>
> This problem is consistently reproducible on 6.0.20, and magically
> disappears upon switching back to 6.0.18. What am I missing ?
>
> Thanks in advance,
> Timir
>
> I suspect you're missing either a working Linux kernel, or working hardware
:-).  6.0.20 is stable on a wide variety of OSs and hardware; something
about yours is causing problems.  Tomcat is not an unusual process - it
doesn't expect anything in particular out of the OS or kernel, as it has to
be so portable - so I'd contend that a kernel panic is indicative of
problems outside Tomcat.

1) Are you *certain* the hardware is solid?  Have you run memory testers etc
across it?  What is it, anyway, as you haven't told us?

2) Are you *certain* your Linux kernel is solid?  What is it, anyway, as you
haven't told us?

Also, what JVM and are you using anything other than pure Java code (do you
have tcnative installed, do you make any JNI calls, etc)?

- Peter