Hi Eric,

On Feb 15, 2006, at 2:48 PM, Eric Stewart wrote:

I've read the help section quite a few times but the naming was
confusing me.

It _is_ a very misleading name. I looked it up just to be certain before I replied.

I wasn't sure if it mean't threads that work strictly
for the adaptor or if the term incompassed any and all threads spawned
by your WO app.

It is only instances of com.webobjects.appserver._private.WOWorkerThread that are counted in this.


For instance. If you have a direct action that creates a second thread
by instantiating and running a class that extends from thread. Is both
the direct action thread and the thread it spawns off counted in the
total? Or just the direct action thread?

Just the direct action thread.


I hope you can see why it's confused me to this point.

Yes, you are not alone in your confusion.


I've search the develor.apple.com site but I can't find any good
documentation on exactly what is and what isn't a WOWorkerThread.

It is a very specific class created and managed by the WOAdaptor (a Java class in your application, usually WODefaultAdaptor). This is probably the source of the "adaptor threads" name in JavaMonitor. You can't (or shouldn't at least) create them yourself. If you have Practical WebObjects, there is some information on page 169.

Chuck



On 2/15/06, Chuck Hill <[EMAIL PROTECTED]> wrote:
On Feb 15, 2006, at 1:32 PM, Eric Stewart wrote:

By WOWorkerThread settings you are referring to "Minimum Adaptor
threads" and "Maximum Adaptor threads" settings under application
settings?

Yes.  These could use better names.  Check out the Help tab in
monitor for useful, if not really well organized, information:

Minimum Adaptor Threads
The starting number of WorkerThreads the WODefaultAdaptor should
create to handle incoming requests. This setting applies to the
WODefaultAdaptor for WebObjects 5.x. -WOWorkerThreadCountMin.
Defaults to 16.

Maximum Adaptor Threads
The maximum number of WorkerThreads that the default adaptor should
create to handle incoming requests. As the load on an application
instance grows, the WODefaultAdaptor will create new WorkerThreads to
handle requests. This setting only applies to the WODefaultAdaptor
for WebObjects 5.x. Setting this to -1 will let the number of
WorkerThreads grow indefinitely. -WOWorkerThreadCountMax. Defaults to
256.

Chuck


--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro

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-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to