Tomcat performance break-in under load, zero response, servicetermitated

2006-09-14 Thread SSL


Hello there, 

we have a problem with an intranet tomcat server.
Under high load*** the performance completely breaks in, or the tomcat
totally fails (service terminated unexpectedly).
The break in first seemed to be a complete collapse, but the tomcat
magically recovered after some time, 
but never reacheed its full capacity again.
The processor load was then at about 0%-40% , not 85%-98% as before when it
was running fine.

***high load
User training with about 20 client pcs.
Reconstructing the failure by running 12 concurrent HTTracks to fetch the
pages. 

Tomcat 5.5.9 also 5.5.17 using jre 1.5.0_04 
768 MB initial 1,5 GB max memory (but not nearly used says lambdaProbe )
lambdaProbe says not running more than 40 running Threats out of max 70 , we
would keep about 50 threats

Windows 2003 Server SP1 4GB 3.2 Ghz dual 
accessing an Oracle 9.2 database on a different server using direct JDBC
also running an IIS on the server

Our Application is essentially a Servlet generating some kind of report
pages.
The pages are XSLT transformed XML data which is fetched from the db.
The pages including large grafics (generated jpg ca 1000x2000px) are
generated on the fly, because of the variations.
We got some NullpointerExecptions instead of expected database result sets, 
but then the servlet will simply not serve the complete page correctly, or
would it have other consequences?

The database logged no errors or problems and the database server could
handle the load easily with about 30% prozessor load.

It seems to me that the memory increase (over initial mem) posses an extreme
problem.
Can anybody confirm this ? would it be useful to set initial mem to a gig or
more?

What can we do or try?
If anybody has some tips to share? please ;-)

We also experienced this bug, but only sometimes
http://issues.apache.org/bugzilla/show_bug.cgi?id=38898

Thanks
Stefan


-- 
View this message in context: 
http://www.nabble.com/Tomcat-performance-break-in-under-load%2C-zero-response%2C-servicetermitated-tf2271846.html#a6306630
Sent from the Tomcat - User forum at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



No response from server

2006-09-19 Thread SSL


Hello there,

we experience the situation that our Tomcat server does not respond anymore
after some time.
We already tried a few things to track the problem, like lambdaProbe, the
latest tomcat version, memory seetings, ... but to no avail.
Do you have an idea what the problem could be?

Thanks
Stefan Schmitz-Linneweber
-- 
View this message in context: 
http://www.nabble.com/No-response-from-server-tf2299857.html#a6391134
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: No response from server

2006-09-21 Thread SSL


We got no more response from any application after a while, but the
processor load was low.
Nor did we get any usefull log messages.

The problem seems to be solved: We got a deadlock of all the http-connector
threads.

It was caused by an access to a LONG_RAW field on the oracle database,
while concurrently the same or other requests fetched different data through
the same database connection.
The internal connection of the driver got stuck.

The synchronisation does not work correctly with accessing LONG_RAW fields.
Some additional details can be found on Metalink BugNo 4388999


Thanx
Stefan Schmitz-Linneweber


Li-3 wrote:
> 
> not respond means:
> it can not process any request of any deployed application
> 
> or
> 
> it can not process any request of a specific?
> 
> ...
> 
> 
> On 9/21/06, Emre Ersoz <[EMAIL PROTECTED]> wrote:
>>
>> Anything on the logs?
>>
>> $TOMCAT_HOME/logs
>>
>>
>> On 9/19/06, SSL <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> >
>> > Hello there,
>> >
>> > we experience the situation that our Tomcat server does not respond
>> > anymore
>> > after some time.
>> > We already tried a few things to track the problem, like lambdaProbe,
>> the
>> > latest tomcat version, memory seetings, ... but to no avail.
>> > Do you have an idea what the problem could be?
>> >
>> > Thanks
>> > Stefan Schmitz-Linneweber
>> > --
>> > View this message in context:
>> > http://www.nabble.com/No-response-from-server-tf2299857.html#a6391134
>> > Sent from the Tomcat - User mailing list archive at Nabble.com.
>> >
>> >
>> > -
>> > To start a new topic, e-mail: users@tomcat.apache.org
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>>
> 
> 
> -- 
> When we invent time, we invent death.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/No-response-from-server-tf2299857.html#a6426092
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



balancer with remote addr

2006-10-09 Thread SSL


Hi all,

I want to redirect incoming requests to different servers based on the
callers ip.
Is it possible to use the remote address in balancer rules? How?
Is there a better solution?

Thanx
Stefan Schmitz-Linneweber
-- 
View this message in context: 
http://www.nabble.com/balancer-with-remote-addr-tf2414802.html#a6731094
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AOL

2006-10-10 Thread SSL


The IP is that of the last proxy, which does not have to be the same between
requests.
But it is almost always from the same range, belonging to the provider.



Daniel Blumenthal wrote:
> 
> We just switched from a single server to a cluster, with a load balancer
> out
> front to manage incoming connections.  The load balancer makes the
> decision
> to go to app server 1 (app1) or app server 2 (app2) based on IP address -
> once a request comes in from one source IP, all future requests (for some
> period of time) go to the same server.
>  
> The problem is that it appears that AOL will randomly assign an IP address
> to every request a user sends.  So a user could end up going to both
> servers.
>  
> With the exception of user login data, the code is reentrant, but I've had
> to store login information as cookies (max age = -1 so only for the
> current
> session) so that the user will automatically log in to the other server
> if/when they hit it.  Although this approach seems to work, it also has
> some
> problems, and I was wondering if others had encountered this problem, and
> if
> there was a "standard" solution.
>  
>  
>  
>  
> 
> 

-- 
View this message in context: http://www.nabble.com/AOL-tf2414685.html#a6734828
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: balancer with remote addr

2006-10-10 Thread SSL

I found the standard rules in the catalina.balancer.jar.
Theres a pretty basic RemoteAddress Rule.



SSL wrote:
> 
> 
> Hi all,
> 
> I want to redirect incoming requests to different servers based on the
> callers ip.
> Is it possible to use the remote address in balancer rules? How?
> Is there a better solution?
> 
> Thanx
> Stefan Schmitz-Linneweber
> 

-- 
View this message in context: 
http://www.nabble.com/balancer-with-remote-addr-tf2414802.html#a6734868
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]