Paul,

What version of STAX are you using?

This should not happen if you are using a current version of STAX because 
each STAX job creates its own Python Interpreters, each with a new 
PySystemState.  We have many STAX users who have STAX service machines 
that run 10+ large jobs simultaneously and haven't had any issues reported 
like this.    If this really is happening, then it's a bug.

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




Paul Ellsworth/San Jose/i...@ibmus 
03/04/2010 02:24 PM

To
staf-users@lists.sourceforge.net
cc

Subject
[staf-users] Python variable scope ... between jobs?






Hello,

I sometimes have strange python (/jython... I will probably refer to it as 
python though...) variable issues - e.g., it values from one variable end 
up in another variable for whatever reason, or a class somehow gets messed 
up and Python complains that an instance of class X does not have 
attribute Y when I know for a fact that it does :)

This happens *much* more frequently when many jobs are running (10 or 
more... large jobs; if they all completed, they would generate over 
100,000 user logs, not sure how many non-user logs, use around 20 XML 
files that can have up to 4000 lines in them, etc).

I'm working through possible variable scope issues... question is: is 
there a possibility that the python variables/scope/maybe shared memory is 
getting mixed up or leaked amongst the many running jobs?

Not necessarily saying this is happening but asking if it is possible 
while I explore various reasons it may be happening... :)

It also seems to happen more frequently when multiple jobs are running 
through the same XML sections (and thus the same python/jython scripting) 
at the same time...

Thanks!
Paul
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to