unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* 'before_fork' is executed in parallel by two processes  ¿?
@ 2010-01-05 10:44 Iñaki Baz Castillo
  2010-01-05 11:03 ` Iñaki Baz Castillo
  0 siblings, 1 reply; 12+ messages in thread
From: Iñaki Baz Castillo @ 2010-01-05 10:44 UTC (permalink / raw)
  To: mongrel-unicorn

Hi, by adding `echo $$ >> /tmp/kk` into 'before_fork' I've realized that two 
pids are printed to the file when starting Unicorn.
This means that 'before_fork' is being runned by two different processes in 
parallel. Is it the expected behaviour? perhaps something very wrong in my 
configuration?

Thanks.

-- 
Iñaki Baz Castillo <ibc@aliax.net>
_______________________________________________
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] 12+ messages in thread

end of thread, other threads:[~2010-01-07 15:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-05 10:44 'before_fork' is executed in parallel by two processes ¿? Iñaki Baz Castillo
2010-01-05 11:03 ` Iñaki Baz Castillo
2010-01-05 11:33   ` Iñaki Baz Castillo
2010-01-05 21:51     ` Eric Wong
2010-01-05 22:49       ` Iñaki Baz Castillo
2010-01-05 22:57         ` Eric Wong
2010-01-05 23:30           ` Iñaki Baz Castillo
2010-01-05 23:55             ` Eric Wong
2010-01-06  0:33               ` Iñaki Baz Castillo
2010-01-06  1:12                 ` Eric Wong
2010-01-05 23:04         ` Iñaki Baz Castillo
2010-01-07 15:26       ` Iñaki Baz Castillo

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).