<commit_before>#!/bin/sh

export USER=logplex
export DIR=/opt/logplex
export SERVER_UID=`id -u $USER`
export SERVER_GID=`id -g $USER`
export HOME=/root

ulimit -n 65535
cd $DIR
erl +K true +A100 +P500000 -kernel inet_dist_listen_min 9100 -kernel inet_dist_listen_max 9200 -env ERL_FULLSWEEP_AFTER 0 -env ERL_MAX_PORTS 65535 -name logplex@`hostname --fqdn` -pa ebin -pa deps/*/ebin -noshell -boot release/logplex-1.0 | logger -p local5.info -t $USER<commit_msg>Disabling smp as logplex seems to run faster without it<commit_after>#!/bin/sh

export USER=logplex
export DIR=/opt/logplex
export SERVER_UID=`id -u $USER`
export SERVER_GID=`id -g $USER`
export HOME=/root

ulimit -n 65535
cd $DIR
erl -smp disable +K true +A100 +P500000 -kernel inet_dist_listen_min 9100 -kernel inet_dist_listen_max 9200 -env ERL_FULLSWEEP_AFTER 0 -env ERL_MAX_PORTS 65535 -name logplex@`hostname --fqdn` -pa ebin -pa deps/*/ebin -noshell -boot release/logplex-1.0 | logger -p local5.info -t $USER
{'fraction_non_alphanumeric': 0.10974358974358975, 'fraction_numerical': 0.06358974358974359, 'mean_word_length': 4.577142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4282704', 'n_tokens_mistral': 439, 'n_tokens_neox': 382, 'n_words': 114}