Hi! First of all sorry about my english.

I have somes problems with the ScaleMTSlave.

** -> 1 problem

When I run ScaleMTSlave:

        me@me-vb:~/Escritorio/ScaleMTSlave-1.0$ sudo ./run-scaleMT.sh
localhost
        28/09/2011 08:15:39 - INFO - Main -Started RMI Registry on port 1099

        28/09/2011 08:15:39 - INFO - Main -Server information. Cpu capacity:
10000 Max capacity per daemon: 10000 Memory capacity: 288 
        28/09/2011 08:15:39 - INFO - Main -Remote object ScaleMTSlave bound
OK. Name: ScaleMTSlave. Port: 1331 
        28/09/2011 08:15:39 - INFO - Main -Server ready: registered with
request router 
        28/09/2011 08:17:42 - ERROR - Daemon$StatusReader -Daemon 0 frozen 
        org.scalemt.rmi.exceptions.DaemonDeadException
                at
org.scalemt.daemon.Daemon$EngineReader.run(Daemon.java:320)
                at java.lang.Thread.run(Thread.java:636)
        28/09/2011 08:17:42 - ERROR - Daemon -Unexpected exception while
translating 
        org.scalemt.rmi.exceptions.DaemonDeadException
                at
org.scalemt.daemon.Daemon$EngineReader.run(Daemon.java:320)
                at java.lang.Thread.run(Thread.java:636)

The error happens when i make a request like this one:
http://localhost:8080/ScaleMTRouter/json/translate?q=hello&langpair=en|es

** -> 2 problem

When i was installing the ScaleMTSlave I received a message with an error
like “can’t find apertium-module” I think it’s in the
InstallApertiumAndPairs.sh file on this line “cp apertium-module/*
$REAL_PREFIX/bin” What’s apertium-modules? And what it does? I don’t find
anything about that on the documentation.

** -> 3 problem

When I start the Slave it ask about "max_memory_per_daemon" and then die

WARN - Daemon -Exception reading max_memory_per_daemon 
java.lang.NumberFormatException: null
        at java.lang.Long.parseLong(Long.java:404)
        at java.lang.Long.parseLong(Long.java:483)
        at org.scalemt.daemon.Daemon.<init>(Daemon.java:691)
        at
org.scalemt.daemon.DaemonFactory.newDaemon(DaemonFactory.java:554)
        at
org.scalemt.main.TranslationEnginePool.startDaemon(TranslationEnginePool.jav
a:719)
        at
org.scalemt.main.TranslationEnginePool.computeServerCpuCapacity(TranslationE
nginePool.java:458)
        at
org.scalemt.main.TranslationEnginePool.guessServerInformation(TranslationEng
inePool.java:383)
        at org.scalemt.main.Main.startSlave(Main.java:387)
        at org.scalemt.main.Main.main(Main.java:309)

So to solve it, I add to the configuration.properties the variable
"max_memory_per_daemon = 256" with the value 256, but I'm not sure if that’s
the correct way

Thanks in advance!


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to