File: SIGNALS

package info (click to toggle)
pmacct 0.10.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,996 kB
  • ctags: 3,469
  • sloc: ansic: 24,572; sh: 3,136; makefile: 98
file content (45 lines) | stat: -rw-r--r-- 1,954 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
SIGNALS:
Here follows a list of supported signals and their meaning; remember
that pmacct core says goodbye when its last child dies or is terminated.


pmacctd/nfacctd/sfacctd Core process:
SIGCHLD:	used to handle gracefully his loved child processes;
SIGHUP:         causes the reopening of connection with syslog daemon;
SIGUSR1:        returns various statistics via either console or syslog; the syslog level reserved
		for such purpose is the NOTICE; the facility employed is specified via the 'syslog'
		configuration key instead. Actually it is ignored by nfacctd and sfacctd;
SIGUSR2:	if 'refresh_maps' configuration directive is enabled it causes the Pre-Tagging map
		to be reloaded; 
SIGINT:		ignored if the daemon is started in background; else the signal is propagated to 
		each running plugin (which is in turn gracefully terminated);
SIGTERM:	not handled (which means it follows the default behaviour for the OS) if the daemon
		is started in background; else it works like SIGINT;
SIGPIPE:	ignored;

MySQL plugin process:
SIGPIPE:	ignored;
SIGCHLD:	ignored;
SIGHUP:		inherited by Core Process; 
SIGUSR1:	ignored;
SIGUSR2:        if 'refresh_maps' configuration directive is enabled it causes the Ports and Networks
		maps to be reloaded;
SIGINT:		causes the process to exit gracefully;	

PGSQL plugin process:
SIGPIPE:	ignored;
SIGCHLD:        ignored; 
SIGHUP:         inherited by Core Process; 
SIGUSR1:	ignored;
SIGUSR2:        if 'refresh_maps' configuration directive is enabled it causes the Ports and Networks
                maps to be reloaded;
SIGINT:         causes the process to exit gracefully;

In-memory table process:
SIGPIPE:        ignored;
SIGCHLD:	ignored; 
SIGHUP:         inherited by Core Process; 
SIGUSR1:	ignored;
SIGUSR2:        if 'refresh_maps' configuration directive is enabled it causes the Ports and Networks
                maps to be reloaded;
SIGINT:         causes the process to exit gracefully;