Re: 'before_fork' is execut ed in parallel by two processes ¿?

2010-01-05 Thread Eric Wong
Iñaki Baz Castillo i...@aliax.net wrote: El Martes, 5 de Enero de 2010, Eric Wong escribió: So I'm totally lost. However if I test my databases in before_fork then I see N number of DB connections (N = workers num). How are you testing the database? `` or via Ruby code? I use Ruby

Re: 'before_fork' is execut ed in parallel by two processes ¿?

2010-01-05 Thread Eric Wong
Iñaki Baz Castillo i...@aliax.net wrote: El Miércoles, 6 de Enero de 2010, Eric Wong escribió: Iñaki Baz Castillo i...@aliax.net wrote: El Martes, 5 de Enero de 2010, Eric Wong escribió: Yes, before_fork and after_fork are both called for every worker forked. So if I just want