daemontools is a collection of tools for managing UNIX services written by D. J. Bernstein.

learn more… | top users | synonyms

0
votes
1answer
39 views

Do I have to configure daemon tools for Nginx or does Nginx handle its shutdown in a smarter way?

I use daemon tools with gearman I was thinking whether I should configure daemon tools for Nginx or does it handle its shutdown (in case of memory issue, etc..) automatically?
4
votes
1answer
90 views

Share .iso files on CentOS for remote mounting anywhere via Internet

I have a remote computer suppport business and we have the need to remotely mount .iso files on a client machine from time to time for use to grab driver updates and so on. We own a huge server on the ...
0
votes
2answers
205 views

svscan error when installing qmail

I'm quite new to Linux and I'm running into an issue. Searched everywhere, without finding a solution. I tried to install qmail following these instructions. Before finishing and starting the ...
1
vote
2answers
992 views

runit - unable to open supervise/ok: file does not exist

I'm trying to figure out why runit will not boot or give me the status for the managed applications. Running on Ubuntu 12.04. I created /service, /etc/sv/myapp (with a run script, a config file, a ...
0
votes
1answer
52 views

Daemontools - logging stderr and stdout separately

According to the documentation that I could find, daemontools' recommended way to capture stderr (or any other file descriptor) is to redirect it to stdout. If your service has a log/run script, your ...
0
votes
1answer
194 views

can't start daemon tools automatically

Everytime I reboot the server, I need to manually start daemon tools by manually running the command svscanboot &. I've tried adding csh -cf '/command/svscanboot &' in /etc/rc.local and ...
0
votes
1answer
148 views

Monitor tomcat logs for exception

I am planning to write a bash script and run it as a daemon in the background. The script will continuously monitor the tomcat server logs for any exception, error, etc. When an exception occurs, it ...
0
votes
1answer
94 views

Daemon Tools Messages

I configured a service to run through daemontools, but while stopping svscan, I am getting messages like this: [root@tcp-handler ssc_ios]# /etc/init.d/svscan stop Stopping djb services: svscan ...
1
vote
2answers
506 views

supervise/daemontools conflicts with apache -D FOREGROUND

Hoping that somebody can help us understand this behavior. We've got a bunch of daemontools services under /etc/service/. One of the services controls apache, and the run script has this in it. ...
2
votes
5answers
3k views

run script as another user from a root script with no tty stdin

Using CentOs, I want to run a script as user 'training' as a system service. I use daemontools to monitor the process, which needs a launcher script that is run as root and has no tty standard in. ...
0
votes
1answer
389 views

daemontools: How to find out what is wrong?

I'm exploring daemontools to run some of our applications, which generate some output as well (on both stdout and stderr). I installed daemontools on a debian box. Every time, I do a svc -u ...
1
vote
0answers
90 views

telling runit to pick up a new service immediately

As a happy user of runit - I am curious if it is possible to send a signal to the main process (or similar) telling it to look now at the service directory? the current behaviour is < 5 seconds ...
0
votes
1answer
310 views

Daemontools to run a python script [closed]

I have a run sript under ress directory: #!/bin/sh exec python gmail_new15.py And when I try to execute svc I get: ~# svc -du ress/ svc: warning: unable to control ress/: file does not exist My ...
2
votes
1answer
257 views

Can daemontools (djbtools) be configured to start multiple processes as a single UNIX service?

If I have an application that requires two separate processes (front- and back-end) to run properly, is it possible to launch both of them from a single runscript and have daemontools supervise both ...
1
vote
1answer
633 views

Running JBoss 6 with Runit / daemontools or other process supervision framework

I'm tying to use runit to daemonize JBoss. I use the /opt/jboss-6.1.0.Final/bin/run.sh script to start the server. When I do so from the comandline, JBoss does not detach (which is what we want), ...
3
votes
2answers
265 views

Spawning multiple instances of a daemon in Ubuntu

I have a python script that listens and blocks while it waits for data on a redis list. It runs fine in upstart using the following: description "stage message consumer" author "Nilesh Ashra" start ...
0
votes
2answers
480 views

Using daemontools under Debian

I need to monitor my postfix, dovecot and sasl process and start them if something go wrong. I read about daemontools and I want it to monitor mail services. Can I find somewhere step by step guide ...
1
vote
2answers
516 views

Jetty (HTTP Servlet Server in Java) unexpectedly shuts down

A Jetty application is deployed on a server of mine, but keeps on terminating, with little understandable evidence as to why. Any help in resolving this would be greatly appreciated. Details: OS: ...
0
votes
1answer
404 views

Qmail - replacing multilog with splogger

I currently manage a qmail installation, set up on Centos using the qmailrocks guide (which seems to have vanished from the Internet now). So - daemontools, multilog, vpopmail, qmail. I've been asked ...
0
votes
1answer
602 views

Monitoring hanging processes

I need to monitor hanging processes on the output of ps -ef | grem GMC... What's the best way to do this without running this command manually and being stuck in front of a command line all day? I'd ...
0
votes
1answer
157 views

Django app displaying the same page no matter what url visited

I have a simple Django application that I am using to test out a new deployment strategy using Nginx, FastCGI (using the latest version of flup at the time of writing) and daemontools. Basically the ...
0
votes
1answer
201 views

multilog compatibility wrapper for svlogd?

Has anyone written a compatibility wrapper for svlogd to function as a drop-in replacement for multilog? I'm a fan of UNIX process supervision in the style of daemontools and lately of runit. While ...
1
vote
1answer
331 views

Waiting for a daemontools service to stop

I'm running a service under daemontools that take several seconds to stop when sent the TERM signal. I need to stop it in a script, and then wait for the process to stop before continuing to take a ...
2
votes
2answers
3k views

how to install daemontools (supervise) on centos 5?

I'd like to use supervise to monitor httpd, mysqld and hudson processes on Centos 5. When any of these processes go down I'd like to use a tool to automatically restart them. I've read and heard ...
20
votes
10answers
8k views

Alternative to Daemontools (djbtools) to supervise unix processes?

I've used Daemontools to provide a simple and reliable way to supervise Unix services on my servers. It works well, but it requires a different way of thinking (The DJB Way) and some common complaints ...
0
votes
3answers
174 views

Staggering java linux process startup to prevent OOM

I am running a number of java processes on a single Linux machine. From a memory and computing standpoint, everything is fine when things are static. However, periodically we use a configuration ...
1
vote
1answer
222 views

Can haproxy run under supervise when daemon mode is on?

We've got haproxy running in non-daemon mode, with DJB's supervise (a.k.a. daemontools) script keeping an eye on it. However, as our site traffic has grown, its single thread has reached 100% CPU. ...
3
votes
4answers
507 views

Recommendations for Monitoring services [closed]

I would like to install a monitoring services (Monit or others) on my web server and am looking for recommendation. I have no idea which is good, and what parameters which I should evaluate on, and ...