Le 17/04/2012 14:30, Barry Haddow a écrit :
> Hi Marwen
>
> A signal of class 1 is a SIGHUP (you can get a list of signals by running
> 'kill -l'). You normally get this type of signal when you close the terminal
> from which the server was launched. Try launching it with nohup,
>
> cheers - Barry
Hi Barry,

Thanks for your quick answer.

I do use nohup. here is my command :

nohup nice /home/marwen/SMT-Engine/Tools/Moses-Decoder/bin/mosesserver 
-f moses.ini --server-port 8001 &> moses.log

Marwen
> On Tuesday 17 April 2012 13:23:06 Marwen AZOUZI wrote:
>> Hi all,
>>
>> When i run moses server, it works properly except sometimes breaks with
>> the message "Signal of Class 1 received. Exiting"?
>>
>> PS: I'm using the latest release from GitHub.
>>
>> Thank you in advance,
>>
>> Marwen
>>
>> *************************************
>> *                         moses.ini                             *
>> *************************************
>> # input factors
>> [input-factors]
>> 0
>>
>> # mapping steps
>> [mapping]
>> 0 T 0
>>
>> # translation tables: table type (hierarchical(0), textual (0), binary
>> (1)), source-factors, target-factors, number of scores, file
>> # OLD FORMAT is still handled for back-compatibility
>> # OLD FORMAT translation tables: source-factors, target-factors, number
>> of scores, file
>> # OLD FORMAT a binary table type (1) is assumed
>> [ttable-file]
>> 1 0 0 5 ./phrase-table
>>
>> # no generation models, no generation-file section
>>
>> # language models: type(srilm/irstlm), factors, order, file
>> [lmodel-file]
>> 8 0 5 ./INTERPOLATED.lm
>>
>>
>> # limit on how many phrase translations e for each phrase f are loaded
>> # 0 = all elements loaded
>> [ttable-limit]
>> 20
>>
>> # distortion (reordering) files
>> [distortion-file]
>> 0-0 wbe-msd-bidirectional-fe-allff 6
>> ./reordering-table.wbe-msd-bidirectional-fe
>>
>> # distortion (reordering) weight
>> [weight-d]
>> -0.000544818
>> 0.0737506
>> 0.0582511
>> 0.0829904
>> 0.075161
>> -0.00626446
>> 0.191826
>>
>> # language model weights
>> [weight-l]
>> 0.111302
>>
>>
>> # translation model weights
>> [weight-t]
>> 0.172213
>> -0.0124603
>> 0.0638036
>> 0.00174254
>> 0.052587
>>
>> # no generation models, no weight-generation section
>>
>> # word penalty
>> [weight-w]
>> -0.0971035
>>
>> [distortion-limit]
>> 6
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>
> --
> Barry Haddow
> University of Edinburgh
> +44 (0) 131 651 3173
>

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to