which deployment book?  i would be surprised if a book about deploying ruby
on rails suggests that you run mongrel alone in production.  most resources
that I've seen suggest apache or nginx proxying to mongrel.  often it is
proxying to a cluster of mongrels.  for one reason, mongrel is slow at
serving static files.  also another issue of running mongrel alone, is that
a mongrel can only deal with one request at a time, so of there are any
tasks that are a little long, it will block other tasks from being run.
this is why people use load-balancers to proxy to mongrel.  also, using
apache or nginx gives you the logs that you are looking for.  nice.

anyway,  here are a few links:
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/
http://webonrails.com/2007/02/04/apache-proxy-balancer-mongrel-clusters-and-deploying-application-with-capistrano/
http://jonathan.tron.name/2006/07/26/apache-2-0-x-mongrel-mod_proxy-mod_rewrite-configuration

here is a nice book that covers a lot about rails deployment:
http://www.pragprog.com/titles/fr_deploy/deploying-rails-applications

hope this helps,
scott

On Tue, Jul 15, 2008 at 5:15 AM, Anthony Ettinger <[EMAIL PROTECTED]>
wrote:

>
> Not using those, I'm using mongrel stand alone, as suggested in the
> Deployment book.
>
>
> On Mon, Jul 14, 2008 at 2:10 PM, Jason Roelofs <[EMAIL PROTECTED]>
> wrote:
> >
> > Hmm, no, not mongrel, something like Apache, nginx, lighttp, etc.
> > These are your front-end http servers, and they proxy down into
> > Mongrel for running your Rails site.
> >
> > Jason
> >
> > On Mon, Jul 14, 2008 at 5:01 PM, Anthony Ettinger <[EMAIL PROTECTED]>
> wrote:
> >>
> >> This would be for mongrel then...
> >>
> >>
> >>
> >> On Mon, Jul 14, 2008 at 12:21 PM, Jason Roelofs <[EMAIL PROTECTED]>
> wrote:
> >>>
> >>> That's all the responsibility of whatever http server you're running.
> >>> production.log is purely what Rails itself does.
> >>>
> >>> On Mon, Jul 14, 2008 at 2:37 PM, Anthony Ettinger <[EMAIL PROTECTED]>
> wrote:
> >>>>
> >>>> In my production.log file, I'm only seeing errors and database
> queries, etc.
> >>>>
> >>>> How should I go about generating an access.log and error.log (similar
> >>>> to apache). I'm interested in seeing the usual stats, request,
> >>>> referer, host, user-agent.
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Anthony Ettinger
> >>>> 408-656-2473
> >>>> http://anthony.ettinger.name
> >>>>
> >>>> >
> >>>>
> >>>
> >>> >
> >>>
> >>
> >>
> >>
> >> --
> >> Anthony Ettinger
> >> 408-656-2473
> >> http://anthony.ettinger.name
> >>
> >> >
> >>
> >
> > >
> >
>
>
>
> --
> Anthony Ettinger
> 408-656-2473
> http://anthony.ettinger.name
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to