unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Re: Forking non web processes
@ 2013-10-25 20:29 Sam Saffron
  2013-10-25 20:44 ` Eric Wong
  0 siblings, 1 reply; 6+ messages in thread
From: Sam Saffron @ 2013-10-25 20:29 UTC (permalink / raw)
  To: mongrel-unicorn

The only reason for this level of crazy is to get the 30% memory
saving you do when forking off a master in Ruby 2.0s CoW friendly GC.
I understand this is less traditional, but perfectly acceptable for
low cost VPS hosting.

The unicorn master does "reap/terminate" the child fork on startup, so
you are forced to hold off on forking.
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Forking non web processes
@ 2013-10-24 11:08 Sam Saffron
  2013-10-24 16:17 ` Eric Wong
  0 siblings, 1 reply; 6+ messages in thread
From: Sam Saffron @ 2013-10-24 11:08 UTC (permalink / raw)
  To: mongrel-unicorn

Hi Eric,

I have been trying to get unicorn to allow me to fork off non-web
processes like sidekiq/resque.

I got this working, except that I am constantly fighting with the
unicorn reaper. Any chance we can add some sort of api to fork off non
web processes? It helps save memory and cut down on master processes.

Cheers
Sam
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-10-25 20:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-25 20:29 Forking non web processes Sam Saffron
2013-10-25 20:44 ` Eric Wong
2013-10-25 20:53   ` Sam Saffron
  -- strict thread matches above, loose matches on Subject: below --
2013-10-24 11:08 Sam Saffron
2013-10-24 16:17 ` Eric Wong
2013-10-24 16:25   ` Alex Sharp

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).