All Versions
56
Latest Version
Avg Release Cycle
132 days
Latest Release
885 days ago

Changelog History
Page 5

  • v3.0.a12 Changes

    December 06, 2011
    • ๐Ÿš€ Released to replace a broken 3.0a11 package where non-Python files were not included in the package.
  • v3.0.a11 Changes

    December 06, 2011
    • โž• Added a new file, PLUGINS.rst, with a listing of third-party plugins for Supervisor. Contributed by Jens Rantil.

    • The pid command in supervisorctl can now be used to retrieve the PIDs of child processes. See help pid. Patch by Gregory Wisniewski.

    • Added a new host_node_name expansion that will be expanded to the value returned by Python's platform.node (see http://docs.python.org/library/platform.html#platform.node). Patch by Joseph Kondel.

    • ๐Ÿ›  Fixed a bug in the web interface where pages over 64K would be truncated. Thanks to Drew Perttula and Timothy Jones for reporting this.

    • ๐Ÿ“‡ Renamed README.txt to README.rst so GitHub renders the file as ReStructuredText.

    • The XML-RPC server is now compatible with clients that do not send empty when there are no parameters for the method call. Thanks to Johannes Becker for reporting this.

    • ๐Ÿ›  Fixed supervisorctl --help output to show the correct program name.

    • ๐Ÿ”ง The behavior of the configuration options minfds and minprocs has changed. Previously, if a hard limit was less than minfds or minprocs, supervisord would unconditionally abort with an error. Now, supervisord will attempt to raise the hard limit. This may succeed if supervisord is run as root, otherwise the error is printed as before. Patch by Benoit Sigoure.

    • โž• Add a boolean program option killasgroup, defaulting to false, if true when resorting to send SIGKILL to stop/terminate the process send it to its whole process group instead to take care of possible children as well and not leave them behind. Patch by Samuele Pedroni.

    • ๐Ÿ”ง Environment variables may now be used in the configuration file for options that support string expansion. Patch by Aleksey Sivokon.

    • ๐Ÿ›  Fixed a race condition where supervisord might not act on a signal sent to it. Thanks to Adar Dembo for reporting the issue and supplying the initial patch.

    • Updated the output of echo_supervisord_conf to fix typos and improve comments. Thanks to Jens Rantil for noticing these.

    • ๐Ÿ›  Fixed a possible 500 Server Error from the web interface. This was observed when using Supervisor on a domain socket behind Nginx, where Supervisor would raise an exception because REMOTE_ADDR was not set. Patch by David Bennett.

  • v3.0.a10 Changes

    March 30, 2011
    • ๐Ÿ›  Fixed the stylesheet of the web interface so the footer line won't overlap a long process list. Thanks to Derek DeVries for the patch.

    • ๐Ÿ‘ Allow rpc interface plugins to register new events types.

    • ๐Ÿ› Bug fix for FCGI sockets not getting cleaned up when the reload command is issued from supervisorctl. Also, the default behavior has changed for FCGI sockets. They are now closed whenever the number of running processes in a group hits zero. Previously, the sockets were kept open unless a group-level stop command was issued.

    • ๐Ÿ‘ Better error message when HTTP server cannot reverse-resolve a hostname to an IP address. Previous behavior: show a socket error. Current behavior: spit out a suggestion to stdout.

    • Environment variables set via environment= value within [supervisord] section had no effect. Thanks to Wyatt Baldwin for a patch.

    • ๐Ÿ›  Fix bug where stopping process would cause process output that happened after the stop request was issued to be lost. See https://github.com/Supervisor/supervisor/issues/11.

    • ๐Ÿšš Moved 2.X change log entries into HISTORY.txt.

    • Converted CHANGES.txt and README.txt into proper ReStructuredText and included them in the long_description in setup.py.

    • โž• Added a tox.ini to the package (run via tox in the package dir). Tests supervisor on multiple Python versions.

  • v3.0.a1 Changes

    August 16, 2007
    • 0๏ธโƒฃ Default config file comment documented 10 secs as default for startsecs value in process config, in reality it was 1 sec. Thanks to Christoph Zwerschke.

    • ๐Ÿ‘‰ Make note of subprocess environment behavior in README.txt. Thanks to Christoph Zwerschke.

    • ๐Ÿ†• New "strip_ansi" config file option attempts to strip ANSI escape sequences from logs for smaller/more readable logs (submitted by Mike Naberezny).

    • The XML-RPC method supervisor.getVersion() has been renamed for clarity to supervisor.getAPIVersion(). The old name is aliased for compatibility but is deprecated and will be removed in a future version (Mike Naberezny).

    • ๐Ÿ‘Œ Improved web interface styling (Mike Naberezny, Derek DeVries)

    • The XML-RPC method supervisor.startProcess() now checks that the file exists and is executable (Mike Naberezny).

    • ๐Ÿ–จ Two environment variables, "SUPERVISOR_PROCESS_NAME" and "SUPERVISOR_PROCESS_GROUP" are set in the environment of child processes, representing the name of the process and group in supervisor's configuration.

    • ๐Ÿšš Process state map change: a process may now move directly from the STARTING state to the STOPPING state (as a result of a stop request).

    • Behavior change: if autorestart is true, even if a process exits with an "expected" exit code, it will still be restarted. In the immediately prior release of supervisor, this was true anyway, and no one complained, so we're going to consider that the "officially correct" behavior from now on.

    • ๐Ÿ”Š Supervisor now logs subprocess stdout and stderr independently. The old program config keys "logfile", "logfile_backups" and "logfile_maxbytes" are superseded by "stdout_logfile", "stdout_logfile_backups", and "stdout_logfile_maxbytes". Added keys include "stderr_logfile", "stderr_logfile_backups", and "stderr_logfile_maxbytes". An additional "redirect_stderr" key is used to cause program stderr output to be sent to its stdout channel. The keys "log_stderr" and "log_stdout" have been removed.

    • [program:x] config file sections now represent "homogeneous process groups" instead of single processes. A "numprocs" key in the section represents the number of processes that are in the group. A "process_name" key in the section allows composition of the each process' name within the homogeneous group.

    • A new kind of config file section, [group:x] now exists, allowing users to group heterogeneous processes together into a process group that can be controlled as a unit from a client.

    • Supervisord now emits "events" at certain points in its normal operation. These events include supervisor state change events, process state change events, and "process communication events".

    • A new kind of config file section [eventlistener:x] now exists. Each section represents an "event listener pool", which is a special kind of homogeneous process group. Each process in the pool is meant to receive supervisor "events" via its stdin and perform some notification (e.g. send a mail, log, make an http request, etc.)

    • Supervisord can now capture data between special tokens in subprocess stdout/stderr output and emit a "process communications event" as a result.

    • Supervisor's XML-RPC interface may be extended arbitrarily by programmers. Additional top-level namespace XML-RPC interfaces can be added using the [rpcinterface:foo] declaration in the configuration file.

    • ๐Ÿ†• New supervisor-namespace XML-RPC methods have been added: getAPIVersion (returns the XML-RPC API version, the older "getVersion" is now deprecated), "startProcessGroup" (starts all processes in a supervisor process group), "stopProcessGroup" (stops all processes in a supervisor process group), and "sendProcessStdin" (sends data to a process' stdin file descriptor).

    • supervisor-namespace XML-RPC methods which previously accepted ony a process name as "name" (startProcess, stopProcess, getProcessInfo, readProcessLog, tailProcessLog, and clearProcessLog) now accept a "name" which may contain both the process name and the process group name in the form groupname:procname. For backwards compatibility purposes, "simple" names will also be accepted but will be expanded internally (e.g. if "foo" is sent as a name, it will be expanded to "foo:foo", representing the foo process within the foo process group).

    • 2.X versions of supervisorctl will work against supervisor 3.0 servers in a degraded fashion, but 3.X versions of supervisorctl will not work at all against supervisor 2.X servers.

  • v2.2.b1 Changes

    March 31, 2007
    • ๐Ÿ”ง Individual program configuration sections can now specify an environment.

    • โž• Added a 'version' command to supervisorctl. This returns the version of the supervisor2 package which the remote supervisord process is using.

  • v2.1 Changes

    March 17, 2007
    • ๐Ÿ”ง When supervisord was invoked more than once, and its configuration was set up to use a UNIX domain socket as the HTTP server, the socket file would be erased in error. The symptom of this was that a subsequent invocation of supervisorctl could not find the socket file, so the process could not be controlled (it and all of its subprocesses would need to be killed by hand).

    • Close subprocess file descriptors properly when a subprocess exits or otherwise dies. This should result in fewer "too many open files to spawn foo" messages when supervisor is left up for long periods of time.

    • ๐Ÿšฆ When a process was not killable with a "normal" signal at shutdown time, too many "INFO: waiting for x to die" messages would be sent to the log until we ended up killing the process with a SIGKILL. Now a maximum of one every three seconds is sent up until SIGKILL time. Thanks to Ian Bicking.

    • โž• Add an assertion: we never want to try to marshal None to XML-RPC callers. Issue 223 in the collector from vgatto indicates that somehow a supervisor XML-RPC method is returning None (which should never happen), but I cannot identify how. Maybe the assertion will give us more clues if it happens again.

    • Supervisor would crash when run under Python 2.5 because the xmlrpclib.Transport class in Python 2.5 changed in a backward-incompatible way. Thanks to Eric Westra for the bug report and a fix.

    • โœ… Tests now pass under Python 2.5.

    • ๐Ÿ‘ Better supervisorctl reporting on stop requests that have a FAILED status.

    • โœ‚ Removed duplicated code (readLog/readMainLog), thanks to Mike Naberezny.

    • โž• Added tailProcessLog command to the XML-RPC API. It provides a more efficient way to tail logs than readProcessLog(). Use readProcessLog() to read chunks and tailProcessLog() to tail. (thanks to Mike Naberezny).

  • v2.1.b1 Changes

    August 30, 2006
    • "supervisord -h" and "supervisorctl -h" did not work (traceback instead of showing help view (thanks to Damjan from Macedonia for the bug report).

    • ๐Ÿ–จ Processes which started successfully after failing to start initially are no longer reported in BACKOFF state once they are started successfully (thanks to Damjan from Macedonia for the bug report).

    • โž• Add new 'maintail' command to supervisorctl shell, which allows you to tail the 'main' supervisor log. This uses a new readMainLog xmlrpc API.

    • Various process-state-transition related changes, all internal. README.txt updated with new state transition map.

    • startProcess and startAllProcesses xmlrpc APIs changed: instead of accepting a timeout integer, these accept a wait boolean (timeout is implied by process' "startsecs" configuration). If wait is False, do not wait for startsecs.

    Known issues:

    • Code does not match state transition map. Processes which are configured as autorestarting which start "successfully" but subsequently die after 'startsecs' go through the transitions RUNNING -> BACKOFF -> STARTING instead of the correct transitions RUNNING -> EXITED -> STARTING. This has no real negative effect, but should be fixed for correctness.
  • v2.0 Changes

    August 30, 2006
    • pidfile written in daemon mode had incorrect pid.

    • supervisorctl: tail (non -f) did not pass through proper error messages when supplied by the server.

    • ๐Ÿšฆ Log signal name used to kill processes at debug level.

    • supervisorctl "tail -f" didn't work with supervisorctl sections configured with an absolute unix:// URL

    • ๐Ÿ†• New "environment" config file option allows you to add environment variable values to supervisord environment from config file.

  • v2.0.b1 Changes

    July 12, 2006
    • Fundamental rewrite based on 1.0.7, use distutils (only) for installation, use ConfigParser rather than ZConfig, use HTTP for wire protocol, web interface, less lies in supervisorctl.
  • v1.0.7 Changes

    July 11, 2006
    • ๐ŸŒฒ Don't log a waitpid error if the error value is "no children".

    • ๐Ÿ‘‰ Use select() against child file descriptor pipes and bump up select timeout appropriately.