similar to: Multiple apps on the same server, all should be able to survive slashdotting

Displaying 20 results from an estimated 20000 matches similar to: "Multiple apps on the same server, all should be able to survive slashdotting"

2008 Jan 23
14
Again: Workaround found for request queuing vs. num_processors, accept/close
Hello all. I too found out that I sometimes have some action that can take up to 10 seconds in my rails application. I''ve read all arguments Zed made about polling/and inbox strategies, and I think I just can''t work around my feeling that a "wrong" request that takes up too much time should be able to lock subsequent requests in mongrels queue. That''s what
2007 Mar 06
59
Memory leaks in my site
Hi all, My environment is ruby-1.8.4, rails 1.2.2, mongrel 1.0.1, linux 2.6. Now, i have a problem on memory leaks with mongrel. My site is running 5 mongrel processes on a 2G RAM machine, the memory of each process grows from about 20M to about 250M, but it never recover to the initial 20M, so i had to restart the mongrel processes once per day. The load is about 1M hits per day. Waiting for
2007 Mar 13
3
dropping lighty+fastcgi and moving to apache+mongrel in production
Most of my machines have apache+mongrel running but the mongrels are using the localhost. In my production environment, I have 4 boxes. I have setup 2 http servers ( apache 2.2.4 ) and 2 app servers. They are currently using lighttpd+fastcgi. Which I am changing this week. I want to get advice from you guys before I actually do this since this is my production env. I have installed apache on the
2007 Aug 10
10
what is the correct way to stop/start a mongrel instance using monit with mongrel cluster
Hi -- I have been reading documentation and googling around to find the correct way to do this but I have found many ways that seem to not work, or the documentation makes no reference to. I am using mongrel cluster with 10 mongrels for each server. Recently I installed monit but which lead me to find the correct way to start/stop mongrel instances one pid at a time. I am assuming one pid at a
2006 Aug 16
18
mongrel lighttpd and ssl
I am wanting to one run instance of lighttpd, many many instances of mongrel. I also need ssl but only for one of my sites. I understand that Mongrel does not play with SSL so I am forced to use Lighttpd. I think that lighttpd only handles ssl or non-ssl on any given instance. Is there a way for me to accomplish my goal of one lighttpd with multiple mongrels and the occasional ssl connection? --
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 Mar 13
5
Mongrel cluster with one app and many mysql databases
Hi All, I am new to the mongrel mailing list and I have a question (and I didn''t find any answer in the archives). I have successfully installed the apache2.2 proxy balancer with mongrel cluster and that works just fine. For a single rails app I have started 2 mongrels which consume about 100M (ps says 5.0% for each and I have 1G RAM). It seems a bit much but OK. However that would
2007 Nov 14
8
Best practice Ruby on Rails on Windows configuration
Hi, I have read many articles on the net today about configuring Ruby on Rails on a Windows server. But there doesn''t seem to a one solution for all on how to configure a new Ruby on Rails server. So I can use some advise with this. I am using a Windows 2003 server and don''t get many request a day. But most of the request are quite heavy. The main focus is on optimizing the
2007 Apr 03
8
FastCGI performing better than Mongrel - what am I doing wrong?
I tried benchmarking the same site behind an NGINX proxy with both fastcgi and mongrel, and for some reason mongrel is performing pretty poorly in comparison. Any idea what I might be doing wrong? Here''s my benchmarks for 1 fcgi: Server Software: nginx/0.4.0 Server Hostname: eship.com.br Server Port: 80 Document Path: / Document Length: 95
2008 May 29
7
Error: Mongrel timed out this thread: too many open files
I just switched to Mongrel, and it''s been working much better than my previous lighttpd/fastcgi setup. So thanks for the awesomeness. My current problem: once or twice an hour, I get following error in production Mongrel timed out this thread: too many open files I never get it in testing or on our staging server. Any ideas what would cause that? It doesn''t *appear*
2006 Apr 20
21
Can someone please explain Lighttpd + Mongrel + Rails.
I know that Mongrel is a web server that hosts rails applications. But i don''t understand what part Lighttpd (or Apache) has in the setup. I know that you can use Mongrel on its own. What does Lighttpd improve on? Thanks, Chris -- Posted via http://www.ruby-forum.com/.
2006 Nov 24
2
Mongrel + Apache 1.3 + OpenBSD
Hello, I want to install a bunch mongrel servers with an apache in fronthead, all that on OpenBSD. But OpenBSD is released with a homemade Apache 1.3.29 patched by the OpenBSD team. I really want to keep this version of apache and I don''t want to change it to Apache 2.x (because of the security and the license but it''s not the point here). But for having mongrel, it has to be
2006 Jun 28
5
Production deployment
Gang- We are getting ready to launch our ROR application; the last item remaining is the deployment platform. For testing, we had used Apache + MOD_FastCGI. I am not that impressed with it; sometimes it has strange effects. For example, when we start the application, for about 5 minutes or so, the app is very unstable and it gets better over time. My questions is .. should I go with (1)
2007 Oct 09
3
Monit reporting that pid changed
Hi, I was wondering if this is normal or if it something i need to wonder about. I get Monit alerts that my mongrels PID files have changed. Changed Service MONGREL_2 Date: Tue, 09 Oct 2007 14:19:38 +0000 Action: alert Host: sa.greenling.com Description: ''MONGREL_2'' process PID changed to 18368 Your faithful employee, monit
2006 Aug 06
19
Rails *that* slow?
I''m working on my first little rails-application. It''s a rewrite of a gallery-script i once made (in PHP): http://notdotnet.net However - my rails-version is waaay to slow :( http://r.notdotnet.net/ I don''t do any heavy image-processing, I don''t have any killer-algorithms with a time complexity on O(n^n), and I don''t use any major hacks. The only
2006 Mar 31
35
Frustrated with RoR environment splintering
Why isnt the RoR community focusing on robust and scalable mod_perl style of Apache environment, rather then splintering all over the place with lighthttp, mongrel, WEBrick, SCGI, fcgi, etc??? Its frustrating as someone who is trying to migrate to RoR. Its very unlikely I would ever get a contract to work on any webserver except Apache, so it would seem logicaly to focus all our efforts to
2008 Jan 03
23
deployment survey
Hello Mongrels, Building on the last messages about Fastthread, can we get a detailed survey of the different ways people are deploying their applications? It will help with near-future Mongrel development. Please include the following things: * Framework, if any (Camping, Merb, Rails, Nitro, Ramaze, IOWA, Rack...) * Mongrel version * Mongrel handlers used (rails, dirhandler, camping,
2007 Dec 10
4
Mongrel and http 1.1 OPTIONS keyword
Hello. I just seen some errors in my mongrel application log: It seems related to the httpd OPTIONS keyword Example: Processing LoginController#login (for .30.5.208 at 2007-12-10 09:00:23) [OPTIONS] and our ruby application does not know what to do with it. and finally send an error Does mongrel (which is the http server) is supposed to deal with these kind of request ? I think these
2006 Dec 14
3
reaper spawner
Hi, Anyone know where i can find out more info on Reaper/Spawner. Currently, every time i add a new account on my production machine, i have to restart the whole server. After about 150 accounts, this puts a real strain on the server (it takes 3 full minutes before i can access any site on the server). I think reaper/spawner is my answer, but i am havving trouble figuring out how to use it.
2007 Nov 22
7
Gentoo warning
Hi, I''ve done some benchmarking on our new servers (being built now), AMD X2 5600, gentoo-hardened. With the same CFLAGS (safe cflags: -march=k8 -O2) I''ve tested the following configs: 1, emerge ruby rubygems, then gem install mongrel (or emerge mongrel, the performance was similar) 2, download the same ruby version, untar, ./configure, make, make install, download rubygems,