Scroll to navigation

PPSERVER(1) User Commands PPSERVER(1)

NAME

ppserver - manual page for Parallel Python Network Server

SYNOPSIS

ppserver [-hda] [-i interface] [-b broadcast] [-p port] [-w nworkers] [-s secret] [-t seconds]

DESCRIPTION

Parallel Python Network Server

OPTIONS

this help message
debug
enable auto-discovery service
restart worker process after each task completion
protocol number for pickle module
path to config file
interface to listen
broadcast address for auto-discovery service
port to listen
number of workers to start
secret for authentication
timeout to exit if no connections with clients exist
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.
file to write PID to

Please visit http://www.parallelpython.com for extended up-to-date documentation, examples and support forums

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 pp_secret variable in the configuration file .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).

AUTHOR

This manual page was written by Sandro Tosi <matrixhasu@gmail.com>, and Vitalii Vanovschi support@parallelpython.com

February 2010 Parallel Python Network Server