Displaying 20 results from an estimated 700 matches similar to: ": Re: Mongrel hangs, consumes all CPU on shutdown"
2007 Sep 11
1
Mongrel instance dies unexpectedly, but cleanly....
Hi,
I have a two instance mongrel cluster, running behind apache
mod_proxy_balancer on a linux VPS. Mongrel_cluster is 1.01, mongrel is
v1.02, rails 1.2.3, ruby 1.8.6. I seem to have enough memory.
About 2 minutes after I start the cluster, one of my instances dies - it
could be either one. The log file indicates that it received a TERM
signal. The instance does die cleanly, removing its pid
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 Sep 12
1
Mongrel instance dies unexpectedly, but cleanly...
> You''re running on a shared server and when you startup the second
> mongrel more than likely the VPS system is sending the second Mongrel
> a kill signal because you''ve gone over your resource allocation.
>
> ~Wayne
Thanks - are there other resources that would be contentious other than
memory? I believe I had about 60Meg still available (even w/ 2 mongrels
2005 May 16
11
H323 to SIP
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2593 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050516/734618ce/attachment.jpeg
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 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 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
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 May 06
28
mongrel becoming unresponsive
Hello,
I''m running mongrel behind apache via proxypass. Every now and then, a spammer
tries to proxy traffic through apache, and for some reason, apache forwards
the request to mongrel, even though it''s not a site being hosted by me.
At times this seems to cause mongrel to become unresponsive, and all requests
to the site then fail with a proxy error until mongrel is
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
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 Sep 13
0
Mongrel hangs, consumes all CPU on
Maybe just monitor it with monit and kill+restart it when it gets out of
control, as a stop gap :)
-Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070912/6a56fd3c/attachment.html
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
2010 Jun 15
1
lme, spline
Dear All,
I have a problem running this program on R. Z is a matrix of spline which is random
> fit<-lme(anc~X,random=pdIdent(~Z))
Error in getGroups.data.frame(dataMix, groups) :
Invalid formula for groups
What I have done wrong?
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 Apr 01
1
Error with Ruby 1.8.6
Hi,
I just upgraded to Ruby 1.8.6 on my Mac development machine and
here''s what I''m seeing when I try to run mongrel (I have the latest
version of mongrel + fastthread installed). It seems to be an OS/X
thing, because this same combo works fine on our Linux server.
Here''s the error, have you guys seen anything like this?:
** Starting Mongrel listening at
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 Nov 07
4
MySQL timeout value (was: mongrel - monit issue)
At 03:24 PM 11/7/2007, mongrel-users-request at rubyforge.org wrote:
> > Thanks for this Kirk. Yep, I was using 14400. I''m switching this
> to
> > 2 weeks: 1209600 and we''ll see if any further restarts are needed
> by
> > monit.
>
>I''ve always wondered why 14400 is the number that is always passed
>around when talking about extending