Displaying 20 results from an estimated 7000 matches similar to: "Deployement options"
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 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 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 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 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:
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 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 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 May 09
1
swfdec export into avi
Hi
I'd like to you know if this is possible to do this with swfdec, or even to know if one day, it will be possible
I have a swf player that grabs some piece of sprites, music and move all this in some kind of a cartoon
Is it possible with swfdec to record this cartoon into an avi file ?
Thanks
Enzo
___________________________________________________________________________
2007 Apr 18
1
smbclient tar function : no password asked ?
Hello,
We're using samba 3.0.24 on a Linux box, to access and
backup some XP boxes. smbclient access is okay, but
there is something quite weird with the tar
subfunction
-----
$ smbclient //xpbox/Documents -U someuser -d 2 -Tc
/tmp/tarfile .
added interface ip=192.168.1.xxx bcast=192.168.1.255
nmask=255.255.255.0
session setup failed: NT_STATUS_LOGON_FAILURE
-----
Smbclient does NOT ask us
2006 Dec 24
1
Copying my system to another drive
Hi, I'm trying to copy my CentOS install to a new drive.
- old drive is /dev/hda and had
hda1 : /boot
hda2 : swap
hda3 lvm
hda5 : lvm
hda4 : /usr/local
- new drive is /dev/hdb
hdb1 : /boot
hdb2 : swap
hdb3 : /
I decided to get rid of lvm which is useless to me. I've created and
formated the new partitions and copied anything from the old drive to
the new one
2007 Mar 01
1
Fit Student Copula
Hello everybody,
I have a big problem that I do not manage to solve !
I will be very grateful if you can solve this !
I want to fit a t Copula with the copula package :
> student.cop <- ellipCopula("t", param = c(0.5, 0.6, 0.7), dim = 3, dispstr = "un",df=5)
> x<-rcopula(student.cop,1000)
> fit <- fitCopula(x, student.cop, c(0.5,0.5,0.5,5))
And there is an
2006 Sep 21
10
How do you use Mongrel?
Hey folks,
I''m working on the Mongrel book with Zed, and wanted to get some
feedback from the core users (this list) about how they use Mongrel.
That sounds a bit vague, but I''m interested in hearing things about
frustrating problems / workaround, preferred configurations, if you
have a particular way you set up / store your config files when
developing / deploying an
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
2007 Mar 02
6
Multiple apps on the same server, all should be able to survive slashdotting
Dear all,
I am researching solutions for "how do you squeeze as many Rails apps as you
can on a cluster" problem.
Environment constraints are as follows:
* 4 commodity web servers (2 CPUs, 8 Gb of RAM each)
* shared file storage and database (big, fast, not a bottleneck)
* multiple Rails apps running on it
* normally, the load is insignificant, but from time to time any of these
apps
2006 Sep 04
11
balancer://mongrel_cluster
A couple of questions please:
What is the benefit of having more than one Mongrel/Rails instance on
the same machine, could one instance not serve as many requests as say
three instances?
Is Mongrel Cluster a Apache add-in (like mod_*) or a separately running
load balancer which runs on a separate port, I could not work it out
from the sample Apache config...
|# Redirect all non-static