[Nitro] Q about mongrel && nitro

Alexander Lazic al-nitrogen at none.at
Fri Aug 4 19:40:59 EDT 2006


Hi,

as i have wrote today i have started with nitro ;-)

Now i have wanted to switch to mongrel and get a very interesting
behaviour, i don't know if this is an error in the nitro-adapter or in
mongrel itself.

Is there a option which i can set similar to 'mongrel_rails -B' wich
start mongrel in debug mode i think, or set this the debug option fro
rails?!

---
telnet localhost 9999
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
GET / HTTP/1.1
Host: localhost:9999

HTTP/1.1 200 OK
Connection: close
Date: Fri, 04 Aug 2006 23:06:53 GMT
Status: 200 OK
Content-Type: text/html
Set-Cookie: nsid=100baa2073d2f41e1c0d15cc48360efc; Path=/

Content-Length: 110



      Hello World
      <br/>
      <a href="test"> test</a>
      <br/>
      <a href="list"> list</a>
    Connection closed by foreign host.
---

with webrick

---
telnet localhost 9999
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
GET / HTTP/1.1
Host: localhost:9999

HTTP/1.1 200 OK 
Connection: Keep-Alive
Date: Fri, 04 Aug 2006 23:06:15 GMT
Server: WEBrick/1.3.1 (Ruby/1.8.4/2005-12-24)
Content-Type: text/html
Content-Length: 110
Set-Cookie: nsid=e541d730b1fba8e1c89dde91d8ca4d31; Path=/



      Hello World
      <br/>
      <a href="test"> test</a>
      <br/>
      <a href="list"> list</a>
---

I have started the demo.rb with:

strace -fveall -a 1000 -s1000 -o laber ruby demo.rb -m --debug

you can get the strace file from http://none.at/laber.bz2 but be warned
unbzip2 it is 43M big!

Here now some infos about the system:

The ruby install (./configure --prefix=/home/al/progs/ruby && make &&
make test && make install) works fine also the install of:

gem install nitro
gem install rake
gem install mongrel --source=http://mongrel.rubyforge.org/releases/
gem install facets (for version 1.7.x)

which ruby
/home/al/progs/ruby/bin/ruby

ruby -v
ruby 1.8.4 (2005-12-24) [i686-linux]

which gem
/home/al/progs/ruby/bin/gem

gem -v
0.9.0

---
ls -la ~/progs/ruby/lib/ruby/gems/1.8/gems/

RedCloth-3.0.3
daemons-0.4.4
facets-1.4.5
facets-1.7.0
gem_plugin-0.2.1
gen-0.31.0
glue-0.31.0
mongrel-0.3.13.4
mongrel_cluster-0.2.0
nitro-0.31.0
og-0.31.0
rake-0.7.1
ruby-breakpoint-0.5.1
sources-0.0.1
sqlite3-ruby-1.1.0
---

Thanks for help && regards

Alex


More information about the Nitro-general mailing list