Displaying 20 results from an estimated 10000 matches similar to: "Apache/FCGI Rails - is apache restart required on DB change?"
2006 Mar 12
1
restart ROR app running on Apache, FCGI (textdrive)
I have an app running on Apache and FCGI (on Textdrive). It is
displaying an error, and I need to restart it, but have no idea how to
do it.
Could anyone advice me on that?
What are the commands to be used to start,stop and restart apps running
on Apache and FCGI. I also want to make sure that apps on my other
subdomains are not affected.
Thanks for the help.
Arpan
--
Posted via
2006 Feb 17
7
FCGI hanging w/ lighttpd and RoR 1.0 (need to kill -9)
Hi, everyone,
I''m currently running a Rails 1.0 project using lighttpd-1.4.9 behind
Apache 2 on RHEL 3. My fcgi process (I''m only using one right now)
always hangs after some time, which is something I haven''t experienced
before (e.g., I''ve run this same app. on a TextDrive account and it
works fine there).
So ... any ideas on what could be causing this?
2006 Jul 28
1
How to set environment specific config variables DRY-ly
Sorry, search is down on the forum, so I don''t know if this has been
posted elsewhere.
I have some config variables that I want to have set in all
environments, and overridden in production.
What I want to do is put this in my config/environment.rb
SOME_CONFIG = 555
And then override it in config/environments/production.rb as:
SOME_CONFIG = 333
Problem is, using constants I
2006 Jan 03
2
Reducing Memory Footprint (fcgi)
I have a website up and running on TextDrive with Rails/lighttpd/fcgi.
Unfortunately, as my account is a "shared server" account on TxD, they kill
processes that are hogging resources (quite understandably).
Unfortunately for me, my Ruby fcgi processes load up rather ... large (just
under 50mb). It doesn''t take much to push it to 50mb, at which point it
gets killed.
Does
2006 Apr 03
11
Runaway FCGI Processes with Debian, Apache
Hi all.
There is an issue with Rails, FastCGI and Apache2 on
Debian that I''ve been dealing with since I started
Rails development in late 2005. I''ve developed
various workarounds but have not been able to solve
the problem at the root.
Every so often, for reasons I''ve never been able to
determine, a load of dispatch.fcgi processes get
spawned and take over my whole
2005 Dec 01
12
Difficult process of restarting SCGI, Lighttpd, Apache, sessions
I''ve managed to get Rails working using Apache->Lighttpd->SCGI. Restarting everything is really
difficult. This appears to be the process:
- stop apache
- stop lighttpd
- stop scgi
- make sure scgi still isn''t running (it sometimes does) - if it is, kill it
- delete all session files (they often cause permission errors)
- start scgi
- start apache
- start lighttpd
- cross
2005 Mar 10
6
Expiring Cache Fragments and fcgi
First let me say that Rails caching is very very cool. The traffic
(and responsiveness) I''ve saved by added 10 lines of ruby code would
be enourmous, if I actually had traffic... ;)
Sweepers as observers are great, btw. Since every page of my side is
dynamic, once I did some DB optimization I''m caching the content of
the index page which was taking the bulk of the time to load
2005 Mar 17
4
Specifying Which Environment I Am In
After I have uploaded my app where do I specify that my app should now
use production environment settings and not development?
Can that be done dynamically so that I don''t have to reset a value once
I upload website?
Thanks for your help!
2006 Apr 17
9
Reload an application without restarting the Server?
Hi, I would like to set up a "shared hosting"-like rails environment on
a linux (+Apache1.3 +FastCGI +MySQL) machine. As we all know, rails
provides support for different environments.
Now I would like to enable my "users" to switch individual applications
between development and production mode. In theory, all they have to do
is to add
2006 Feb 23
3
Correct to use Apache with Rails?
Hi, I have looking for the best way to integrate Apache 1.3.x and RoR. BTW,
I have gone through several different articles and I''m not clear as to which
method is the correct method for a production level environment. Thus, if
someone could shed some light on this topic, it would be most appreciated.
Thanks in advance,
-Conrad
-------------- next part --------------
An HTML attachment
2004 Nov 07
3
dispatch.cgi not found error
I''m following along on the 10 minute tutorial. Accessing blog at
http://www.ampede.com/blog/ works fine. I then created Weblog using the
script/new_controller generator. When I try to access
http://www.ampede.com/blog/weblog/, I get:
-------------------------------------------------------------
Not Found
The requested URL /dispatch.cgi was not found on this server.
2006 Oct 18
4
Segmentation bug - file_column?
Hi there everybody,
We''re having mongrel processes slowly die on us, with a segmentation
fault. I''ve seen a few other people mention similar issues. Any info
or suggestions would be nice:
Error:
/var/www/apps/heritage/current/config/../vendor/plugins/file_column/
lib/magick_file_column.rb:7: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-linux]
Server:
2006 Mar 03
19
Dreamhost rating?
Hi, I''m looking at getting some hosting to support RoR development. Thus,
how would you rate Dream Host?
Thanks in advance,
-Conrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060303/91b84488/attachment.html
2006 Jul 26
1
How to reload classes in lib/ without restarting server
Hi all,
We have a class extending a class from a plugin. We didn''t know where to
put it exactly, but the lib/ folder seemed to make sense.
Problem is, it doesn''t reload the file for each request, so it makes
development mode difficult (have to restart the webserver with every
request).
Any advice on how to make it reload?
Thanks in advance!
Cameron
--
Posted via
2006 May 18
9
Possible solutions to txtdrive process killing for cpu usage
Hi,
I''ve just deployed a basic ecommerce site on textdrive.com. The
application has been stress tested on our local development machines and
appears to be running fine (no memory leaks).
However, on textdrive the fcgi processes are being killed after just a
few requests apparently because of cpu usage (The log says the processes
exceeds 17% average cpu usage in the last few minutes)
2006 Jul 01
22
TextDrive complaints
Hi all,
I have deployed my Ruby On Rails application on TextDrive.
At first everything seamed to be fine. However, lately, response time of my
application is incredible slow.
Worse, lately there is also a lot of downtime.
I have contacted their support desk, however, they do not respond (at all,
or very, very late).
Has anyone else these experiences with TextDrive?
And if so, what did you do
2005 May 26
1
No response from Apache 2 / fcgi / rails...
Hello! I''m struggling here with getting Typo running on a Red Hat
server under Apache 2 / fcgi... Every time I try to load the public
home page, I get this in my error log:
[Thu May 26 00:20:52 2005] [error] [client 24.22.74.233] FastCGI:
comm with (dynamic) server "/home/httpd/vhosts/brigleb.com/httpdocs/
public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)
2006 Jun 09
2
Noob with Overwhelming Deployment Woes...
I''m doing some searching for deployment options, and I feel like I''m
getting buried in a lot of new technology and assumptions that I know
all that it''s dependent on. In the past I''ve done small things with PHP
where I just dump the app in a folder and everything works out of the
box.
I found that everyone is using Capistrano, which relies on Subversion
2006 Apr 01
1
problms with apache and fcgi
i have finally gotten apache to run on my server but when i change the
htaccess file to use dispatch.fcgi instead of the cgi files, RoR fails
to start my apps.
i followed the instructions down to the letter from this linke:
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel
--
Posted via http://www.ruby-forum.com/.
2006 Aug 07
1
apache-fcgi - multiple applications on same server
hello,
I have a server running apache-1.3 with mod_fastcgi that''s happily
running a rails application. Life is good ;)
I would like to setup another application (vhost) on the same server..
How to do ?
My httpd.conf says:
<snip>
# fastcgi
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fgci_ipc
AddHandler fastcgi-script .fcgi
FastCgiServer