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

pidfile error #5

Open
scott-steadman opened this issue Jul 29, 2013 · 1 comment
Open

pidfile error #5

scott-steadman opened this issue Jul 29, 2013 · 1 comment
Assignees

Comments

@scott-steadman
Copy link
Collaborator

It looks like this error is raised when the pid file points to an active process that is not owned by the owner of sweatshop.

I think a reboot caused some sweatshop processes to shutdown without removing the .pid file, and new processes started with the same pid.

bundler/gems/sweatshop-69a0be72268f/lib/sweatshop/daemoned.rb:327:in `kill': Operation not permitted (Errno::EPERM)
        from bundler/gems/sweatshop-69a0be72268f/lib/sweatshop/daemoned.rb:327:in `process_alive?'
        from bundler/gems/sweatshop-69a0be72268f/lib/sweatshop/daemoned.rb:268:in `ok_to_start?'
        from bundler/gems/sweatshop-69a0be72268f/lib/sweatshop/daemoned.rb:171:in `daemonize'
        from bundler/gems/sweatshop-69a0be72268f/lib/sweatshop/sweatd.rb:53
@scott-steadman
Copy link
Collaborator Author

I created this ticket so I could preserve the info. If it continues to be a problem, I'll fork and fix it.

@ghost ghost assigned scott-steadman Jul 29, 2013
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