File: ppserver.1

package info (click to toggle)
parallelpython 1.6.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 340 kB
  • ctags: 291
  • sloc: python: 1,485; makefile: 13
file content (69 lines) | stat: -rw-r--r-- 2,129 bytes parent folder | download | duplicates (3)
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
66
67
68
69
.\" It was generated by help2man 1.36.
.TH PPSERVER "1" "February 2010" "Parallel Python Network Server" "User Commands"
.SH NAME
ppserver \- manual page for Parallel Python Network Server
.SH SYNOPSIS
.B ppserver
[\fI-hda\fR] [\fI-i interface\fR] [\fI-b broadcast\fR] [\fI-p port\fR] [\fI-w nworkers\fR] [\fI-s secret\fR] [\fI-t seconds\fR]
.SH DESCRIPTION
Parallel Python Network Server
.SH OPTIONS
.TP
\fB\-h\fR
this help message
.TP
\fB\-d\fR
debug
.TP
\fB\-a\fR
enable auto\-discovery service
.TP
\fB\-r\fR
restart worker process after each task completion
.TP
\fB\-n\fR <proto>
protocol number for pickle module
.TP
\fB\-c\fR <path>
path to config file
.TP
\fB\-i\fR <interface>
interface to listen
.TP
\fB\-b\fR <broadcast>
broadcast address for auto\-discovery service
.TP
\fB\-p\fR <port>
port to listen
.TP
\fB\-w\fR <nworkers>
number of workers to start
.TP
\fB\-s\fR <secret>
secret for authentication
.TP
\fB\-t\fR <seconds>
timeout to exit if no connections with clients exist
.TP
\fB\-k\fR <seconds>
socket timeout in seconds which is also the maximum
time a remote job could be executed. Increase this value
if you have long running jobs or decrease if connectivity
to remote ppservers is often lost.
.TP
\fB\-P\fR pid_file
file to write PID to
.PP
Please visit http://www.parallelpython.com for extended up\-to\-date
documentation, examples and support forums
.br
.SH SECURITY
Due to the security concerns it is highly recommended to run ppserver.py with an non-trivial secret key (\-s command line argument) which should be paired with the matching secret keyword of PP Server class constructor. An alternative way to set a secret key is by assigning
.B pp_secret 
variable in the configuration file 
.B .pythonrc.py 
which should be located in the user home directory (please make this file readable and writable only by user). 
The secret key set in .pythonrc.py could be overridden by command line argument (for ppserver.py) and secret keyword (for PP Server class constructor).
.SH AUTHOR
This manual page was written by Sandro Tosi <matrixhasu@gmail.com>, 
and Vitalii Vanovschi support@parallelpython.com