Questions tagged [daemontools]

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

daemontools is a set of tools for managing unix services (daemons), including stopping, starting, restarting, logging, and monitoring them.

It consists of a suite of utilities which allow you to interact with the supervise program which is ultimately responsible for starting, monitoring, and (in the event of an untimely death) restarting services.

It offers functionality system to , without replacing your entire init subsystem.

More information can be found on the daemontools homepage.

41 questions
0
votes
1 answer

Are periods in a service name considered “special characters” for tinydns and daemontools?

I'm building some new DNS servers which will run tinydns. I need to run two instances of tinydns on each server, each serving what is our production authoritative DNS and a legacy authoritative DNS which is being phased out,…
Kev
  • 7,877
  • 18
  • 81
  • 108
0
votes
1 answer

Daemontools (djbtools) freezes processes after system restart

We are currently using the latest daemontools (http://cr.yp.to/daemontools.html) to manage our background linux (AWS-linux) application servers. Our application servers run in JVMs: [ec2-user@ip-10-0-1-220 local]$ java -version java version…
MarcF
  • 213
  • 2
  • 11
0
votes
1 answer

What tools available for Ubuntu are best suited for starting a FastCGI application, monitoring, and restarting if it stops?

Note: This is not in regards to PHP; Language is C++ I will be using spawn-fcgi to launch the FastCGI application. I've already found the supervise tool (http://manpages.ubuntu.com/manpages/precise/man8/supervise.8.html) provided by the…
Coder
  • 101
  • 1
0
votes
1 answer

Log not readable after rotation by daemontools

I have a log, which looks perfectly fine. However, after the log rotation by daemontools, it is no longer human readable. What could be the problem?
Mingyu
  • 115
  • 7
0
votes
3 answers

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 service, you can perform a final check. This is the…
Ab Co
  • 1
  • 2
0
votes
1 answer

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 will trigger an event and will handle it…
curiousguy
  • 115
  • 7
0
votes
1 answer

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 services logging . [root@tcp-handler ssc_ios]#…
pradeepchhetri
  • 2,698
  • 6
  • 37
  • 47
0
votes
2 answers

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 to setup daemontools on Debian? I've already…
PsychoX
  • 175
  • 3
0
votes
1 answer

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 to set up a Splunk server for analysing the logs…
om3rta
  • 3
  • 4
0
votes
1 answer

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 like to our dev team to get an email whenever one…
Ben
  • 3,800
  • 18
  • 65
  • 96
0
votes
3 answers

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 management package up upgrade the jar or war files,…
ctennis
  • 343
  • 3
  • 8
1 2
3