# WEBRick process not responding after few hours (rails 1.1.6

**URL:** <https://www.ruby-forum.com/t/webrick-process-not-responding-after-few-hours-rails-1-1-6/72842>\
**Category:** Rails\
**Created:** [October 19, 2006, 11:04am UTC](https://www.ruby-forum.com/t/webrick-process-not-responding-after-few-hours-rails-1-1-6/72842 "2006-10-19T11:04:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmoller](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/46a35a/32.png) [@gmoller](https://www.ruby-forum.com/u/gmoller)\
**Post date:** [October 19, 2006, 11:04am UTC](https://www.ruby-forum.com/t/webrick-process-not-responding-after-few-hours-rails-1-1-6/72842/1 "2006-10-19T11:04:41Z")

</div>

the rail application I have developed (really simple one 2 -\> db tables  
with no more than 100 records) works perfectly in development /  
production mode on my windows desktop (win200 pro + mysql + ruby 1.8.2

- rails 1.1.6). when deploying the application on linux (ruby 1.8.4 ,  
rails 1.1.6 the same mysql as on windows) everything _seems_ to work  
fine. well atleast for the first few hours. the next morning the rails  
application just don’t react. it is even stranger since the webrick  
process still runs! I have checked the log files and there is nothing  
wrong with them. the probelm gets even stranger since I have deployed  
the application on another linux machine (Ubunto) and exactly the same  
happend. do I need to start WEBRick as root? do I have to install  
another server? does anyone has some idea?

---

<div class="post-metadata">

**Author:** ![gmoller](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/46a35a/32.png) [@gmoller](https://www.ruby-forum.com/u/gmoller)\
**Post date:** [October 19, 2006, 12:15pm UTC](https://www.ruby-forum.com/t/webrick-process-not-responding-after-few-hours-rails-1-1-6/72842/2 "2006-10-19T12:15:16Z")

</div>

gmoller wrote on 19.10.2006 11:01:

> happend. do I need to start WEBRick as root? do I have to install  
> another server? does anyone has some idea?

s/Ubunto/Ubuntu/g 😉

There are _no_ root privileges needed if you run it on a port above  
1024.

Webrick runs, no reaction and nothing wrong in logfiles? Is there  
connection information for accessing the application or not?  
What’s with netstat? Is it still listening on the specified port?  
Is Webrick really not responding or is something wrong with the app?  
Switch debug on to find out more. Use a tcp dump to know what’s going  
over the network…

---

<div class="post-metadata">

**Author:** ![gmoller](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/46a35a/32.png) [@gmoller](https://www.ruby-forum.com/u/gmoller)\
**Post date:** [October 19, 2006, 2:46pm UTC](https://www.ruby-forum.com/t/webrick-process-not-responding-after-few-hours-rails-1-1-6/72842/3 "2006-10-19T14:46:31Z")

</div>

Hi, netstat tells me (see output at the end of post) that webrick is  
listening to port 3001, further more when I request hostname:3001 I see  
the welcome page of rails. when requesting any of my controller’s url  
then webrick seems not to respond well atleast judging from the log  
files.

tcp 0 0 0.0.0.0:3001 0.0.0.0:\* LISTEN 16728/ruby tcp 1 0 192.168.5.33:3001 192.168.5.75:2927 CLOSE\_WAIT 16728/ruby tcp 1 0 192.168.5.33:3001 192.168.5.75:2935 CLOSE\_WAIT 16728/ruby tcp 1 0 192.168.5.33:3001 192.168.5.75:3396 CLOSE\_WAIT 16728/ruby tcp 1 0 192.168.5.33:3001 192.168.5.75:2906 CLOSE\_WAIT 16728/ruby tcp 1 0 192.168.5.34:3001 192.168.5.75:3657 CLOSE\_WAIT 16728/ruby tcp 1 0 192.168.5.33:3001 192.168.5.60:1314 CLOSE\_WAIT 16728/ruby tcp 1 0 192.168.5.34:3001 192.168.5.75:3931 CLOSE\_WAIT 16728/ruby tcp 1 0 192.168.5.34:3001 192.168.5.75:2500 CLOSE\_WAIT 16728/ruby tcp 0 0 192.168.5.34:3001 192.168.5.75:4006 VERBUNDEN 16728/ruby tcp 1 0 192.168.5.34:3001 192.168.5.75:2490 CLOSE\_WAIT 16728/ruby tcp 1 0 192.168.5.34:3001 192.168.5.75:2460 CLOSE\_WAIT 16728/ruby tcp 0 0 192.168.5.34:3001 192.168.5.75:3997 VERBUNDEN 16728/ruby
