Displaying 20 results from an estimated 30000 matches similar to: "mongrel becoming unresponsive"
2006 Sep 25
3
hosting multiple apps
I am considering creating a web interface for system administration, but it
would need a plug-in architecture, adding new UIs as new services are added.
I''m thinking about doing this with multiple Rails applications, and I''m
curious as to whether mongrel can most multiple apps in a single instance, as
opposed to running one for each. Is this possible?
Thanks,
Mike
--
Michael P.
2007 Jan 21
1
logging to stdout
Hey,
I''m using mongrel supervised via runit. I''d like to capture mongrel logs with
svlogd, which just requires logging to stdout/stderr. But, the Rails app is
logging in its own log directory.
Is there a way to make both mongrel and Rails log to stdout/stderr?
Thanks,
Mike
--
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things
2007 Apr 10
5
comparison... why mongrel?
Hi,
I''ve recently deployed a rails app and our platform is Apache 2.2 + mongrel
cluster. It seems to be working fine... although no real tests yet. I just
recently found out that it is *quite* possible that the live server will not
be getting an update to apache 2.2, and the current version is 1.3. So...
I''ve installed Apache 1.3 + FastCGI on the dev server and it''s
2007 Feb 19
3
Mongrel on FreeBSD
Hi
We have mongrel 0.3.4 (off the top of my head) on two FreeBSD
webservers, installed it out of ports. The rc script has been
installed. Is this done by the port, or does the gem do it? We want
to upgrade to mongrel 1.0.1 - are there any changes to the rc
script? I''m not sure if upgrading through gems will leave the rc
script broken in any way.
Unfortunately
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 Feb 27
15
Deployement options
After reading the digital shortcut and the
documentation on the web site I''m confused.
Which one should I use? pen, balance or nginx ?
I don''t want to use a behemoth like appache and ssl is
not needed so it reduces my choice to those three
only....
What are the pros and cons of each? I don''t have much
money, so the less ressources I use the better it is
for me....
As
2007 Nov 07
8
mongrel - monit issue
Hi,
was wondering if anyone else had a similar problem and knows why or a solution.
basically my mongrels seems to work fine. i am running three clusters all which are monitored by monit. monit has the ability to restart a mongrel if it doesn''t pass a port connection test. so the problem is that after some time. aprox. 6hrs. to 20hrs. after clusters are started, the mongrels get
2007 Nov 02
10
Server timeouts
Hi guys,
Does anyone know if mongrel has a built-in timeout for requests that
take too long? If so, how do you increase it?
I''ve found that some server requests are timing out. Complicated
requests are already being farmed out to asynchronous processes. But
some of the more basic requests are timing out when we have our peak
server load in the mornings (the bottleneck is the
2007 Nov 05
29
Mongrel and memory usage
Hello,
I''m running a Rails application which must sort and manipulate a lot of data
which are loaded in memory.
The Rails app runs on 2 mongrel processes.
When I first load the app, both are 32Mb in memory.
After some days, both are between 200Mb and 300Mb.
My question is : is there some kind of garbage collector in Mongrel?
I never see the two Mongrel processes memory footprint
2007 Sep 12
19
Mongrel hangs, consumes all CPU on shutdown
Hi,
I''m doing development with Mongrel 1.0.1 on Ruby 1.8.4 / OS X
10.4.10, and I''ve found that often when I shut down my server with
^C, it hangs for a while, gobbling up all CPU. Sometimes it stops
after a few seconds, sometimes it''s run for several minutes at least.
This happens across all the apps I develop on, but it seems to hang
longer after
2007 Dec 18
3
Mongrel + Lighttpd
Hi guys,
I''ve been chasing a problem in my web-stack: Lighttpd -> Mongrel ->
Rails, and found a problem with the interaction of Lighttpd and Mongrel.
If a request takes more than 5 seconds, Lighty will retry it - and
then the requests / responses get mixed up in Lighty and it returns a
bad response to the client. Not good.
I''m convinced that the problem is
2006 Oct 01
7
Log rotation
Hi mongrel-herders,
I''m just wondering what fellow railsers use to rotate their logs in an
orderly fashion? I''d like to do something lightweight, i.e. (1) rename the
logfile (2, optional) create a new empty logfile and (3) send a signal to
each mongrel in the cluster and have them understand it''s time to reopen
their log file handles. This is what I do with apache and
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
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.
2007 May 14
2
Timeout message
Anybody seen this message before? I see it over and over in one of
my mongrel processes log files. I''ve never seen it before today.
/usr/local/bin/mongrel_rails:16Mon May 14 20:44:30 +0000 2007: Error
calling Dispatcher.dispatch #<Mongrel::TimeoutError: Mongrel timed
out this thread: shutdown>Thread #<Thread:0x2ae6288dbc40 sleep> is
too old, killing.
Thanks,
Pete
2006 Sep 20
3
thank you
I recently got into using RoR, and the only issue that concerned me was the
apparently complexity of deployment. Setting up fastcgi can be a bit of a
pain, and I was hoping that the Rails community would come up with something
simpler.
Mongrel was recommended to me from someone on my local Ruby user group. It was
trivial to install as a Gem on my Linux desktop and the FreeBSD server that I
am
2007 Apr 24
2
Passing environment to mongrel apps
Hi guys,
I''m looking for a way to pass environment variables to my Rails app
via Mongrel. I want to conditionally execute code in environment.rb
based on these environment variables.
Background:
1. I have some special stuff I want to do when my Rails app first starts
2. So, stuff it in environment.rb in after_initialize, right?
3. Not this time. I have several other background
2007 Nov 08
5
byte-range requests
I''m trying to sent a file to the iphone (which requires byte-range
request support) using the rails send_file method. However, this
fails, I think because of mongrel. I think so because if I send the
iphone a file handled by nginx, it plays it fine. But then when I
serve the file with rails the iphone can''t play it.
Any ideas?
Alex
2007 Feb 24
3
Mongrel Cluster 1.0.1.1 Prerelease: Healing power of the pack!
Hello all...
I know its been a while since the last one, but a new prerelease is
available with a gratuitous increase in version numbers!
gem install mongrel_cluster --source http://mongrel.rubyforge.org/releases/
This one has some new features in it that need to be tested on all unix
platforms. Please run --clean and cluster::status on every *nix you can
find. I run linux so the rest are up
2008 Dec 20
3
IMAP_Authenticatable Problem
Good morning all,
I''ve been using the imap_authenticatable plugin for about a year now without
incident. All of a sudden, I tried logging in this morning and this error is
showing up in the logs. Does anyone have any idea what could be causing this
or how to fix it?
Thanks,
Pete
NoMethodError (undefined method `disconnect'' for nil:NilClass):