You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jeff Rogers <pb...@mac.com> on 2003/11/12 17:51:11 UTC

Need Consulting

Hello,

I hate to post this to the dev list, but we need consulting help.  I 
have no idea where to look for reputable Tomcat consulting.

We are at our wits end and ready to make the jump to commercial 
software due to a "signal 11" crashing problem with our Tomcat servers. 
  We have found about a zillion similar issues on the lists, but no 
solutions.

We are in the Northeastern part of the US.  Please reply offline to 
keep this off the dev list.

Thanks


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


Re: Need Consulting

Posted by Dirk Verbeeck <di...@pandora.be>.
You should first check if your OS is updated properly.

Are you running on (Redhat) linux by any chance?
If you do then you have to be carefull that your linux kernel, libc and JVM 
version are compatible (pre or post redhat 9)
This is because the new thread library, Native POSIX Thread Library (NPTL).
http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/release-notes/ws-amd64/
http://developer.java.sun.com/developer/technicalArticles/JavaTechandLinux/RedHat/

Another option is to try green threads "-green" option and/or disable hotspot.

If you have a core dump you could analyse it using gdb.


-- Dirk


jean-frederic clere wrote:
> Clere, Jean-Frederic wrote:
> 
>> Jeff Rogers wrote:
>>
>>> Hello,
>>>
>>> I hate to post this to the dev list, but we need consulting help.  I 
>>> have no idea where to look for reputable Tomcat consulting.
>>>
>>> We are at our wits end and ready to make the jump to commercial 
>>> software due to a "signal 11" crashing problem with our Tomcat servers.
>>
>>
>>
>> "signal 11" are normaly problems in the JVM's. Which java version are 
>> you using?
> 
> 
> BTW: I have tried to "overload" TC and I have got:
> ++++
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : 11 occurred at PC=0x40098aa6
> Function name=malloc
> Library=/lib/libc.so.6
> 
> Current Java thread:
>         at java.net.SocketInputStream.socketRead(Native Method)
>         at java.net.SocketInputStream.read(SocketInputStream.java:85)
>         at 
> org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:767) 
> 
>         at 
> org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:428) 
> 
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:569)
>         at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) 
> 
>         at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
> +++
> 
> That is with JVM 1.3.1_03... and 4.1.24.
> 
>>
>>>  We have found about a zillion similar issues on the lists, but no 
>>> solutions.
>>>
>>> We are in the Northeastern part of the US.  Please reply offline to 
>>> keep this off the dev list.
>>>
>>> Thanks



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


Re: Need Consulting

Posted by Peter Lin <tc...@yahoo.com>.
 
hmm, very interesting.  What other processes are running outside the VM?
 
do you have process monitors, intrusion detection or other memory/IO intensive processes running on the same box?
 
you can rule out native drivers as a possible cause.
the VM still could be causing it.
tomcat is most likely not the cause.
 
that still leaves a lot of variables you have to track down. what are the exact system specs again?
 
peter


jean-frederic clere <jf...@fujitsu-siemens.com> wrote:
Peter Lin wrote:
> 
> as someone else mentioned, these types of seg fault errors have been the
> result of database drivers in the past. Specifically, using native
> drivers.

I am not using any native drivers.

> 
> I am aware of this type of behavior occuring with other drivers like JMS
> that wrap native code. Make sure your database driver isn't the cause.
> Try using a third party pure java jdbc driver and see if the same
> behavior occurs. As the error messages states, something outside the VM
> caused the seg fault.

Not exactly, the segfault occurs in a routine outside the VM but it is hard to 
know what causes the memory corruption.

> 
> good luck.
> 
> peter
> 
> 


---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

Re: Need Consulting

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Peter Lin wrote:
>  
> as someone else mentioned, these types of seg fault errors have been the
> result of database drivers in the past. Specifically, using native
> drivers.

I am not using any native drivers.

>  
> I am aware of this type of behavior occuring with other drivers like JMS
> that wrap native code. Make sure your database driver isn't the cause.
> Try using a third party pure java jdbc driver and see if the same
> behavior occurs. As the error messages states, something outside the VM
> caused the seg fault.

Not exactly, the segfault occurs in a routine outside the VM but it is hard to 
know what causes the memory corruption.

>  
> good luck.
>  
> peter
> 
> 
> jean-frederic clere <jf...@fujitsu-siemens.com> wrote:
> Clere, Jean-Frederic wrote:
> 
>>Jeff Rogers wrote:
>>
>>
>>>Hello,
>>>
>>>I hate to post this to the dev list, but we need consulting help. I 
>>>have no idea where to look for reputable Tomcat consulting.
>>>
>>>We are at our wits end and ready to make the jump to commercial 
>>>software due to a "signal 11" crashing problem with our Tomcat
> 
> servers.
> 
>>
>>"signal 11" are normaly problems in the JVM's. Which java version are 
>>you using?
> 
> 
> BTW: I have tried to "overload" TC and I have got:
> ++++
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : 11 occurred at PC=0x40098aa6
> Function name=malloc
> Library=/lib/libc.so.6
> 
> Current Java thread:
> at java.net.SocketInputStream.socketRead(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:85)
> at 
> org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.ja
> va:767)
> at 
> org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalIn
> putBuffer.java:428)
> at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:56
> 9)
> at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
> onnection(Http11Protocol.java:392)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
> +++
> 
> That is with JVM 1.3.1_03... and 4.1.24.
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> 



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


Re: Need Consulting

Posted by Peter Lin <tc...@yahoo.com>.
 
as someone else mentioned, these types of seg fault errors have been the result of database drivers in the past. Specifically, using native drivers.
 
I am aware of this type of behavior occuring with other drivers like JMS that wrap native code. Make sure your database driver isn't the cause. Try using a third party pure java jdbc driver and see if the same behavior occurs. As the error messages states, something outside the VM caused the seg fault.
 
good luck.
 
peter


jean-frederic clere <jf...@fujitsu-siemens.com> wrote:
Clere, Jean-Frederic wrote:
> Jeff Rogers wrote:
> 
>> Hello,
>>
>> I hate to post this to the dev list, but we need consulting help. I 
>> have no idea where to look for reputable Tomcat consulting.
>>
>> We are at our wits end and ready to make the jump to commercial 
>> software due to a "signal 11" crashing problem with our Tomcat servers.
> 
> 
> "signal 11" are normaly problems in the JVM's. Which java version are 
> you using?

BTW: I have tried to "overload" TC and I have got:
++++
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x40098aa6
Function name=malloc
Library=/lib/libc.so.6

Current Java thread:
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:85)
at 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:767)
at 
org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:428)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:569)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
+++

That is with JVM 1.3.1_03... and 4.1.24.



---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

Re: Need Consulting

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Clere, Jean-Frederic wrote:
> Jeff Rogers wrote:
> 
>> Hello,
>>
>> I hate to post this to the dev list, but we need consulting help.  I 
>> have no idea where to look for reputable Tomcat consulting.
>>
>> We are at our wits end and ready to make the jump to commercial 
>> software due to a "signal 11" crashing problem with our Tomcat servers.
> 
> 
> "signal 11" are normaly problems in the JVM's. Which java version are 
> you using?

BTW: I have tried to "overload" TC and I have got:
++++
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x40098aa6
Function name=malloc
Library=/lib/libc.so.6

Current Java thread:
         at java.net.SocketInputStream.socketRead(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:85)
         at 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:767)
         at 
org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:428)
         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:569)
         at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
+++

That is with JVM 1.3.1_03... and 4.1.24.

> 
>>  We have found about a zillion similar issues on the lists, but no 
>> solutions.
>>
>> We are in the Northeastern part of the US.  Please reply offline to 
>> keep this off the dev list.
>>
>> Thanks
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 



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


Re: Need Consulting

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Jeff Rogers wrote:
> Hello,
> 
> I hate to post this to the dev list, but we need consulting help.  I 
> have no idea where to look for reputable Tomcat consulting.
> 
> We are at our wits end and ready to make the jump to commercial software 
> due to a "signal 11" crashing problem with our Tomcat servers.

"signal 11" are normaly problems in the JVM's. Which java version are you using?

>  We have 
> found about a zillion similar issues on the lists, but no solutions.
> 
> We are in the Northeastern part of the US.  Please reply offline to keep 
> this off the dev list.
> 
> Thanks
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 



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