Displaying 20 results from an estimated 10000 matches similar to: "mongrel cluster stop working after long idle time"
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 19
0
one mongrel with *lots* of close_wait tcp connections
* cross posted to the mongrel mailing list*
Hi, I''m running into a strange issue where one mongrel will sometimes
develop hundreds of CLOSE_WAIT TCP connections, mostly to apache (I
think --
see sample lsof output below). I haven''t had a chance to get the
mongrel
with this behavior into USR1 debug mode yet. I wrote a little loop
below that will catch it next time.
This
2007 Jul 19
1
one mongrel with hundreds of CLOSE_WAIT tcp connections
Hi, I''m running into a strange issue where one mongrel will sometimes
develop hundreds of CLOSE_WAIT TCP connections, mostly to apache (I think --
see sample lsof output below). I haven''t had a chance to get the mongrel
with this behavior into USR1 debug mode yet. I didn''t catch it in time.
This happens a couple times a day on average at seemingly random times.
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
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
2008 Jul 14
3
Mongrel freeze
Hi,
I have had trouble with mongrel freezing after a period of
inactivity. Following the advice from the mongrel FAQ, I added:
ActiveRecord::Base.verification_timeout = 14400
to my environment.rb file. Unfortunately, that registered a mongrel
error:
"uninitialized constant ActiveRecord (NameError)"
How do I overcome this one? I tried:
require ActiveRecord::Base
but that registered
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
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 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
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
2014 May 06
0
poor write performance or locking issues with ocfs2
Hello all,
I've got heavy troubles with my ocfs2 environment. Cluster filesystem worked fine for about 3-6 weeks after initial setup, but since 1 week performance issues occurs. I've already searched long time in google and on this mailing list but I wasn't able to found any solution. I've found a lot of posts with "same" problems but without the magic answer :-)
2006 Aug 22
1
Problem getting Mongrel to start at startup
Hi,
I''m running CentOS 4.3 and the latest Mongrel (0.3.13.3) and mongrel_cluster
(0.2.0). I have set up a cluster, following the instructions at
http://mongrel.rubyforge.org/docs/mongrel_cluster.html . I created a
symbolic link in the directory /etc/mongrel_cluster . When I run
mongrel_rails cluster::start -c test.yml, the mongrel servers start up. But
at boot, the command
2008 Apr 10
4
mysql connection goe away
We are currntly running
mongrel v 1.1.4
mongrel_cluster 1.0.5
mysql gem 2.7.5 (built from source)
rails 2.0.2
ruby 1.8.6
mysql version 4.1 this is run on a remote server.
We are consistently getting
"ActiveRecord::StatementInvalid (Mysql::Error: MySQL server has gone
away: SELECT * FROM...."
errors.
When i then try and stop mongrel some (various) of the mongrels are in
error state
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
2006 Jul 21
0
Webrick stops responding after extended inactivity.
Hello everyone,
I have developed several ruby apps which are currently live in
production. Recently I have encountered a problem where my apps stop
responding after a long period of inactivity. I am using Webrick as the
server with Rails 1.1.2 and mysql 5.0.21. I have dug up other issues
people have had with mysql dropping connections after 8 hours, and the
supposed fix of adding an
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
2010 Feb 26
2
Change idle timeout
Hi,
We are using a samba server as a NTLM authenticator for our web filter.
However, Samba closes the SMB connections after 60 seconds of inactivity,
causing connections from the web filter to the Samba DC to get stuck in
CLOSE_WAIT state, and failing to authenticate the users.
Is the some way, other than changing IDLE_CLOSED_TIMEOUT, or (in Samba
3.0.23) commenting the check that closes the TCP
2013 Feb 13
0
make dist: errors, and www.oasis-open.org almost stale
Hi,
I am trying to create a tarball from a 4.0.3 git checkout using "make
dist", but it throws errors (small sample below, detailed Copy&Paste on
request), and apart from this, www.oasis-open.org seems stale on
connects from xsltproc, as can be seen in the lsof sample, below as well.
Briefly and cheekily asked, is that normal? Are we all omitting docs in
packaging at the moment?
2006 Nov 30
1
Restarting mongrel cluster from other directories
I want to restart my Mongrels from crontab
periodically to free up memory. I tried this:
[admin at mudcrapce ~]$ mongrel_rails cluster::restart -C
/var/www/apps/mudcrapce/current/config/mongrel_cluster.yml
Restarting 5 Mongrel servers...
mongrel_rails restart -P log/mongrel.3040.pid
!!! PID file log/mongrel.3040.pid does not exist. Not
running?
mongrel::restart reported an error. Use
2006 Jun 20
3
Running Mongrel Cluster on boot
I''ve installed pen and mongrel with mongrel_cluster (as gems) on
Debian sarge. I can run everything from the command line fine
including starting from the /etc/init.d/mongrel_cluster script
On boot though mongrel_cluster fails with this msg:
/usr/local/lib/site_ruby/1.8/rubygems.rb:204:in
`report_activate_error'': Could not find RubyGem mongrel_cluster (> 0)
(Gem::LoadError)