mariokostelac / sagemaker-knockout

🥊 Automatic shutdown for SageMaker instance when it's not active!
MIT License
9 stars 1 forks source link

🔴 Pidfile /var/run/sagemaker_knockout.pid does not exist #5

Open worldveil opened 4 years ago

worldveil commented 4 years ago

Running the setup script verbatim shows this error:

🔴 Pidfile /var/run/sagemaker_knockout.pid does not exist

I found that running the official Sagemaker-provided idle script had no issues, so doesn't appear to be a permissions issue.

As a side note, you also need to remove the 🥊character if you create the lifecycle configuration in the Chrome browser, otherwise you get a JS console error and the script won't submit:

Uncaught DOMException: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.
mariokostelac commented 4 years ago

Hey @worldveil thanks for reporting this bug. I'll try to fix it over the weekend!