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

Reloading config file without hard restart... #474

Closed
ghost opened this issue Feb 24, 2014 · 8 comments
Closed

Reloading config file without hard restart... #474

ghost opened this issue Feb 24, 2014 · 8 comments

Comments

@ghost
Copy link

ghost commented Feb 24, 2014

Is this possible? I basically want to adjust the worker/thread settings and have these take effect, but without having to completely stop/start puma.

Thanks; and apologies if this is documented somewhere, but I didn't find it in the issues or docs.

@seuros
Copy link

seuros commented Feb 24, 2014

You can add/remove workers by sending TTIN/TTOUT signals to the master.

@mperham
Copy link

mperham commented Feb 24, 2014

@seuros That only adjusts the process count, yes, not thread count per process?

@seuros
Copy link

seuros commented Feb 24, 2014

@mperham right!

I'm looking now if i can change the thread count somehow.

@schneems
Copy link
Contributor

I didn't know about TTIN and TTOUT thanks! I'm interested in a way to control threads as well.

In the vein of controlling processes could one of you take a look at: #467

@ghost
Copy link
Author

ghost commented Feb 25, 2014

indeed, the TTIN and TTOUT are useful to know about. Is there a wiki or doc page dedicated to signals? unicorn, for example has a really nice page that lays all of these out in one place: http://unicorn.bogomips.org/SIGNALS.html

Certainly happy to consult the source code, but a doc page like this would be a great reference.

Thanks @seuros for the info

@seuros
Copy link

seuros commented Feb 25, 2014

I will update capistrano3-puma gem to support these signals soon.

@schneems
Copy link
Contributor

@ckuttruff i started a doc here, take a look: #481

@ghost
Copy link
Author

ghost commented Feb 25, 2014

nice; thanks @schneems ; I appreciate the documentation

@evanphx evanphx closed this as completed Jul 13, 2014
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

4 participants