Increasing the number of threads solved the problem. Thanks Sharon!

 

From: Sharon Lucas [mailto:luc...@us.ibm.com] 
Sent: Tuesday, June 15, 2010 3:17 PM
To: Mayad AL-Saidi
Cc: staf-users@lists.sourceforge.net
Subject: Re: [staf-users] STAX jobs concurrently waiting for for queue
messages

 


Mayad, 

This is probably because your STAX service is configured to use a
maximum of 5 physical threads (which is the default).  You can check
this by listing the settings for your STAX service and checking the
value of the "Number of Threads" setting.  For example: 

C:\>STAF local STAX LIST SETTINGS 
Response 
-------- 
{ 
  Event Machine         : local 
  Event Service Name    : Event 
  Number of Threads     : 5 
  Process Timeout       : 60000 
  File Caching          : Enabled 
  Max File Cache Size   : 20 
  ... 
} 

You can increase this setting by specifying the NUMTHREADS parameter
when registering the STAX service as talked about in section
"Installation and Configuration", sub-section "STAX Service Machine" in
the STAX User's Guide at
http://staf.sourceforge.net/current/STAX/staxug.html#Header_StaxServiceM
ach.   For example, to increase the number of physical threads that the
STAX service can use to 10: 

SERVICE STAX LIBRARY JSTAF EXECUTE
{STAF/Config/STAFRoot}/services/stax/STAX.jar \
             PARMS "NUMTHREADS 10" 

Note you'll have to shutdown STAFProc and restart STAFProc for it to
read the updated STAF.cfg file.  Or you can unregister and re-register
the STAX service dynamically using the STAF SERVICE service's REMOVE
SERVICE and ADD SERVICE requests. 

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




"Mayad AL-Saidi" <mayad.al-sa...@cmgl.ca> 

06/15/2010 03:52 PM 

To

<staf-users@lists.sourceforge.net> 

cc

        
Subject

[staf-users] STAX jobs concurrently waiting for for queue messages

 

                




Hi all, 
  
I have six static handles and I have six STAX jobs. Each STAX job
submits a "QUEUE GET WAIT" request to a different handle. For some
reason, I can only have five of those jobs running at a time, the sixth
job would not start until I terminate one of the other five. Is there a
reason for this? Is there a way around it? 
  
Thanks, 
  
Mayad-------------------------------------------------------------------
-----------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo_____________________________________
__________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to