Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
c759f564
Commit
c759f564
authored
Oct 10, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply similar changes as ChrisM applied to Zope/doc/SIGNALS.txt.
parent
092f2fa0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
20 deletions
+26
-20
doc/ZEO/SIGNALS.txt
doc/ZEO/SIGNALS.txt
+26
-20
No files found.
doc/ZEO/SIGNALS.txt
View file @
c759f564
Signals are a posix inter-process communications mechanism. If you
are using Windows then this documentation is not for you.
Signals (POSIX only)
The ZEO storage server process (started with ZEO/start.py) responds to
signals which are sent to the process id written to the file
.../var/ZEO_SERVER.pid.
Signals are a POSIX inter-process communications mechanism.
If you are using Windows then this documentation does not apply.
SIGHUP - Rotate the log files.
kill -SIGHUP `cat .../var/ZEO_SERVER.pid`
The ZEO storage server process (started with ZEO/start.py) responds to
signals which are sent to the process id written to the file
'ZOPE_HOME/var/ZEO_SERVER.pid'::
SIGHUP - Rotate log files.
kill -HUP `cat ZOPE_HOME/var/ZEO_SERVER.pid`
SIGTERM - Close open storages and sockets, then shut down.
kill -SIGTERM `cat .../var/ZEO_SERVER.pid`
kill -TERM `cat ZOPE_HOME/var/ZEO_SERVER.pid`
SIGINT - Close open storages and sockets, then restart.
kill -SIGINT `cat .../var/ZEO_SERVER.pid`
The pid file contains two pids: the pid of the parent process and the
pid of the child process, in that order. The child process is always
the actual storage server process. When using zdaemon (the default),
the parent is the zdaemon process. Otherwise (when the -s option is
used), the parent is the shell (script) that started the storage
server.
Note that zdaemon forwards signals to the child process.
(Specifically, it forwards all those signals listed above, plus
SIGQUIT and SIGUSR1.)
kill -INT `cat ZOPE_HOME/var/ZEO_SERVER.pid`
The pid file contains two pids: the pid of the parent process and
the pid of the child process, in that order. The child process is
always the actual storage server process. When using zdaemon (the
default), the parent is the zdaemon process. Otherwise (when the -s
option is used), the parent is the shell (script) that started the
storage server. (XXX The usefulness of writing both pids is
unclear.)
Note that zdaemon forwards signals to the child process.
Specifically, it forwards all those signals listed above, plus
SIGQUIT and SIGUSR1.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment