On Mar 4, 2008, at 11:31 AM, Klaus Berkling wrote:

I maintain two WebObjects installation in China.

One of them is giving me problems - performance is slow. Our users can't get connected, yet there are many sessions and much activity in the logs.

I have 80 instances for 2 servers, they handle 10-30 sessions each. Requests are completed usually in less the 1 second.

That seems like a lot of instances for 2 servers. How much memory is on each? What heapsize are you giving each instance?


- Maximum Adaptor Threads is 512
Increasing this correlates to increasing incoming connections to the HTTP server.

That seems waaay to high. If WO creates more than 16 or so worker threads, it will have a hard time recovering without the users getting timeout messages.

- Listen Queue is 2
It was 10, I don't want too many people in the queue to start any sessions when the user ends up quitting and trying again - therefore ending up with two sessions were one is left to timeout.

That seems right to me.


- Session timeout is 10 minutes

For Adaptor settings:
- I'm using Load Average to balance the load.

IME Round Robin works better.


- Send timeout is 10 seconds.
- Receive timeout is 600 seconds since we may execute queries that take some time, very rare.

OUCH! Are these queries running in their own EOF stack? If not, they are blocking the default EOF stack and that is blocking most (all perhaps) of the other requests. Requests start piling up and the app will quickly be useless.



- Connect timeout is 10 seconds.
- Connection Pool is 2

I might get 300-400 concurrent connections to the web server. I should be able to handle that.

The WO servers never see high CPU load and have 25% inactive RAM available.

Memory starvation is another possibility. What is the -XMnnnx size for each instance?


On the database server, there is no sustained high CPU load.
I'm using InnoDB. My ibdata file is 20GB - I assume this to be very large.

To me these numbers are contradictory but these are the numbers.

Any thoughts?  Anything that blatantly wrong with this?

See where we get to with the above.

Chuck


Thanks

kib

"Success is not final, failure is not fatal: it is the courage to continue that counts.”
- Winston Churchill

Klaus Berkling
Systems Administrator
DynEd International, Inc.
www.dyned.com | www.eskimo.com/~kiberkli

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to