Displaying 20 results from an estimated 2000 matches similar to: "Why not ignore stale PID files?"
2007 Oct 27
4
Mongrel 1.0.2 on Ubuntu Feisty
Hi everybody,
I''ve been trying to setup a Ruby on Rails application on a Ubuntu Feisty
machine and I''ve spent a lot of time trying to figure out why Nginx and
mongrel_cluster weren''t working. The setup was correct (based on some
tutorials found on the internet), but there weren''t any pid files for the
mongrels started.
In case anybody else has experienced the
2007 Nov 14
4
scripts installed
On a debian production server and my os x development mcahine, there
is a script at
/usr/local/bin/mongrel_rails
On an ubuntu 7.1 machine, this script appears at
/var/lib/gems/1.8/bin/mongrel_rails
mongrel was installed using gem in all cases.
What is the cause of the discrepancy?
Thanks,
John
--
John Joseph Bachir
http://lyceum.ibiblio.org
http://blog.johnjosephbachir.org
2007 Jan 10
30
Anyway to "dynamically" start/stop mongrel based on web traffic?
Hey all -
I''ve got a question that I haven''t seen addressed anywhere and was
wondering if anyone has put any thought into it or not...
Here''s my setup... I have several *small* sites running apache/mongrel.
Each has a single mongrel instance. Most don''t get any traffic (no one
reads my blog :).
And I was thinking, I could host a couple of more
2007 Dec 11
6
Mongrel install problem
Hi,
I''m having difficulties getting mongrel running on my Debian Etch
machine. It seems to install and is listed with my other gems, but
things like...
"mongrel_rails start ..."
... are not recognised.
Perhaps this is something to do with the file "lib" not being found in
the install process:
ruby extconf.rb install mongrel --include-dependencies
checking for main()
2007 Jul 05
10
Does Puppet ensure that a service is up and running?
Just curious as to the functionality of puppet. Does Puppet ensure that a service is up and running as long as puppet is running?
Ie, I want to make sure ssh is always running, if for some reason ssh get''s shut down, does puppet start it back up when it does it''s config sync run?
Thanks!
---------------------------------
Pinpoint customers who are looking for
2006 Jun 21
2
startup script for icecast
Hello,
I was wondering about the feasibility of including a startup script for
icecast for redhat/fedora installs? I've had to do an rpm install on an fc4
box, and a source install, rpms couldn't be found for an rh9 machine, yah i
know that's old. And in both cases i had to drop in a custom-made startup
script, see below. I was wondering esepcially in the case of the rpm, and
2007 May 15
5
Puppet performance
--On Monday, May 14, 2007 9:16 PM -0700 Jos Backus <jos@catnook.com> wrote:
> ObPuppet: we ramping up our deployment this week to around 200 hosts. So
> far everything has been going smoothly.
We don''t have nearly as many and yet, we see occasional errors ("End of
file reached") which seems to indicate the network cutting out. I can''t
imagine what would
2007 Jan 17
18
mongrel memory usage ballooning and process stomping
Hi,
I have mongrel 0.3.14, with ruby 1.8.5, rails 1.1.6 and mongrel cluster
0.2.1, on debian sage 3.1 with apache 2.0, and fastthread 0.6.1.
I am load balancing 3 mongrel processes using the random port trick.
When I start mongrel the processes have about 60MB, but after some hour of
usage the memory ballons upto more than 180MB and the site becomes terribly
slow. Forcing me to restart mongrel
2007 Nov 29
3
gem provider non-interactive
Hi,
I was wondering if there is any of getting the gem package provider to
run non-interactively? When upgrading mongrel it fails because it gets
prompted for which version to install:
Attempting remote update of mongrel
Select which gem to install for your platform (x86_64-linux)
1. mongrel 1.1.1 (ruby)
2. mongrel 1.1.1 (jruby)
3. mongrel 1.1.1 (mswin32)
4. mongrel 1.1 (mswin32)
5.
2007 Apr 26
2
[PATCH] facter: add interfaces, default_gateway facts on Linux
Quick and dirty:
--- lib/facter.rb (revision 203)
+++ lib/facter.rb (working copy)
@@ -989,6 +989,18 @@
%x{/usr/sbin/scutil --get LocalHostName}
end
end
+ Facter.add(:interfaces) do
+ confine :kernel => :linux
+ setcode do
+ %x{/sbin/ifconfig -a -s}.split($/)[1..-1].collect {|line|
2007 Oct 02
10
End of file and other errors: solution
For anyone that has experienced the odd End of file or Cannot describe
errors, we''ve found that switching to Mongrel has fixed this problem for
us. We''re currently running 5 instance of puppetmaster under mongrel (with
the apache proxy in front) and things are going great.
For more information on setting up Mongrel, visit:
2001 Nov 21
3
--no-detach option?
How about adding a --no-detach option (to be used in combination with
--daemon) to rsync so it can be run under Dan Bernstein's daemontools'
supervise? If there's interest I'll provide a patch.
--
Jos Backus _/ _/_/_/ Santa Clara, CA
_/ _/ _/
_/ _/_/_/
_/ _/ _/ _/
2002 Apr 20
2
Patch: update popt/ to 1.5.1
This patch updates the files under popt/ to the latest vendor drop. The only
change is the inclusion of a FreeBSD-specific patch to popt.c. This is needed
in case somebody decides to build rsync on that platform without using the
port. I'm not happy about the wording in popt/README.rsync so I may change it.
The patch is available at
http://www.catnook.com/rsync-popt-1.5.1.patch
Comments
2007 May 11
14
Trailing commas [best practice survey]
I''m sure everyone has read and committed the Puppet Best Practice to memory
by now (I joke). One of the things I''ve written in there deals with
trailing commas, which I adopted from the way I used to do multiline in
Perl, but I''ve noticed that most people don''t tend to do that in Puppet.
Should I revise this or should we all start using the trailing commas?
2007 Apr 17
7
problem restarting mongrel_cluster outside RAILS_ROOT - patch and other option
Hey folks. Sorry for the SUPER long email but if you''ve been
experiencing the same problems with restarting your mongrel cluster with
Capistrano, then I have two solutions that have worked for me and I''m
pretty sure will for you as well.
THE PROBLEM
I was having trouble restarting my clusters using Capistrano. I''ve seen
this come up before on the mailing list and
2007 Feb 21
3
Mongrel_Cluster PID File Creation Error.
Hello,
Thank you for your development of Mongrel, great job. :)
I am using mongrel_cluster, but I have a problem where my rails
application name includes a "." such as mydomain.com, which causes an
error when generating the PID file for mongrel.
I have attached below a diff of the current working copy in the trunk
and the changes I made to overcome this problem. I kept your
2007 Mar 05
3
programatically stopping acts_as_ferret drb server
I need a way to kill the ferret_server drb process programatically, so I
can start/stop it as part of the capistrano deployment process.
This should be as simple as adding some sort of stop method to
ActsAsFerret::Remote::Server. I was just messing around and was able to
do it by modifying method_missing to look for the :stop method and then
calling DRb.thread.exit -- this is not good enough for
2009 Jul 14
1
Ubuntu JGR
Hello,
I cannot get JGR installed.
Here is what I have tried so far http://wiki.ubuntuusers.de/R
1. sudo -s # root werden
R CMD javareconf
root at gunnar-laptop:~# R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.5.0_18
Java home path : /usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre
Java compiler : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive
2008 Oct 01
8
Mongrel_Cluster unable to access OCI8 library
Hi,
I''m able to run a ROR application in a Red Hat Enterprise Linux 4.4
environment, as long as I start my mongrel_cluster via the command line:
[chris at localhost ~]$ mongrel_cluster_ctl start
I take a look at the two mongrel_rails processes that were just created:
[chris at localhost log]$ ps -ef | grep mongrel
chris 4781 1 5 05:55 ? 00:00:02 /usr/local/bin/ruby
2008 Jan 09
9
mongrel, monit, and the many, many messages
Monit 4.9, Mongrel 1.0.1, Rails 1.2.6, Mac OS X 10.4.11 (PPC)
I don''t know whether this is a mongrel issue or a monit issue.
I''m trying to poke my way around a system set up by someone else. I have
no more experience w/ mongrel that local Rails dev at this point, and a
conceptual understanding of how monit is working. I have the Deploying
Rails beta book, and I''m