Displaying 20 results from an estimated 800 matches similar to: "mongrel_cluster and Monit"
2007 Apr 17
5
How to change the default encoding for dynamic pages
Hello,
I''m trying to write a rails application serves by mongrel and using
accentuated characters in the .rhtml page. But Mongrel replace them by ''?'' .
It works fine for static pages by defining the charset to iso-8859-1 in the
mongrel_mime.yml
But how to change the default encoding (seems to be UTF-8) for the dynamic
pages ?
thanks for your help.
-------------- next
2007 Jan 12
3
Content-Length: 0
While trying to debug a goofy XML loading issue in IE, I''ve found
that Mongrel (latest) returns Content-Type: 0 with every request on a
particular (CentOS 4) server, yet not on my local (OS X) box. These
both access identical Rails apps. This seems like a clue, but thought
I''d ask here if for some reason this is expected behavior. Both
running Ruby 1.8.4. Both return
2006 Feb 22
3
is there really a restart task in switchtower? How do you invoke it?
I just created a new rails project "test".
I then did "switchtower --apply-to ~/user/test test"
I then moved into test and tried "rake restart" and got:
kfelkins@lurch:~/user/test$ rake restart
(in /home/kfelkins/user/test)
rake aborted!
Don''t know how to build task ''restart''
I see restart in deploy. Can restart be invoked from the
2006 May 20
1
Rails Day 2006 -- 24 hour programming contest on July 17th
I just launched the website for Rails Day 2006, the second annual 24
hour Ruby on Rails development contest. Teams of one to three people
have 24 hours to develop a Rails application from scratch. When the
contest is over, entries are judged, and cool prizes are awarded.
http://www.railsday2006.com/
Sponsoring Rails Day is a great way to promote your company to the
geek demographic. If
2007 Mar 10
5
Mongrel Hangs After Idle Period
I had posted a thread couple of weeks ago whereby mongrel just mysteriously
stops interacting with my application after an idle period...usually less
than 8 hours.
http://rubyforge.org/pipermail/mongrel-users/2007-February/002908.html
I had hoped this would go away after a few upgrades but to know avail.
Interestingly, the process does not die...it still accepts HTTP requests but
does not
2006 Mar 25
4
Can''t quite get Rails working on Mac, help please :).
I''ve followed the install the install guide on
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
and it seemed to work. And I''ve been following the Instant Gratifiction
guide in Chapter four in Agile Web Development with Rails book. I''m in
terminal and I type -
cd work (everything works fine) then
rails demo (everything seems to work) then
cd
2002 Aug 07
3
Reading characters using read.table()
Hello,
I need to read a vector containing names of different variables from a
text file (a unique column). Among them one is called "T". When I use
the function read.table with default arguments and when I call the
element of the data frame corresponding to name of this variable it
returns me the logical value "TRUE" whereas I was expected it to return
the character
2002 Aug 01
2
Building a function
Hello,
Is it possible to build a function, a posteriori, by getting the names
of the arguments and the formula in a list or a vector ? When I use the
function as.function(), I don't know how to define explicitly the names
of my variables as formal arguments.
Thanks
_______________________________________
Florent BATY
CNRS UMR 5558
Dynamique des Populations Bact?riennes
Facult? de
2007 Aug 26
1
monit not executing start/stop/restart mongrels
Alright, I have googles and read through the docs on monit
I get this error when adding -v starting monit
monit: Cannot connect to the monit daemon. Did you start it with http support?
monit: Cannot connect to the monit daemon. Did you start it with http support?
Am I missing something here?
set daemon 120
set logfile syslog facility log_daemon
set mailserver localhost
set httpd port 28212
2016 Jan 26
2
system refuses to install monit.
_**_So I have epel enabled on this centos 6 server, but
yum -y install monit will not install monit.
yum search monit does not show monit as available to be installed.
[root at lb1 ~]# yum install monit
Loaded plugins: fastestmirror, presto
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror-centos.hostingswift.com
* epel: reflector.westga.edu
* extras:
2011 Mar 19
2
httpd cannot serve web page on port 2812 (for Monit)
Might there be anything CentOS related on why I cannot access the
Monit GUI system on http://box-running-monit.com:2812 ?
I am using a very basic /etc/monit.conf config, but I cannot get it
serve the web page on my box
The service start and stops fine (e.g. "/etc/init.d/monit start"), and
I have it set to listen to port 2812 in the "/etc/monit.conf file" (so
far, kept the
2012 Jun 27
3
Unicorn workers under Monit
Hi there,
I would like to config Monit to monitor our production-unicorn-workers
What memory size would you recommend to be the maximum reachable for a worker? so Monit can restart it.
Thanks a lot !
Manuel Palenciano
2007 Sep 11
0
Merb & Monit
greetings,
i have been trying to get merb and monit to play well. but monit
won''t restart merb. neither will monit stop merb if it is still
running but not responding.
below is the monit config for the merb app.
anyone know what i am doing wrong or have good strategies for using
monit and merb?
thank you - john weir
check process manwith-4000 with pidfile
2008 Sep 21
3
Monit; BackgroundRB; environment variables
I started emailing monit mailing list because I started getting this
problem where I couldn''t start backgroundrb with monit anymore,
thinking it was a monit problem. However, I back tracked a bit since
I had added code to my project, and monit was able to start
backgroundrb again.
I seem to have zeroed in on the problem. I''m not sure where the
problem lies - maybe monit or
2009 Aug 11
0
monit paths
Hi everyone,
I''m trying to use monit to monitor a backgroundrb process (that gets
killed occasionally), but I cant seem to seem the start or stop
commands to work (i simply get ''execution failed'') - though they do
work fine from the command prompt.
I''m not doing anything particularly sophisticated:
check process backgroundrb_11006
with pidfile
2014 Dec 29
2
[OFF TOPIC] monit
Hi list , I'm trying to run monit with asterisk, starting as simple
# My PBX Asterisk
check process asterisk with pidfile /var/run/asterisk/asterisk.pid
start program = "/etc/init.d/asterisk start" with timeout 60 seconds
stop program = "/etc/init.d/asterisk stop" with timeout 60 seconds
if failed host 127.0.0.1 port 5038 then restart
if 5 restarts within 5 cycles then
2007 Feb 02
1
Monit / mongel_cluster 0.2.2 / mongrel 1.0.1
Hi,
I''ve a few problems with my rails app at the minute, causing mongrels
in a cluster to die, while I debug I''ve setup monit to keep the site
running.
Problem is, whenever monit starts one of my mongrels via mongrel_rails
cluster::start --only 8000 --clean -C /url/to/yml/file I get the
following in my log/mongrel.log:
** Mongrel available at 127.0.0.1:8000
** Writing PID file
2010 Jun 11
2
Service monitoring/"Monit"?
Has anybody here tried the "Monit" utility (http://mmonit.com/monit/)? I
need to set up some kind of "watchdog" functionality for a custom
service otherwise started via init (i.e. via a script in /etc/init.d +
rc*.d links managed by chkconfig) and it seems like this system may give
me nearly what I want. However, something that concerns me about it, is
that it appears to
2007 Oct 09
3
Monit reporting that pid changed
Hi, I was wondering if this is normal
or if it something i need to wonder about.
I get Monit alerts that my mongrels PID files
have changed.
Changed Service MONGREL_2
Date: Tue, 09 Oct 2007 14:19:38 +0000
Action: alert
Host: sa.greenling.com
Description: ''MONGREL_2'' process PID changed to 18368
Your faithful employee,
monit
2007 Oct 13
2
backgroundrb monit config
I did some googling and found a post where Ezra said he monitors
backgroundrb for memory/cpu/uptime. Just wondering what some
reasonable starting points would be.
Pat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to