Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: [Errno 12] Cannot allocate memory #46

Closed
JackKelly opened this issue Apr 1, 2013 · 0 comments
Closed

OSError: [Errno 12] Cannot allocate memory #46

JackKelly opened this issue Apr 1, 2013 · 0 comments

Comments

@JackKelly
Copy link
Owner

13-03-30 06:00:09 INFO run_commands ## Successfully ran date -r /usr/local/logger/rsync/rsync_cron.log
13-03-30 06:00:09 INFO run_commands Attempting to run command tail /usr/local/logger/rfm_ecomanager_logger/cron.log
13-03-30 06:00:09 INFO run_commands ## Successfully ran tail /usr/local/logger/rfm_ecomanager_logger/cron.log
13-03-30 06:00:09 INFO run_commands Attempting to run command date -r /usr/local/logger/rfm_ecomanager_logger/cron.log
13-03-30 06:00:09 INFO run_commands ## Successfully ran date -r /usr/local/logger/rfm_ecomanager_logger/cron.log
13-03-30 06:00:09 INFO run_commands Attempting to run command /usr/local/logger/powerstats/powerstats/powerstats.py --data-dir /data/135 --html --cache
13-03-30 06:00:54 INFO run_commands ## Successfully ran /usr/local/logger/powerstats/powerstats/powerstats.py --data-dir /data/135 --html --cache
13-03-30 06:00:54 DEBUG send_email SMPT_SSL mail.xlk.org.uk
13-03-30 06:00:56 DEBUG send_email logging in as data@xlk.org.uk
13-03-30 06:00:56 DEBUG send_email sendmail to ['jack@jack-kelly.com']
13-03-30 06:00:59 DEBUG send_email quit
13-03-30 06:00:59 INFO send_email Successfully sent message

13-03-31 05:27:48 ERROR main 
Traceback (most recent call last):
  File "./power_babysitter.py", line 173, in main
    manager.run()
  File "/usr/local/logger/babysitter/babysitter/babysitter.py", line 558, in run
    if checker.just_changed_state():
  File "/usr/local/logger/babysitter/babysitter/babysitter.py", line 92, in just_changed_state
    state = self.state() # cache to avoid probs if this changes under us
  File "/usr/local/logger/babysitter/babysitter/babysitter.py", line 198, in state
    self.pid()
  File "/usr/local/logger/babysitter/babysitter/babysitter.py", line 154, in pid
    pid_string = subprocess.check_output(['pidof', '-x', self.name])
  File "/usr/lib/python2.7/subprocess.py", line 537, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1153, in _execute_child
    self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
13-03-31 05:27:50 INFO main EXCEPTION: [Errno 12] Cannot allocate memory
13-03-31 05:27:50 INFO shutdown Sending shutdown email...
13-03-31 05:27:50 INFO shutdown Shutdown reason: EXCEPTION: [Errno 12] Cannot allocate memory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant