RspServer(1)
๐ RspServer(1) โ General Commands Manual โจ
okay bestie, gather round, because this one is a whole menu of services and I need you to stay with me ๐ซถ
๐ธ NAME ๐ธ
rspserver โ the RSerPool Server (PE) for multiple example services. yes that's Pool Element energy, and yes she contains multitudes ๐
๐ SYNOPSIS ๐
so first up, the general "run it as a pool element" form:
rspserver [-local=address:port,address,...] [-asapannounce=address:port]
[-identifier=PE_identifier] [-policy=policy_specification]
[-poolhandle=pool_handle] [-quiet] [-registrar=address:port]
[-rereginterval=milliseconds] [-runtime=milliseconds]
[-uptime=seconds] [-downtime=seconds] [-logcolor=on|off]
[-logappend=filename] [-logfile=filename] [-loglevel=0-9]
[-cspserver=address:port] [-cspinterval=milliseconds]
then the CalcApp era:
rspserver [-calcapp] [-capcapacity=calculations_per_second]
[-capcleanshutdownprobability=probability]
[-capcookiemaxcalculations=calculations]
[-capcookiemaxtime=seconds]
[-capkeepalivetransmissioninterval=milliseconds]
[-capkeepalivetimeoutinterval=milliseconds]
[-capmaxjobs=max_jobs] [-capobject=name]
[-capscalar=scalar_file] [-capvector=vector_file]
CharGen mode, obviously:
rspserver [-chargen] [-chargenmaxthreads=threads]
the lil one-liners:
rspserver [-daytime]
rspserver [-discard]
rspserver [-echo]
Fractal (she's giving chaos with failover):
rspserver [-fractal] [-fgpcookiemaxpackets=messages]
[-fgpcookiemaxtime=milliseconds] [-fgpfailureafter=messages]
[-fgpmaxthreads=threads] [-fgptestmode]
[-fgptransmittimeout=milliseconds]
PingPong, the classic:
rspserver [-pingpong] [-pppfailureafter=messages]
[-pppmaxthreads=threads]
and finally Scripting, aka the powerful one, handle with care:
rspserver [-scripting] [-sskeyring=keyring] [-sstrustdb=trust_db]
[-sscachedirectory=directory] [-sscachemaxentries=entries]
[-sscachemaxsize=kibibytes] [-sskeepaliveinterval=milliseconds]
[-sskeepalivetimeout=milliseconds] [-sskeeptempdirs]
[-ssmaxthreads=threads] [-sstransmittimeout=milliseconds]
๐ DESCRIPTION ๐
okay so rspserver is an example Reliable Server Pooling (RSerPool) pool element (PE) that provides multiple services. here's the tea: on startup you have to pick exactly one service using the command-line parameters. you want more than one running? run multiple instances, bestie. it's giving "buy one get one" except you just start another process ๐
rspserver provides the following services:
- CalcApp โ a calculation application model for performance tests. if you want the receipts (aka more information), the doc lives at
https://duepublico.uni-duisburg-essen.de/servlets/DerivateServlet/Derivate-16326/Dre2006_final.pdf. - CharGen โ sending as much character data as possible. just. so many characters. an absolute flood ๐
- Daytime โ sending back the current time of day. she's clocking in โฐ
- Discard โ discarding incoming data. no thoughts, head empty, data gone ๐
- Echo โ echoing back incoming data. whatever you say, she says back. mirror behavior fr fr ๐ช
- Fractal โ a fractal generator with cookie-based failover ๐ชโจ
- PingPong โ a simple request-response example using cookies for failover.
- Scripting โ remote execution of scripts, with upload/download of input/output data. could for example be used for distributing simulation runs. Take care of security when using this service! ๐จ like, genuinely, do not skip that part, it's not a vibe, it's a warning โ ๏ธ
to be continuedโฆ ๐ฆ (part 2 incoming, don't go anywhere)
โจ ARGUMENTS โจ
okay bestie, here come the options โ all of them, no skips, we're eating the whole plate ๐
๐ธ Common Pool Element Parameters
-local=address:port,address,...โ sets the local endpoint address(es). yes plural, you can do a whole little list of them ๐-asapannounce=address:port|auto|offโ sets the multicast address and port that the ASAP instance listens on for ASAP Server Announces ๐-identifier=PE_identifierโ sets a fixed PE identifier. handle with care!! ๐จ-policy=policy_specificationโ sets the pool policy plus its parameters (default is Round Robin). the supported policy specs are:RoundRobin(default policy)WeightedRoundRobin:weightRandomWeightedRandom:weightLeastUsedLeastUsedDegradation:incrementPriorityLeastUsed:incrementLeastUsedDPF:dpf_valuePriority:priority...
-poolhandle=pool_handleโ sets the PH to a non-default value; otherwise you get the default setting, which is the service-specific default ๐-quietโ do not print startup and shutdown messages. shhh. silence is golden fr fr ๐คซ-rereginterval=millisecondsโ sets the PE's re-registration interval โฐ-runtime=secondsโ after the configured number of seconds, the service is shut down. floating-point values (e.g.30.125) are possible โ yes, decimals, we love precision โจ-uptime=secondsโ after negative exponential randomized uptime, the PE service goes down for a configured downtime. after that, it comes up again. this one's for testing the failure handling procedures ๐งช-downtime=secondsโ after negative exponential randomized downtime, the PE service comes up again. also for testing the failure handling procedures ๐งช
๐ Logging Parameters
-logappend=filenameโ write logging output to a file (default is stdout); output will be appended to the given file ๐-logcolor=on|offโ turns ANSI colorization of the logging output on or off ๐-logfile=filenameโ write logging output to a file (default is stdout); the given file will be overwritten โ ๏ธ (yes, overwritten, not appended, be careful bestie)-loglevel=0-9โ sets the logging verbosity from0(none) to9(very verbose). it is recommended to use at least a value of2to see possibly important error messages and warnings ๐
๐ฆ ASAP Protocol Parameters
-registrar=address:portโ adds a static PR entry into the Registrar Table. it is possible to add multiple entries ๐-registrarannouncetimeout=millisecondsโ sets the timeout for ASAP announces via multicast ๐ก-registrarconnecttimeout=millisecondsโ sets the timeout for ASAP connection establishment ๐ค-registrarconnectmaxtrials=trialsโ sets the maximum number of ASAP connection establishment trials ๐-registrarrequesttimeout=millisecondsโ sets the timeout for ASAP requests โณ-registrarresponsetimeout=millisecondsโ sets the timeout for waiting to receive ASAP responses ๐ฌ-registrarrequestmaxtrials=trialsโ sets the maximum number of ASAP request trials ๐
๐ Component Status Protocol (CSP) Parameters
-cspinterval=millisecondsโ sets the interval for the CSP status updates in milliseconds. by default, the content of the environment variableCSP_INTERVALis used. if not defined, no CSP status reports will be sent ๐-cspserver=address:portโ sets the address of a CSP monitor server. by default, the content of the environment variableCSP_SERVERis used. if not defined, no CSP status reports will be sent ๐
๐ฅ Service Parameters
-calcappโ starts the CalcApp service ๐งฎ-capcapacity=calculations_per_secondโ sets the service capacity in calculations per second โก-capcleanshutdownprobability=probabilityโ sets the probability for sending state cookies to all sessions before shutting down ๐ช-capcookiemaxcalculations=calculationsโ sets the cookie interval in calculations ๐ช-capcookiemaxtime=secondsโ sets the cookie interval in seconds ๐ช-capkeepalivetransmissioninterval=millisecondsโ sets the keep-alive transmission interval in milliseconds ๐-capkeepalivetimeoutinterval=millisecondsโ sets the keep-alive timeout in milliseconds ๐-capmaxjobs=max_jobsโ sets an upper limit for the number of simultaneous CalcApp requests ๐ง-capobject=nameโ sets the object name for scalar hierarchy ๐ท๏ธ-capscalar=scalar_fileโ sets the name of vector scalar file to write โ๏ธ-capvector=vector_fileโ sets the name of vector output file to write โ๏ธ
-chargenโ starts the CharGen service ๐ค-chargenmaxthreads=threadsโ sets an upper limit for the number of simultaneous CharGen sessions ๐ง
-daytimeโ starts the Daytime service โ๏ธ-discardโ starts the Discard service ๐๏ธ-echoโ starts the Echo service ๐ฃ-fractalโ starts the Fractal Generator service ๐-fgpcookiemaxpackets=messagesโ send cookie after the given number of Data messages ๐ช-fgpcookiemaxtime=millisecondsโ send cookie after the given number of milliseconds ๐ช-fgpfailureafter=messagesโ after the set number of data packets, the server will terminate the connection in order to test failovers ๐-fgpmaxthreads=threadsโ sets an upper limit for the number of simultaneous Fractal Generator sessions ๐ง-fgptestmodeโ generate a simple test pattern instead of calculating a fractal graphics (useful to conserve CPU power when debugging) ๐-fgptransmittimeout=millisecondsโ sets transmit timeout in milliseconds โณ
-pingpongโ starts the PingPong service ๐-pppfailureafter=messagesโ after the set number of messages, the server will terminate the connection in order to test failovers ๐-pppmaxthreads=threadsโ sets an upper limit for the number of simultaneous PingPong sessions ๐ง
-scriptingโ starts the Scripting service ๐-sskeyring=keyringโ the location of a GnuPG keyring to check the work packages and environments against. if a keyring is specified, only files that pass the validation are accepted ๐-sscachedirectory=directoryโ sets the environment cache directory ๐-sscachemaxentries=entriesโ sets the maximum number of environment cache entries ๐ข-sscachemaxsize=kibibytesโ sets the maximum size of the environment cache in kibibytes ๐ฆ-sskeepaliveinterval=millisecondsโ sets the keep-alive interval in milliseconds ๐-sskeepalivetimeout=millisecondsโ sets the keep-alive timeout in milliseconds ๐-sskeeptempdirsโ turns on keeping all temporary files for debugging. handle with care!! ๐จ-ssmaxthreads=threadsโ sets an upper limit for the number of simultaneous sessions ๐ง-sstransmittimeout=millisecondsโ sets the transmission timeout in milliseconds โณ
๐ ENVIRONMENT
rspserver uses the environment variables CSP_SERVER and CSP_INTERVAL to define a CSP server to send reports to, in the specified interval. so basically: env vars in, status reports out ๐
โญ DIAGNOSTICS
if loglevel>0, log messages will be printed to stdout or into a specified log file. turn it up and watch the tea spill ๐ซ
๐ SEE ALSO
for a detailed introduction to RSerPool, see:
https://duepublico.uni-duisburg-essen.de/servlets/DerivateServlet/Derivate-16326/Dre2006_final.pdf
Thomas Dreibholz's RSerPool Page:
https://www.nntb.no/~dreibh/rserpool/
okay bestie that's the whole page, you made it, icon behavior honestly ๐๐ this one's from RSerPool Server, edition September 19, 2025, and it lives in section RspServer(1) โ go forth and configure something iconic, no cap ๐ฆโจ
๐ฆ where this page comes from
- ubuntu stonking: rsplib-tools 3.5.8-1 ยท GPL-3.0-or-later
- Copyright (C) 2002-2026 by Thomas Dreibholz
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms