[Rails-deploy] Re: Why cannot see webpage, only display directories (webric

2007-02-07 Thread Yan
I can see the pages on the server (local host). localhost works fine. But when I am using the other computer and typed domain. I can only see the directory list. [EMAIL PROTECTED] wrote: > It sounds like you are still working within a development deployment, > rather than a deployment environme

[Rails-deploy] Re: Mongrel startup

2007-02-07 Thread Wesley Moxam
I'm not too familiar with the rc.d style configuration files, so I can't diagnose your problem. It appears that the startup script is trying to run your command from the incorrect directory. /etc/rc.local does in fact still work in FreeBSD, even if the file is not there. Just create the file, pas

[Rails-deploy] Re: Mongrel startup

2007-02-07 Thread Zack Chandler
On 2/7/07, jcontonio <[EMAIL PROTECTED]> wrote: > > Hello. > > I have mongrel working perfectly, other than it doesn't start when my > server reboots (not good). So my setup is this. > > I have the mongrel_cluster startup file in /usr/local/etc/rc.d/ and > then a directory of symlinks to my rails

[Rails-deploy] Re: Mongrel startup

2007-02-07 Thread jcontonio
This is also wrong. I have no rc.local in /etc or /usr/local/etc. There is rc.conf in /etc/ which I had mongrel_cluster_enable="YES" so I tried changing it to mongrel_cluster_ctl_enable="YES" Still a no go. /usr/sbin/inetd start -c /usr/local/etc/mongrel_cluster That is what's running on boot

[Rails-deploy] Re: Why cannot see webpage, only display directories (webrick)

2007-02-07 Thread [EMAIL PROTECTED]
It sounds like you are still working within a development deployment, rather than a deployment environment. > When I type the application name that I created using "rails" command, > it only displays the directories under it. where are you typing this name? You should be accessing your applicati

[Rails-deploy] Why cannot see webpage, only display directories (webrick)

2007-02-07 Thread Yan
I think I almost got it. But other than see the default welcome page in the public folder I cannot see other pages that I created using scaffold. When I type the application name that I created using "rails" command, it only displays the directories under it. I am using webrick. I guess it comes

[Rails-deploy] Re: Mongrel CPU Usage

2007-02-07 Thread Vegan Buddy
If you're checking it with ps u, keep in mind that the %cpu is the average usage over the time of the process. So it will be high initially (process startup is usually cpu intensive) and then slowly decline and eventually level off. If it is still 10-20% after a few minutes than there is definit

[Rails-deploy] Re: Mongrel CPU Usage

2007-02-07 Thread dagny
I've got 1 mongrel instance running in development mode on my win32 box. It is idling at 0% cpu, using 96 MB of ram. The box has a 2 core cpu, 1 GB. On Feb 6, 9:14 pm, "glenn" <[EMAIL PROTECTED]> wrote: > Hi > Just wondering whats reasonable to expect in terms of mongrels CPU > usage. I've estab

[Rails-deploy] Re: Mongrel startup

2007-02-07 Thread jcontonio
This would work if I was running linux. I am running FreeBSD. On Feb 7, 10:20 am, harper <[EMAIL PROTECTED]> wrote: > jcontonio wrote: > > Hello. > > > I have mongrel working perfectly, other than it doesn't start when my > > server reboots (not good). So my setup is this. > > > I have the mong

[Rails-deploy] Re: Mongrel startup

2007-02-07 Thread harper
jcontonio wrote: > Hello. > > I have mongrel working perfectly, other than it doesn't start when my > server reboots (not good). So my setup is this. > > I have the mongrel_cluster startup file in /usr/local/etc/rc.d/ and > then a directory of symlinks to my rails apps in /usr/local/etc/ > mongr

[Rails-deploy] Mongrel startup

2007-02-07 Thread jcontonio
Hello. I have mongrel working perfectly, other than it doesn't start when my server reboots (not good). So my setup is this. I have the mongrel_cluster startup file in /usr/local/etc/rc.d/ and then a directory of symlinks to my rails apps in /usr/local/etc/ mongrel_cluster/ named whatever.yml W

[Rails-deploy] Re: Mongrel CPU Usage

2007-02-07 Thread Phillip Toland
glenn wrote: > Hi > Just wondering whats reasonable to expect in terms of mongrels CPU > usage. I've established an app with 1 mongrel instance on a debian > etch box. This process idles (yes idles) on 10% - 20% - this means say > I install 10 apps each with 2 mongrels, I've used twice my cpu > ca

[Rails-deploy] Re: Mongrel CPU Usage

2007-02-07 Thread ryandaigle
I have never seen this kind of behavior before. You sure they're idle? Here's what 'top' looks like on my non-idle site: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 1115 deploy16 0 50924 11m 1184 S 0.0 5.3 1:53.27 mongrel_rails 1119 deploy16 0 61364 44m

[Rails-deploy] Re: Pound+Mongrel vs. Lighttpd+Pound+Mongrel

2007-02-07 Thread sserdyuk
Thank you for your answers, gentlemen. --~--~-~--~~~---~--~~ 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 g