forked from Supervisor/supervisor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO.txt
67 lines (40 loc) · 2.16 KB
/
TODO.txt
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
- Supervisorctl tab completion and history.
- Supervisorctl "debug" command (communicate with a process over its stdin).
- Allow effective user to switch to a particular group instead of
defaulting to the user's primary group:
http://www.plope.com/software/collector/233.
- Allow sockchown group only: http://www.plope.com/software/collector/214
- Implement event max_retry counter that means "after X retries of a
rejected event, go into FATAL state".
- FATAL state for supervisor.
- When we try to clear the main log file and we get an IOError or an
OSError (clearLog)
- When we attempt to remove a process log file via os.remove (or
equivalent all into handlers) and we get an IOError or an OSError
(clearProcessLog)
- When we try to kill a process and the os.kill command raises an
exception (stopProcess)
- If eventlisteners repeatedly reject (or crash on) an event, causing
the event to be rebuffered above a reasonable threshold.
- General speed improvement wrangling:
- Play around with creating a select trigger file descriptor for
each event pool. Maybe when an event is accepted by the pool,
write to the file descriptor. This will cause select to time out
and fall through. In an asyncore dispatcher represented by the
file descriptor, attempt to dispatch the event.
- Revisit test_startProcessGroup and test_startAllProcesses (see XXX
comment about ordering).
- Address outstanding collector issues.
- We *might* be able to delay shutdown until all buffered events have
been processed (or a timeout has been reached).
- Web interface:
- Unit tests for meld classes and ui server.
- Meta-refresh on tail page.
- Organize processes by group and allow groups to be started/stopped.
- Support operations against both stderr and stdout logs.
- Allow a supervisorctl-like command line through the web interface.
- Display more information about Supervisor (identification, pid, etc.)
- Expat error on Jens' system running slapd as root after reload.
- Unit tests for log rotation.
- Command-line arg tests.
- Provide a way to get the supervisord pid from supervisorctl/web interface.