Displaying 20 results from an estimated 20000 matches similar to: "Server timeouts"
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 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 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 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 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
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 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 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
2006 Mar 29
13
Rails on Mongrel
Hi,
After following advice from you good folks, I gave mongrel a try in a
cluster design based on the example on the Mongrel website - and it
worked right out of the box which is great - and it''s very fast :)
I have got a bit stuck though. I have two MS Word files in
/public/files/. I can pull back these files no problem but it isn''t
sending a mimetype.
I think I have two
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
2006 Mar 28
6
Deploying rails...
Hi,
I thought I''d give lighttpd and FastCGI a go but the latest version I''ve
found for fastcgi is 2.4.0 which was released in January 2003. Is this
the right version?
Can anyone recommend the versions I should use for FastCGI et al and
where to find them? I''m not sure I''ve really found what I''m looking
for...
--
Posted via
2007 Sep 13
2
: Re: Mongrel hangs, consumes all CPU on shutdown
> We see this on all of our Mac''s here as well. We''ve tried it with
> different versions of Ruby (1.8.4, 1.8.5, and 18.6), and the problem
> happens with all of them.
>
We run macs w/ compiled adaptors on local mysql instances and there are no
issues.
F
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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
2007 Sep 07
35
multi threaded theoretically useful?
So here''s a random question: if a (Ruby) multi-threaded rails server could
exist (bug free), would it be faster than using a mongrel cluster?
(I.e. 10 mongrel processes versus 10 Ruby threads). I''m not sure if
it would. RAM it
might save, though. Any thoughts?
-Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Jan 08
4
XSendFile in development environment
Hi
I''m currently trying to use X-Sendfile to take some load off my rails
app, unfortunately in my development environment mongrel is happily
passing through the x-sendfile header, presumably for the (non-
existant) proxy to handle the header.
Is there some way to make mongrel process the x-sendfile header itself?
Thanks
jebw