Re: mod_ruby on Apache for Windows 2.2.17

2011-02-11 Thread Eric Covener
On Fri, Feb 11, 2011 at 2:25 AM, Zeno Davatz wrote: > Hi > > I am trying to debug mod_ruby to load in Apache for Windows. So far > Apache for Windows does start with mod_ruby.so but it seems that httpd > does not start correctly with mod_ruby enabled in Apache for Windows. > > The steps I took to

Re: mod_ruby on Apache for Windows 2.2.17

2011-02-11 Thread Zeno Davatz
Dear Eric Thank you for your reply. On Fri, Feb 11, 2011 at 12:51 PM, Eric Covener wrote: > On Fri, Feb 11, 2011 at 2:25 AM, Zeno Davatz wrote: >> I am trying to debug mod_ruby to load in Apache for Windows. So far >> Apache for Windows does start with mod_ruby.so but it seems that httpd >> do

Re: mod_ruby on Apache for Windows 2.2.17

2011-02-11 Thread Eric Covener
> I really think it is the Content Handlers that do not work. So there > must be something different there in Apache for Windows compared to > Apache for Linux. Not in every other module that implements a handler, or even the one you care about when compiled with VS -- seems like some kind of ABI

Re: mod_ruby on Apache for Windows 2.2.17

2011-02-11 Thread Zeno Davatz
Dear Eric Thank you for your reply. On Fri, Feb 11, 2011 at 1:37 PM, Eric Covener wrote: >> I really think it is the Content Handlers that do not work. So there >> must be something different there in Apache for Windows compared to >> Apache for Linux. > > Not in every other module that implemen

Re: mod_ruby on Apache for Windows 2.2.17

2011-02-11 Thread Ben Noordhuis
On Fri, Feb 11, 2011 at 08:25, Zeno Davatz wrote: > I am trying to debug mod_ruby to load in Apache for Windows. So far > Apache for Windows does start with mod_ruby.so but it seems that httpd > does not start correctly with mod_ruby enabled in Apache for Windows. I don't have a solution for you

Re: mod_ruby on Apache for Windows 2.2.17

2011-02-11 Thread Zeno Davatz
Dear Ben Thank you for your valuable input! On Fri, Feb 11, 2011 at 1:55 PM, Ben Noordhuis wrote: > On Fri, Feb 11, 2011 at 08:25, Zeno Davatz wrote: >> I am trying to debug mod_ruby to load in Apache for Windows. So far >> Apache for Windows does start with mod_ruby.so but it seems that httpd

Re: mod_ruby on Apache for Windows 2.2.17

2011-02-11 Thread Eric Covener
> I can execute Ruby as a CGI-script without a problem with these simple > VirtualHost settings (I tested it with test.rbx) What does that have to do with debugging mod_ruby?

Re: mod_ruby on Apache for Windows 2.2.17

2011-02-11 Thread Eric Covener
> Apache on Linux does not do that? Our Apache on Linux with mod_ruby > sometimes has over 1'000 sessions and about 30-50 threads open. Memory > can go up to 10 GB. Normally Apache on unix uses multiple child processes. See your MPM and MPM configuration for details.

Re: mod_ruby on Apache for Windows 2.2.17

2011-02-11 Thread Zeno Davatz
Dear Eric On Fri, Feb 11, 2011 at 2:23 PM, Eric Covener wrote: >> I can execute Ruby as a CGI-script without a problem with these simple >> VirtualHost settings (I tested it with test.rbx) > > What does that have to do with debugging mod_ruby? It shows that Ruby can be executed as a CGI-Script o

Re: mod_ruby on Apache for Windows 2.2.17

2011-02-11 Thread Zeno Davatz
Dear Eric On Fri, Feb 11, 2011 at 2:25 PM, Eric Covener wrote: >> Apache on Linux does not do that? Our Apache on Linux with mod_ruby >> sometimes has over 1'000 sessions and about 30-50 threads open. Memory >> can go up to 10 GB. > > Normally Apache on unix uses multiple child processes. See you

Re: mod_ruby on Apache for Windows 2.2.17

2011-02-11 Thread Ben Noordhuis
On Fri, Feb 11, 2011 at 14:11, Zeno Davatz wrote: >> Apache on Windows serves all requests from a single process. > > Apache on Linux does not do that? Nope. The worker and event MPMs are hybrids: serving requests from many processes, where each process has many threads. And if all processes are

Re: mod_ruby on Apache for Windows 2.2.17

2011-02-11 Thread Zeno Davatz
Dear Ben On Fri, Feb 11, 2011 at 2:34 PM, Ben Noordhuis wrote: > On Fri, Feb 11, 2011 at 14:11, Zeno Davatz wrote: >>> Apache on Windows serves all requests from a single process. >> >> Apache on Linux does not do that? > > Nope. The worker and event MPMs are hybrids: serving requests from > man