¡@

Home 

python Programming Glossary: self.checkslogger.debug

Python subprocess.Popen erroring with OSError: [Errno 12] Cannot allocate memory after period of time

http://stackoverflow.com/questions/1216794/python-subprocess-popen-erroring-with-oserror-errno-12-cannot-allocate-memory

code for the above function is def getProcesses self self.checksLogger.debug 'getProcesses start' # Memory logging case 27152 if self.agentConfig.. 'free' ' m' stdout subprocess.PIPE .communicate 0 self.checksLogger.debug 'getProcesses memory before Popen ' str mem # Get output from.. memory before Popen ' str mem # Get output from ps try self.checksLogger.debug 'getProcesses attempting Popen' ps subprocess.Popen 'ps' 'aux'..