From: Jim Freeze Date: 2002-04-08T11:34:39+09:00 Subject: Re: ModRUBY question On Sun, Apr 07, 2002 at 08:01:16PM +0900, Sean Chittenden wrote: > > yeas i think too that mod_ruby uses more than one interpreter. :( > > One interpreter per Apache process, multiple Apache processes per > instance. Each Apache process has its own unique process ID, process > ID has only one copy of a Ruby interpreter. That said, when > requesting a page, one of the multiple mod_ruby/Apache processes will > answer the request. In effect, there is more than one instance of the > interpreter per mod_ruby instance, but there is only one interpreter > per request. :~) This has come up a few times recently and hopefully > this puts it to rest for a while. -sc > Well Sean, I am trying to break this down, but need some help. I think I understand the Apache stuff. A typical server will have Apache - mutliple processes (each with own process ID) Each apache process will have an associated mod_ruby process. I assume that each mod_ruby process has its own ruby process. I still can't figure out what you mean here: > In effect, there is more than one instance of the > interpreter per mod_ruby instance, but there is only one interpreter > per request. :~) A clarification would be appreciated. Thanks -- Jim Freeze If only I had something clever to say for my comment... ~