Displaying 20 results from an estimated 1000 matches similar to: "log to stdout?"
2007 Jan 21
1
logging to stdout
Hey,
I''m using mongrel supervised via runit. I''d like to capture mongrel logs with
svlogd, which just requires logging to stdout/stderr. But, the Rails app is
logging in its own log directory.
Is there a way to make both mongrel and Rails log to stdout/stderr?
Thanks,
Mike
--
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things
2006 Sep 20
3
thank you
I recently got into using RoR, and the only issue that concerned me was the
apparently complexity of deployment. Setting up fastcgi can be a bit of a
pain, and I was hoping that the Rails community would come up with something
simpler.
Mongrel was recommended to me from someone on my local Ruby user group. It was
trivial to install as a Gem on my Linux desktop and the FreeBSD server that I
am
2006 Sep 25
3
hosting multiple apps
I am considering creating a web interface for system administration, but it
would need a plug-in architecture, adding new UIs as new services are added.
I''m thinking about doing this with multiple Rails applications, and I''m
curious as to whether mongrel can most multiple apps in a single instance, as
opposed to running one for each. Is this possible?
Thanks,
Mike
--
Michael P.
2007 May 06
28
mongrel becoming unresponsive
Hello,
I''m running mongrel behind apache via proxypass. Every now and then, a spammer
tries to proxy traffic through apache, and for some reason, apache forwards
the request to mongrel, even though it''s not a site being hosted by me.
At times this seems to cause mongrel to become unresponsive, and all requests
to the site then fail with a proxy error until mongrel is
2010 Apr 30
0
Runit
Hello
Does anybody have any advice, or even some ready-made configuration, for running logcheck on svlogd log files? svlogd is the logging daemon provided by runit, a replacement for sysv init with service supervision.
svlogd, and thus runit, are incompatibile with vanilla logcheck, because svlogd logfiles are rotated when they reach a certain size, not at a certain time. Therefore when logcheck
2007 Apr 10
5
comparison... why mongrel?
Hi,
I''ve recently deployed a rails app and our platform is Apache 2.2 + mongrel
cluster. It seems to be working fine... although no real tests yet. I just
recently found out that it is *quite* possible that the live server will not
be getting an update to apache 2.2, and the current version is 1.3. So...
I''ve installed Apache 1.3 + FastCGI on the dev server and it''s
2007 Feb 19
3
Mongrel on FreeBSD
Hi
We have mongrel 0.3.4 (off the top of my head) on two FreeBSD
webservers, installed it out of ports. The rc script has been
installed. Is this done by the port, or does the gem do it? We want
to upgrade to mongrel 1.0.1 - are there any changes to the rc
script? I''m not sure if upgrading through gems will leave the rc
script broken in any way.
Unfortunately
2010 Jan 21
1
Fastest restart of dovecot after upgrade: HOW?:
I'm running dovecot under runit:
#!/bin/sh
echo '/var/core/%p' > /proc/sys/kernel/core_pattern
ulimit -n 8096
ulimit -c unlimited
exec /usr/local/sbin/dovecot -F
(that way, together with incron, I can automatically generate the
coredumps I'm posting all the time)
If I apply a patch and recompile, what is the fastest way of
restarting dovecot?
Which part of the process
2013 May 20
2
Unicorn + RUnit Rails Not Killing Old Master
Hi,
I''m deploying Unicorn on a Rails application with RUnit. Technically
I''m using Chef''s deployment tools, if any of you are familiar with it
(https://github.com/opscode-cookbooks/application_ruby) but to be clear
they aren''t doing anything magical, so this is purely an issue with
RUnit and Unicorn.
The TL;DR of the following post, which has lots of
2006 Oct 01
7
Log rotation
Hi mongrel-herders,
I''m just wondering what fellow railsers use to rotate their logs in an
orderly fashion? I''d like to do something lightweight, i.e. (1) rename the
logfile (2, optional) create a new empty logfile and (3) send a signal to
each mongrel in the cluster and have them understand it''s time to reopen
their log file handles. This is what I do with apache and
2007 Jan 22
2
routing in tunnel mode
Hello,
Looking here
http://www.ipsec-howto.org/x299.html
I''ve set up a vpn in transport mode with two linux boxes. I''m now trying to
set it up in tunnel mode. After using the example keys, trying to ping, it
doesn''t work because the route network isn''t routable.
This mention is in the howto
"If you tunnel is not working, please check your routing.
2007 Mar 05
1
File exists?
Hello,
I''m trying to put 3 nodes in a vpn in tunnel mode.
When I run setkey on the following file, I end up with
The result of line 33: File exists.
That error isn''t overly helpful, so I was hoping that someone could explain
the issue.
Here''s the file, with line 33 highlighted.
Help appreciated.
Mike
# Flush the SAD and SPD
flush;
spdflush;
# Add SA for
2007 Jan 22
0
ipip tunnel docs broken
Hello,
Looking here
http://lartc.org/howto/lartc.tunnel.ip-ip.html
It says to load a new_tunnel.o module. There is no such module on 2.6.9, so
where would I find up-to-date documentation on ip tunnels in the Linux kernel?
Thanks,
Mike
--
Michael P. Soulier <michael_soulier@mitel.com>, 613-592-2122 x2522
"Any intelligent fool can make things bigger and more complex... It takes a
2006 Mar 18
2
ANN: capistrano-runit-tasks 0.1.0
I''d like to announce the first release of capistrano-runit-tasks.
This came about as I wanted to use runit rather than spinner/spawner/
reaper on my memory limited VPS but should be useable for any setup.
From the README:
This library extends Capistrano to allow processes to be supervised
using the
runit package. It replaces some of the standard tasks with runit
versions and
2006 Mar 23
4
ANN: capistrano-runit-tasks 0.2.0
I''d like to announce the second release of capistrano-runit-tasks,
available from http://rubyforge.org/projects/cappy-runit/
It now supports:
* File based templates
* sv as the service control command in addition to runsvctrl
* A much simpler interface for creating additional services.
More work still needs to be done though!
== TODO
* Allow add_service to create more than one
2013 Jan 14
1
Issue with getParserData in R3.0.0
Hello,
I am migrating my package lambda.r to R3.0.0 and am experiencing some issues with the getParserData function (which replaces the parser package). Basically the function works in the R shell but fails when either called from RUnit or from R CMD check.
I've narrowed it down to the function getSrcfile, which is returning different values depending on the code path. From the command line
2010 Nov 05
0
About installing RBloomberg
Hi folks,
Debian 600 64bit desktop
> sudo R
Password:
> install.packages("RBloomberg", repos="http://R-Forge.R-project.org")
....
....
* DONE (zoo)
ERROR: dependencies ?rcom?, ?bitops?, ?RUnit? are not available for package
?RBloomberg?
* removing ?/usr/local/lib/R/site-library/RBloomberg?
Failed
> install.packages("RBloomberg", "rcom",
2004 Oct 05
1
R 2.0.0: problem: installing --with-package-versions
Hello R developers,
installing R 2.0.0 from source on a Linux Debian system (gcc 3.2.2)
- which worked just fine - I encountered the following problem when trying to
update/install packages with the option --with-package-versions:
example: RUnit 0.4.0 (also on CRAN)
R20 CMD INSTALL -l /mnt/local/R/R-2.0.x-libs-EpiR --with-package-versions
RUnit_0.4.0.tar.gz
or after untaring
R20 CMD INSTALL
2007 Sep 05
2
RUnit testing with R CMD check and more (was: R CMD check recursive copy of tests/)
Hello!
I have looked at Martin's recent work on "merging" unit tests with R CMD check,
fused it with my and Tony's contributions and developed it a bit further. Take
a look into the attached demo package on how it works.
In essence:
PKG/inst/RUnitTests
|- runRUnitTests.R (script to run RUnit tests)
\- ... (any RUnit test file)
2006 Aug 05
1
R CMD check and RUnit
Hi!
I appologize for crossposting, but this might be of broader interest.
In case you are interested in fusing RUnit with R CMD check under unix
alike OS, here is one way of doing/hacking this.
My aim was to perform unit tests:
(1) during R CMD check
(2) at any other time
Say you have a package PKG in a map PKG. I use the following structure
PKG
|- R
|- ...
|- inst
| |- doc
| `-