Re: Tomcat on AIX 5.3

2010-04-14 Thread Harry Metske
Janos,

there are no clues that the delays are caused by tomcat, so maybe you should
look in general at other causes of delays.
There are a multiple components in the chain that can cause delays,
networking, IO, CPU.
You did not mention how much CPU you have at your disposal on your P6
machine, maybe you can have a look with IBM's nmon tool, contact your AIX
support colleagues.
And if your application has logging (maybe you can increase loglevels), that
is the first spot to look at, that should give you a clue where the delays
are.

regards,
Harry


2010/4/14 János Löbb 

> Filip,
> ,
> What tool  - java based or aix based -, can I use to see where does the
> time go ?  /I am not a Java programmer/
> I do not think it is the webapp, or tomcat, because the same configuration
> is fast on OSX server.
> DNS is working fine.
>
> Thanks ahead,
>
> János
>
> On Apr 14, 2010, at 11:28 AM, Filip Hanik - Dev Lists wrote:
>
>  you'd have to figure out what takes the time. Could be anything, including
>> a DNS timeout
>>
>> Filip
>>
>> On 04/14/2010 08:34 AM, János Löbb wrote:
>>
>>> Hi,
>>>
>>> I installed Tomcat 6.0.26 in an IBM P6 LPAR .  The java version is
>>> "1.5.0" that is equivalent to Java 5.  The LPAR has 12G memory and there are
>>> two databases on it, a Sybase and a MySql.  Sybase takes 3 G and mysql takes
>>> 3 G, so there is still plenty for Tomcat.
>>>
>>> The idea to put Tomcat here, was, that the webapp is connecting to the
>>> Sybase database on this LPAR, so getting the data locally should be faster
>>> than getting it via the network from another machine running Tomcat.
>>>
>>> Interestingly it is not the case.  When the same webapp deployed on the
>>> LPAR and on the other machine - an OSX Server  10.5.8 -, the screens on a
>>> client machine are coming much faster from the OSX server compared to the
>>> AIX LPAR.
>>>
>>> Is there anything special configuring Tomcat on AIX than on OSX ?
>>>
>>> On both machines the memory settings are the same for tomcat :
>>> CATALINA_OPTS="-server -Xms512M -Xmx1024M"
>>>
>>> and on AIX the option to use the IPv4 Stack is set in JAVA_OPTS.
>>>
>>> None of the .xml files were modified in the conf directory.
>>>
>>> Thanks ahead,
>>>
>>> János
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: Tomcat on AIX 5.3

2010-04-14 Thread János Löbb

Filip,

What tool  - java based or aix based -, can I use to see where does  
the time go ?  /I am not a Java programmer/
I do not think it is the webapp, or tomcat, because the same  
configuration is fast on OSX server.

DNS is working fine.

Thanks ahead,

János

On Apr 14, 2010, at 11:28 AM, Filip Hanik - Dev Lists wrote:

you'd have to figure out what takes the time. Could be anything,  
including a DNS timeout


Filip

On 04/14/2010 08:34 AM, János Löbb wrote:

Hi,

I installed Tomcat 6.0.26 in an IBM P6 LPAR .  The java version is  
"1.5.0" that is equivalent to Java 5.  The LPAR has 12G memory and  
there are two databases on it, a Sybase and a MySql.  Sybase takes  
3 G and mysql takes 3 G, so there is still plenty for Tomcat.


The idea to put Tomcat here, was, that the webapp is connecting to  
the Sybase database on this LPAR, so getting the data locally  
should be faster than getting it via the network from another  
machine running Tomcat.


Interestingly it is not the case.  When the same webapp deployed on  
the LPAR and on the other machine - an OSX Server  10.5.8 -, the  
screens on a client machine are coming much faster from the OSX  
server compared to the AIX LPAR.


Is there anything special configuring Tomcat on AIX than on OSX ?

On both machines the memory settings are the same for tomcat :
CATALINA_OPTS="-server -Xms512M -Xmx1024M"

and on AIX the option to use the IPv4 Stack is set in JAVA_OPTS.

None of the .xml files were modified in the conf directory.

Thanks ahead,

János
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





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



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



Re: Tomcat on AIX 5.3

2010-04-14 Thread Filip Hanik - Dev Lists
you'd have to figure out what takes the time. Could be anything, 
including a DNS timeout


Filip

On 04/14/2010 08:34 AM, János Löbb wrote:

Hi,

I installed Tomcat 6.0.26 in an IBM P6 LPAR .  The java version is 
"1.5.0" that is equivalent to Java 5.  The LPAR has 12G memory and 
there are two databases on it, a Sybase and a MySql.  Sybase takes 3 G 
and mysql takes 3 G, so there is still plenty for Tomcat.


The idea to put Tomcat here, was, that the webapp is connecting to the 
Sybase database on this LPAR, so getting the data locally should be 
faster than getting it via the network from another machine running 
Tomcat.


Interestingly it is not the case.  When the same webapp deployed on 
the LPAR and on the other machine - an OSX Server  10.5.8 -, the 
screens on a client machine are coming much faster from the OSX server 
compared to the AIX LPAR.


Is there anything special configuring Tomcat on AIX than on OSX ?

On both machines the memory settings are the same for tomcat :
CATALINA_OPTS="-server -Xms512M -Xmx1024M"

and on AIX the option to use the IPv4 Stack is set in JAVA_OPTS.

None of the .xml files were modified in the conf directory.

Thanks ahead,

János
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





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



Tomcat on AIX 5.3

2010-04-14 Thread János Löbb

Hi,

I installed Tomcat 6.0.26 in an IBM P6 LPAR .  The java version is  
"1.5.0" that is equivalent to Java 5.  The LPAR has 12G memory and  
there are two databases on it, a Sybase and a MySql.  Sybase takes 3 G  
and mysql takes 3 G, so there is still plenty for Tomcat.


The idea to put Tomcat here, was, that the webapp is connecting to the  
Sybase database on this LPAR, so getting the data locally should be  
faster than getting it via the network from another machine running  
Tomcat.


Interestingly it is not the case.  When the same webapp deployed on  
the LPAR and on the other machine - an OSX Server  10.5.8 -, the  
screens on a client machine are coming much faster from the OSX server  
compared to the AIX LPAR.


Is there anything special configuring Tomcat on AIX than on OSX ?

On both machines the memory settings are the same for tomcat :
CATALINA_OPTS="-server -Xms512M -Xmx1024M"

and on AIX the option to use the IPv4 Stack is set in JAVA_OPTS.

None of the .xml files were modified in the conf directory.

Thanks ahead,

János
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org