This article describes how to fix the 'Failed - Prepare Moses Inputs (8%)' on the training server.
On the Training Server, the following error can occur after launching a training:
In the Translation Resources logs directory /opt/systran/training-scheduler/workspace/... , check the log-tr-<tr_id>-err.txt then check if you're facing to this issue
2018-Feb-15 10:28:07.154757 UTC [rabbitmq.checkForError] ERROR socket open: (unknown error)
This issue means there is a lot of opened TCP connections
The solution consists of recycling TCP connections by adding the following lines in the /etc/sysctl.conf file:
net.netfilter.nf_conntrack_tcp_timeout_fin_wait=60 net.netfilter.nf_conntrack_tcp_timeout_time_wait=60 net.ipv4.tcp_tw_reuse=1 net.ipv4.tcp_tw_recycle=0
Then load the configuration using following command:
Now relaunch the training. The training should now finish correctly.