Displaying 20 results from an estimated 30000 matches similar to: "Lighty+Mongrel: Limiting persistent db connections?"
2006 Mar 07
4
Lighty + Mongrel?
On httpd I use ProxyPass and ProxyPassReverse to forward requests to
webrick and mongrel. How can I do this same thing using Lighty and
Mongrel?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Mar 21
2
Lighty+Mongrel unresponsive after so many requests
I transferred a site from Lighty+SCGI to Lighty+Mongrel, and now I''m
having problems with it becoming unresponsive. It works fine for about
10-15 minutes, but then attempts to access the site just stall forever.
Nothing is written in any of lighty''s or mongrel''s logs. Here''s my
lighty config:
$HTTP["host"] =~ "www.xyz.com" {
2006 Mar 31
6
Lighty+Mongrel: More than one connection per client?
I have an action which requests another URL from the same site (for
testing purposes), but it keeps timing out. If I use an off-site URL,
the action works fine. I also notice that I''m only able to request one
page at a time from my server - the rest just spin until the previous
requests complete. Is this some setting in Lighty, Mongrel, or my
browser (Firefox - I played around with
2006 Apr 15
9
Mongrel in Production ?
Hi Everyone,
I was setting up Lighty+Fcgi on our server for last *couple* ( read
zillion ) of hours. I had posted my problems in my previous email. But
all in vain..
So, for time being, I switched to Mongrel. And the performance seemed
quite good. This is the first time ever I''m using mongrel ( Awesome
stuff ZedShaw..Thanks! ). I''m wondering if there are many people
around
2006 Oct 31
3
works with webrick,lighty, not mongrel
Hello,
I''ve been working away to setup mongrel as my production server, however I
am running into an odd problem and am not sure where to investigate for the
answer.
When I run using mongrel_rails start most things work fine, but a I get a
few inexplicable undefined method errors, for example:
undefined method `send_qbxml'' for #<Sync:0x2aaaafa7aa78>
The method is
2006 Jun 12
15
Mongrel Now Recommended Setup?
I see that the RubyOnRails.com site has migrated to Mongrel with Apache as a
front-end proxy.
Is that now the/a recommended setup for Rails apps? We''re still using FCGI
but I''m always interested to learn more about other folk''s successful
deployment choices.
Across all of our sites we''re pumping out about 300k pages per day so
anything that saves memory or has
2006 Jul 08
8
Mongrel, lighty, pound, and request.remote_ip
Is anyone using the setup described at the Rails blog?
http://weblog.rubyonrails.org/2006/7/3/pound-makes-lighty-and-mongrel-
play-nice
I''m using it in production, and the only problem I have is the same
as people have described in the comments over there, namely that
Rails thinks all requests come from localhost.
See http://isabont.com/requestinfo for the headers.
Any
2006 Jun 23
1
mongrel start oddities
I am running mongrel-0.3.13.1. Have used lighty and fcgi in the past, and I
must say that apache-2.0.x proxying to mongrel is much nicer to deal with! I
am having this problem, however.
If I am in root''s homedirectory, and start mongrel with this command:
---------
mongrel_rails start -a 127.0.0.1 -e production -c /home/www/rails/myapp -l
log/mongrel.log --user mongrel --group mongrel
2006 Mar 21
1
Mongrel + Lighty + Multiple Rails Apps : How to Route ?
Hello all,
I''m using Lighty-Win32 and Mongrel. I have one rails app working against
http://hostname/. I want to know how to route lighty and my app to
http://hostname/appname1. I have multiple apps that I would eventually want
to route with http://hostname/appname2, http://hostname/appname3, etc. I am
not trying to "productize", these are separate distinct apps that
2006 Sep 07
9
LiteSpeed
Yo Zed,
Just curious -- what do you think of the LiteSpeed
server? Is it better than Lighty? Does it (gasp!) also
serve Rails apps like Mongrel? I think I read that
LiteSpeed doesn''t have proxying support.
Thanks,
Joe
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2006 Mar 04
5
Correcting Bent Records: Mongrel is not SCGI
Hi,
I kept getting a very weird question about Mongrel
(http://mongrel.rubyforge.org) and SCGI that I think really needs to be
cleared up:
** Mongrel is not SCGI and will never need, use, require, or interact with
SCGI (unless someone wants to write the handler for it). **
For some reason people have been under the impression that Mongrel actually
uses or interacts with my other project SCGI
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
2006 Mar 27
24
Mongrel Web Server 0.3.12 -- Pre-Release
Hello Everyone,
Mongrel is due for a 0.3.12 release which will feature some pretty insane
goodies for everyone. There''s talk of IOWA support, lots of speed
improvements (including sendfile support), a great Configurator which makes
configuring Mongrel a snap (especially for framework implementers), and a
ton of debugging stuff.
WARNING
This is a pre-release announcement for the
2006 Aug 22
6
Mongrel crashes - bad doggie
Hello List,
I have a production machine with very low ram (Xen Virtual Server) that
runs mysql and lighty->pound->mongrel (2 instances). About once a day,
one of the mongrels just locks up, leaving that in its log files:
*** glibc detected *** /usr/bin/ruby: free(): invalid next size (fast):
0x0a744780 ***
That process (mongrel) will stay locked, not answer any connections
anymore and
2006 Jul 17
6
Rails+Mongrel+Lighthttpd: Ruby-Sendfile Problem
Hello,
I have a working mongrel cluster and want to use Lighty as the frontend
webserver. I want ligthttpd to deliver the static content.
So I did
gem install sendfile --remote
Everything installed.
But if I run the tests like
gem check sendfile --test --debug
i get the following error message:
Exception `Errno::ENOSYS'' at ./test/test_sendfile.rb:75 - Function not
implemented -
2006 Jun 09
5
Mongrel - good enough?
I want to deploy RoR site''s (Intranet) for small offices/businesses that
will get light traffic (estimating at max about 40 hits per minute at
peak times). Lots of AJAX going on more than anything (update checks to
the DB - Postgresql). I''d rather not use Lighttd, Apache, etc. as I
want to have a streamlined install that is very easy for the end users.
The catch is I
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 Oct 25
3
rails app breaks after pg restart
Hi,
Disclaimer: I''m pretty sure this isn''t a mongrel issue, as I''m pretty
sure I had the same problem back in the lighty-fastcgi days..
After a postgres restart, my rails apps crash with this error:
ActiveRecord::StatementInvalid (PGError: FATAL: terminating connection
due to a
dministrator command
server closed the connection unexpectedly
This probably
2006 Jul 02
3
Mongrel Randomly getting TERM
Has anyone ever experienced this problem? Every 12-24 hours *one of* my
mongrel processes gets a TERM signal and quits.
There is all I get in my mongrel log..
** Mongrel available at 0.0.0.0:8003
** TERM signal received.
And my rails-log is silent too. No request starting. Just the end of a
successful request and then nothingness.
The other processes are doing just fine and stay up for good.
2006 May 19
12
Mongrel/Apache and static content
I''m looking for an easy way to have mongrel only serve dynamic railscontent, while letting Apache serve non-Rails content. Unfortunately,it seems that you have to segregate the static content in its ownfolder. That was also the case with the SCGI runner. I used thetrick outlined athttp://comments.gmane.org/gmane.comp.lang.ruby.rails/23347 to managethis. I was curious if a similar