I'm using STAX 3.4.0. If it really should not happen then it is likely a problem on my end, not STAX's end.. :)
- Paul From: Sharon Lucas/Austin/IBM To: Paul Ellsworth/San Jose/i...@ibmus Cc: staf-users@lists.sourceforge.net Date: 03/04/2010 12:43 PM Subject: Re: [staf-users] Python variable scope ... between jobs? 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 To staf-users@lists.sourceforge.net 03/04/2010 02:24 cc PM 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
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
<<inline: pic01633.gif>>
------------------------------------------------------------------------------ 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