You most likely have a deadlock problem ... Worker threads should
never hit 256. You should be able to stack dump your threads and see
that you're hanging on some locked resource -- objectstore, session,
something like that.
ms
On Oct 14, 2009, at 8:06 AM, Kristof Cossement wrote:
Hi all,
when deploying a webobjects app, we can see the min and max number
of WOWorkerThread specified by variables 'WOWorkerThreadCountMin'
and 'WOWorkerThreadCountMax'
root 43233 0.1 1,5 2612824 498428 ?? R Mi10am
160:15.03 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -
DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/
System/Library/WebObjects/JavaApplications/wotaskd.woa -
DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS
-Dcom.webobjects.pid=43233 -Xms512m -Xmx2048m -DWOHost=192.168.11.8 -
DDatabasePoolSize=20 -classpath WOBootstrap.jar
com.webobjects._bootstrap.WOBootstrap -WOPort 12346 -
WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /Library/
WebObjects/Logs/AdvitServer-1 -WOAutoOpenInBrowser NO -
WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -
WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor
WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -
WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -
NSProjectSearchPath () -WOSessionTimeOut 3600 -WOApplicationName
AdvitServer -WOMonitorEnabled YES -WONoPause YES -
DWOHost=192.168.11.8 -DDatabasePoolSize=20
At some point, the number of threads in my application is 326, of
which 256 of them are WOWorkerThread's (dumped the threads with
jstack)
Even if load decreases, the 256 WOWorkerThread's do not disappear
anymore, it seems once created, they don't get released anymore.
Is there a mechanism in WebObjects that should release
WOWorkerThread's when not needed anymore ?
greetz
Kristof
Looking for Web-to-Print Solutions?
Visit our website : http://www.vit2print.com
This e-mail, and any attachments thereto, is intended only for use
by the addressee(s) named herein and may contain legally privileged
and/or confidential information and/or information protected by
intellectual property rights.
If you are not the intended recipient, please note that any review,
dissemination, disclosure, alteration, printing, copying or
transmission of this e-mail and/or any file transmitted with it, is
strictly prohibited and may be unlawful.
If you have received this e-mail by mistake, please immediately
notify the sender and permanently delete the original as well as any
copy of any e-mail and any printout thereof.
We may monitor e-mail to and from our network.
NSS nv Tieltstraat 167 8740 Pittem Belgium
_______________________________________________
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/mschrag%40mdimension.com
This email sent to [email protected]
_______________________________________________
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]