similar to: Rails and Lighttpd, hangs?

Displaying 20 results from an estimated 5000 matches similar to: "Rails and Lighttpd, hangs?"

2006 Feb 25
10
Performance issue.. after a while
Hello, I have an project running on a dedicated server: Debian, P4 CPU 3.00GHz, 1GB RAM, ruby 1.8.4 (2005-12-24) [x86_64-linux], rails (1.0.0), activerecord (1.13.2) lighttpd-1.4.10 + fastcgi + mysql 5.0 7 dispatchers. The project is a game, so a typical user would visit 100+ pages. When the server is busiest, it gets 35-40k requests/hour. For some misterious reason after a number of hours the
2006 Mar 27
2
dispatch.fcgi hanging after lighttpd shutdown
Hi. I''m using RoR 1.0 with FastCGI and lighttpd on a Debian 3.1 box. I have configured lighttpd to do adaptive spawning of the FastCGI processes. However, after shutting down lighttpd the FastCGI processes remain running. Did this problem occur to anyone of you? Is there a fix? I''d be really grateful for every answer. Regards, Manuel Holtgrewe
2006 Feb 02
4
Random (connections.c.1330) error-handler not found: /dispatch.fcgi
Hello, Again another random occurance of a problem. lighttpd.error.log contains lines like: 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:35:08: (connections.c.1330) error-handler not
2006 Jan 31
3
Random 502 Bad Gateway
I have moved my project to a dedicated server and I am getting a very annoying behaviour. I am able to view the site just fine when using the ip. The name is properly resolved on my computer, however I am getting "Bad Gateway The proxy server received an invalid response from an upstream server." This is simply random. The site works for several minutes, then i get this message for some
2006 Feb 07
4
Can''t stop/start lighttpd
Hello everyone, I?ve been working with Ruby on Rails for about 2 months now and have really enjoyed the ease of use of it. I?m only been doing development on it so I?ve been using WeBrick. Recently, I have built a server running Debian Linux, with ruby 1.8.2, rails 1.0.0, lighty 1.4.3, and Mysql 5.0.18. I used WeBrick to generate a lighttpd.conf file for me, I changed the paths in the
2006 Jan 08
4
Finding memory leaks?
Where are the memory leaks and what is the way to fix them? I''m working on a game that was fairly stable in terms the memory consumption and it was staying at around 200MB. Recently it has gone crazy, and unless I restart it, it goes straight up to 350-400+MB after 30 minutes-1hour. I am using Apache 1.3+fcgi in production mode. Also the dispatch.fcgi processes take a really high toll
2006 May 03
6
ActiveRecord and Lost Connection
This isnt totally a rails question; I am using ActiveRecord for storing some simple values into a database. My problem; I keep gettign MySQL Errors. On the Win32 machine it was off and on. Now on the linux machine (ubuntu) I can'' t connect at all. I have all the password settings correct. My only thought, I am working with Threads and thought that might cause the issue, but I
2006 May 29
1
Init lifecycle and rails
In a servlet J2EE application, there is an init style method that gets called after that servlet is loaded. Is there something similar within a rails controller context. I am looking for something where I can load and setup a particular object. Also, what about with sessions as well. I would like to call some library when a user session begins and possibly kill that object when the
2006 Apr 17
1
Error with installing rails/gems on ubuntu-dapper
I am getting an error when trying to install rails on dapper. It looks like it partially installed something. Mainly the issue seems to be with ''gems''? I am using: ruby-1.8.4 gems 0.8.11 Is this bad? bbrown@england:~/rubygems-0.8.11$ sudo gem install rails --include-dependencies Attempting local installation of ''rails'' Local gem file not found: rails*.gem
2006 Mar 30
4
Simple Ruby/Rails question, doing posted hours ago
I am not the Ruby aficionado yet, if I have created_on ...timestamp. What is a ruby way of getting the hours/minutes/seconds ago. is there some class that has this implemented. For example: Posted on 3/28/2006 Show a time with: posted: 1 day ago ... something along those lines. -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com also checkout alpha version of botverse:
2006 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys, I hope someone can help me out. I am trying to configure two applications to run on lighttpd and each app will have its own domain. My machine is running on Fedora. When I run my lighttpd with the following conf file, I get no error but when I check out my app, it dishes out a 404 error- the 404 being served isn''t the 404 inside the railsapp/public folder. Do hope someone
2006 May 21
3
First try with lighttpd
Hi, I have a Rails application sitting on my computer that works just fine with webrick. I would like to try to serve it locally with lighttpd I followed the instructions on the hivelogic site for installing lighttpd http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger Then I looked on page 457 in the Agile Rails book for instructions about configuring the rails app for
2005 Sep 10
4
has_too_many
Assuming you have Person that has_many :messages, what will it happen if it has 10000 messages? Will rails attempt to initialize @person.messages with 10000 rows from database? If that is the case, is combining finder_sql and counter_sql the common practice to avoid this? Bogdan _______________________________________________ Rails mailing list
2006 Feb 22
5
Rails on lighttpd locks up, freezes, unresponsive every day
I have RoR running on lighttpd on RedHat Linux and every morning that I check the web page it just keeps waiting to refresh it forever, Firefox and IE never times out on any of the pages I try. Has anyone seen that happening to their RoR? I also removed lighttpd completely and just ran webrick but there was no difference. The linux box has a pretty old kernel 2.4.21-4, could that be the
2006 Feb 26
3
Fast inserts?
There are cases when I have to create the same record 100 times. Is there a faster way than: 100.times{Obj.create(@params[:obj])} ? Bogdan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060226/75d1e099/attachment.html
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX. Everything builds fine (and webrick runs just fine) but lighttpd barfs: edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown
2006 Jul 29
3
Lighttpd Configuration Independent of Hostname or IP
Hopefully someone can help with a bit of lighttpd configuration for my production rails app in Mac OS X. I have an application which will be accessed by many different domains and IP addresses. Examples: http://crm.local/ http://localhost/ http://192.168.0.49/ http://65.256.120.90/ (fake, but you get the idea, an external Internet facing IP address) http://crm.mydomain.net/
2006 Feb 17
7
FCGI hanging w/ lighttpd and RoR 1.0 (need to kill -9)
Hi, everyone, I''m currently running a Rails 1.0 project using lighttpd-1.4.9 behind Apache 2 on RHEL 3. My fcgi process (I''m only using one right now) always hangs after some time, which is something I haven''t experienced before (e.g., I''ve run this same app. on a TextDrive account and it works fine there). So ... any ideas on what could be causing this?
2006 Apr 24
6
Error starting lighttpd
Hi, I''m getting the following error message when I try to start lighttpd: BEGIN ERROR: $ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server (see config/lighttpd.conf for options) 2006-04-24 03:29:39: (mod_fastcgi.c.1022)
2006 Mar 23
2
Lighttpd Configuration Problems
Hey Folks! I''ve got a Fedora Core 4 machine that I''m installing Ruby on Rails on, following this set of instructions: http://www.digitalmediaminute.com/howto/fc4rails/ Everything has gone well up until I get to the part about configuring lighttpd to use virtual hosts. Here''s the chunk of code I''ve got in my config file that appears to be the culprit.