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
|