...
On porter2 the processes are running under the "maclean" login, and only that user has permission to restart the services. As a work-around, restart_statsproc writes a string to the file $ISFF/projects/$PROJECT/ISFF/logs/statsproc_cmd.txt. The proc_restarter service wakes up every 10 seconds, checks that file, and if it contains the string "statsproc", does a systemctl --user restart on the four statsproc services.
Reprocess statistics
To reprocess recalculate the statistics for the whole project, run this command on an EOL server (porter2, barolo, tikal), after setting your project to CABL:
statsproc -S qc_geo_notiltcor -B "2015 feb 18 00:00" -E "2015 jun 1 00:00"
If you want to reprocess recalculate the noqc_instrument dataset, set the -S option accordingly.
The The value of the NC_SERVER environment variable should be "porter2" so that the data is sent to nc_server on porter2.
On porter2EOL systems, the default value of the DATADIR environment variable should be "merge", in which case statsproc will process all files on /scr/isfs/projects/CABL/merge. If you want to process a different set of files, for example the 50m files:
...