1PPSERVER(1) User Commands PPSERVER(1)
2
3
4
6 ppserver - manual page for Parallel Python Network Server
7
9 ppserver [-hda] [-i interface] [-b broadcast] [-p port] [-w nworkers]
10 [-s secret] [-t seconds]
11
13 Parallel Python Network Server
14
16 -h this help message
17
18 -d debug
19
20 -a enable auto-discovery service
21
22 -r restart worker process after each task completion
23
24 -n <proto>
25 protocol number for pickle module
26
27 -c <path>
28 path to config file
29
30 -i <interface>
31 interface to listen
32
33 -b <broadcast>
34 broadcast address for auto-discovery service
35
36 -p <port>
37 port to listen
38
39 -w <nworkers>
40 number of workers to start
41
42 -s <secret>
43 secret for authentication
44
45 -t <seconds>
46 timeout to exit if no connections with clients exist
47
48 -k <seconds>
49 socket timeout in seconds which is also the maximum time a re‐
50 mote job could be executed. Increase this value if you have long
51 running jobs or decrease if connectivity to remote ppservers is
52 often lost.
53
54 -P pid_file
55 file to write PID to
56
57 Please visit http://www.parallelpython.com for extended up-to-date doc‐
58 umentation, examples and support forums
59
61 Due to the security concerns it is highly recommended to run
62 ppserver.py with an non-trivial secret key (-s command line argument)
63 which should be paired with the matching secret keyword of PP Server
64 class constructor. An alternative way to set a secret key is by assign‐
65 ing pp_secret variable in the configuration file .pythonrc.py which
66 should be located in the user home directory (please make this file
67 readable and writable only by user). The secret key set in
68 .pythonrc.py could be overridden by command line argument (for
69 ppserver.py) and secret keyword (for PP Server class constructor).
70
72 This manual page was written by Sandro Tosi <matrixhasu@gmail.com>, and
73 Vitalii Vanovschi support@parallelpython.com
74
75
76
77Parallel Python Network Server February 2010 PPSERVER(1)