Displaying 20 results from an estimated 11000 matches similar to: "Mongrel freeze"
2006 Nov 16
3
Monrel Woes on Solaris x86
Greetings,
I need some help... please be gentle :-)
MY SETUP:
Solaris-X86, ruby-1.8.4, Apache-2.2.0, Mongrel-0.3.13.4, MySql-4.1.10a
I am using the typical setup with apache proxying request to mongrel
with mod_proxy_balancer. Currently, I am only running a single
instance of mongrel behind the proxy.
I am also using the following gems with this app:
capistrano (1.2.0)
daemons (1.0.2)
2007 Jul 29
16
Mongrel stops responding after period of inactivity
Hi
I posted this to the Ruby on Rails Talk group but I thought I''d post it here
too as it''s probably a more appropriate group. Hope this is ok.
I''m running a 2-instance Mongrel cluster behind Apache 2.2.4 with Rails
1.2.3. If no requests are received by the application for several hours
(this usually happens overnight) then Mongrel stops
responding and no requests are
2008 Sep 26
2
Preventing Mongrel/Mysql Errno::EPIPE exceptions
I have a rails app serving up XML on an infrequent basis. This is being
run with mongrel and mysql. I''ve found that if the app does not get
exercised for longer than a few hours it goes dead ("Lost Connection to
MySQL") and starts throwing Errno::EPIPE errors. It seems that the mysql
connection gets timed out for inactivity or something like that.
It can be restarted with
2007 Jul 29
4
Mongrel stops responding after period of inactivity
Hi
I''m running a 2-instance Mongrel cluster behind Apache 2.2.4 with
Rails 1.2.3. If no requests are received by the application for
several hours (this usually happens overnight) then Mongrel stops
responding and no requests are detected by Rails (at least nothing is
in the Rails log). Nothing untoward is in the Mongrel log.
If you try and visit the application, the request times out
2006 Apr 28
6
Nightly mongrel issues...
Hi,
I have Apache (2.2) setup to proxy requests through to Mongrel (0.3.12.4)
for a Rails (1.1.2) application (on ruby 1.8.4). The setup is great, but
I''m experiencing some nightly failures. I thought I''d post here before
digging in too deeply, but it looks like Rails is going into lala land and
Mongrel can''t recover...
Seems like everything gets all backed up in
2006 Jul 05
3
mongrel - server pooping out..
i am using the following comman to fire up mongrel:
[sergio@vb_workstation chatlogger]$ mongrel_rails start -d -p 8088
** You have sendfile installed, will use that to serve files.
and everything works fine until some point at night.. i think it is
pooping out some time in the middle of the night.. if i try to hit the
app in the morning, it just stalls out..
if i restart it, it''s
2007 Jan 02
10
problems with apache 2.2 proxying to mongrel cluster
Hi all,
I''ve been having problems with the apache 2.2-mod_proxy_balancer-
mongrel setup.
My setup is:
CentOS 4.3
apache 2.2.3 (compiled from source) with mod_proxy_balancer
mysql 4.1
ruby 1.8.4
mongrel 0.3.14 (I know I need to update but I think this problem is
independent of the mongrel version)
mongrel_cluster 0.2.0
rails_machine 0.1.1
I have apache setup as per Coda''s
2007 May 10
1
Mongrel dying daily with Ruby 1.8.5
Dear ALL,
I saw this in article from mongrel faq,
Q: Mongrel stops working if it''s left alone for a long time.
If you find that Mongrel stops working after a long idle time and you''re
using MySQL then you''re hitting a bug in the MySQL driver that doesn''t
properly timeout connections. What happens is the MySQL *server* side of the
connection times out and
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
2007 May 23
1
Troubleshooting unresponsive mongrel
Hi. I have mongrel 1.0.1 running a really simple application and found
to lock up (rarely, but still). There''s nothing in the logs, it just
stops responding. When I mongrel_rails stop it, I get lots of entries like:
Waiting for 3 requests to finish, could take 60 seconds
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:675:in `process''
2007 Apr 04
13
Mongrel dying daily with Ruby 1.8.6
Hi guys,
I''ve been running mongrel for a while now with Ruby 1.8.4, and last
week upgraded to 1.8.6.
Since upgrading, each morning when I wake up there''s a big problem:
1. Accessing the site returns a "500 Internal Server Error"
2. All the mongrel_rails processes are still running, but none of
them are active (when I run top)
3. Lighttpd and pound are still
2007 Sep 21
2
mysql storeconfigs needs mysql gem
Recently I started noticing that after running for a while
puppetmaster would freeze after a client called `freshness` which
would eventually result in the client getting a timeout and the client
dyeing. I tracked the freeze down to the call to
ActiveRecord::Base.verify_active_connections! in rails.rb on line 26.
After scouring the nets I finally found:
2006 Aug 10
7
mongrel stops responding after period of no use
I just moved from apache2/fcgi to apache2.2/mongrel and everything
seems to work great except for 2 issues, one being major and one
minor.
the major issue i am experiencing is that after a period of time where
my rails apps are not used, typically overnight, the mongrel processes
become unresponsive. I currently have 3 apps running behind an
apache2.2 proxy. every morning when i come in to
2006 May 25
5
Application stops working over night: (Errno::EPIPE (Broken pipe)) is the error
I know this question gets asked a lot but I can''t seem to find the
answer when I search through the mailing list. First off here''s my set
up.
Cent OS 4.3
Apache 2.0
Fast CGI 2.4.0
Rails 1.1
Mysql 5.0
The app starts up fine, but every morning it refuses to start and gives
me the dreaded Application error untill I reload Apache. I thought my
database was timing out so I added
2007 Sep 03
11
MySQL has gone away
Hi,
in a production environment we are running into "MySQL server has gone
away" errors (see below) when we call rebuild_index in aaf. This happens
sporadically.
Any suggestions for what might be wrong or workarounds? I guess we try a
reconnect before we call rebuild_index?
Matthew
ActiveRecord::StatementInvalid (Mysql::Error: MySQL server has gone
away: SELECT count(*) AS
2006 Oct 10
6
"MySQL server has gone away" with Apache 2.2 + Mongrel cluster
Hi
I just setup a server (Apache 2.2, mod_proxy_balancer, mongrel_cluster) with
2 Rails applications according to this excellent Post:
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you
Everythings works great, but after a long inactive period (say one night),
the first 3 connections allways get an Error 500
Excerpt from production.log:
...
2010 Jan 26
1
Mongrels Hanging in mysql_adapter.rb
Hi everyone,
I have been trying to solve this problem for quite some time now and I
really don''t have any further clue to investigate.
I am running a mongrel_cluster 1.0.5-2 (mongrel verison : 1.1.5-5) on
a ubuntu box with apache2 2.2.12-1ubuntu2.1
I have 4 different apps on the same box and each app has two mongrel
instances.
After a short period of time ( < 2 hours ) some of the
2007 Nov 07
3
Weird freeze problem
Hello,
I am running mongrel 1.1 in production mode behind a lighttpd with mod_proxy.
At first everything works fine, however, after a few days, the mongrel servers stop answering at all, even if I try to connect to them directly.
I have checked logs but there is no sign of anything at all, and even when there was not a single request for a few days, it did freeze, and
that on repeated occasions.
2006 Oct 31
9
Problems with mongrel dying
Hi
One of the two mongrel processes has died in the middle of the night
four times in the past 9 days, and I need help debugging this.
Each time the symptoms are the same:
* Each time I can restart the process via cap -a restart_app.
* Before the restart, there is nothing unusual in production.log or
mongrel.log.
* During the restart, about 100 repetitions of an error message are
generated in
2007 Mar 18
0
Performance Tuning Mysql and how mongrel is effected
As a follow up from my previous post, I am pondering some changes to my env.
I read that with AR I should change the verification timeout to be
lower than the MySQL db Interactive_timeout. Now, I have done some
performancing tuning to mysql in LAMP env''s but not RoR. MySQL typical
set the default interactive_timeout to 8hrs (28800) this has bitten me
a few times with sleeping processess