tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clovis Wichoski" <clovis.wicho...@gmail.com>
Subject Re: Tomcat 5.5.25 freezes
Date Fri, 04 Jul 2008 01:37:29 GMT
hi Christophe,

i'm fighting with this problem for months, but i will reply on your thread
for us to make a track of each problem, ok

On Thu, Jul 3, 2008 at 5:49 AM, Christophe Fondacci <
christophefondacci@nextep-softwares.com> wrote:

> Hello,
>
> Might it be related to the problem I described in the thread "Tomcat
> bottleneck on InternalInputBuffer.parseRequestLine" ?
>
> Christophe.
>
> ----- Original Message ----- From: "Clovis Wichoski" <
> clovis.wichoski@gmail.com>
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Sent: Thursday, July 03, 2008 3:26 AM
> Subject: Re: Tomcat 5.5.25 freezes
>
>
>
> Hi Anthony,
>
> i have same problem sometimes in version 6.0.16, when the thread stuck
> occurs again, execute the follow shell script, please adjust for your
> scenario.
>
> #!/bin/bash
> today=`date +%Y%m%d%H%M%S`
> psId=`/opt/java/jdk1.6.0_06/bin/jps | grep Bootstrap |  cut -d' ' -f1`
> /opt/java/jdk1.6.0_06/bin/jstack -l $psId >
> /mnt/logs/stack/stack${today}.txt
>
> execute some times, then post results here, for us to take a look,
>
> regards
>
> Clóvis
>
> On Mon, Jun 30, 2008 at 5:00 AM, Anthony Chamas <chamaster@gmail.com>
> wrote:
>
> Hello everyone,
>>
>> I am having quite a weird situation on a production server : tomcat
>> seems to be stuck somewhere when handling http requests.
>> The activity being slow (10 users), some requests take exactly 30
>> minutes to be processed.
>>
>> I have put aside the following :
>> -it happens on any page (not linked to a particular path)
>> -client issue : sniffing the network did not show anything special :
>> POST is ok, ACK is received by the client which waits for the server's
>> reply
>> -database lock : when that happens, I do not see any lock in the database.
>> -filters : we tried to deactivate all of them : same result
>> -I see no errors, warning or something significant in the log files.
>>
>> I am wondering why I am having the 30 minutes delay... maybe someone
>> has encountered the same situation... Thanks in advance for helping me
>> on this one !
>>
>>
>> Anthony
>>
>>
>> *********
>> Here is the architecture :
>> -struts-, spring-, hibernate- based application with loads of pojos
>> and db tables (700)
>> oracle 10g + Tomcat 5.5.25 creating the following DS :
>>
>> <Resource name="jdbc/ORACLEDS" scope="Shareable"
>> type="com.mchange.v2.c3p0.ComboPooledDataSource" />
>>  <ResourceParams name="jdbc/ORACLEDS">
>>  <parameter> <name>factory</name>
>> <value>org.apache.naming.factory.BeanFactory</value> </parameter>
>>  <parameter> <name>driverClass</name>
>> <value>oracle.jdbc.driver.OracleDriver</value> </parameter>
>>  <parameter> <name>jdbcUrl</name>
>> <value>jdbc:oracle:thin:@10.10.10.10:1521:SID</value> </parameter>
>>  <parameter> <name>user</name> <value>user</value>
</parameter>
>>  <parameter> <name>password</name> <value>pwd</value>
</parameter>
>>  <parameter> <name>initialPoolSize</name> <value>10</value>
</parameter>
>>  <parameter> <name>minPoolSize</name> <value>10</value>
</parameter>
>>  <parameter> <name>maxPoolSize</name> <value>400</value>
</parameter>
>>  <parameter> <name>maxIdleTime</name> <value>10000</value>
</parameter>
>>  <parameter> <name>autoCommitOnClose</name> <value>false</value>
>> </parameter>
>>  <parameter> <name>numHelperThreads</name> <value>50</value>
</parameter>
>>  <parameter> <name>maxStatements</name> <value>0</value>
</parameter>
>>  </ResourceParams>
>>
>> The server.xml dealing with the connector :
>>
>> <Connector port="8081"  maxHttpHeaderSize="8192"
>>             maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>>             enableLookups="false" redirectPort="8443" acceptCount="100"
>>             connectionTimeout="20000" disableUploadTimeout="true" />
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message