Joined: 14 Jan 2010
Location: South Carolina, United States
|Posted: Fri Jul 11, 2014 5:41 am Post subject: Excessive channel usage
|Is there anyone out there that has any extensive use of Python on VMS?
Ok, I am using Python on VMS due to it being the language of choice in for WAF, a configuration utility now being used in some open source projects.
I am using OpenVMS Alpha V8.4 and Python 2.7.6.
I have had to develop a working subprocess.py module to allow Python to be more useable – this was necessary to get WAF to work since it uses Popen() from subprocess.py rather than popen() or similar from earlier versions of Python. That is working fine.
My problem is that in the course of doing the configuration testing of WAF for this project it does not seem to be deassigning the channels being used by Python. I have yet to figure out where in Python this is a problem but it is. I am suspicious that each time Python does an import that it opens the file does the import and for whatever reason does not really free the channel – but I am not a Python internals developer so I have not yet dug in there. Has anyone seen something like this? We are talking about well over 3000 channels that are being consumed.
Any thoughts? Any suggestions?
CCSS - Computer Consulting System Services, LLC
211 Ruth Drive
Gaffney, SC 29341
Skype Name: william.a.pedersen
LinkedIn Profile: www.linkedin.com/in/billpedersen