Well, I found the likely cause looking though the code: it's the code that
calculates the diff with the previous translation. It's calculating the
diff between two texts 27,000 "words" each and apparently isn't happy about
it.

The algorithm used is Algorithm::Diff::XS::compact_diff, which seems a
reasonable choice.

One thing that could be done is disabling the diff for such large texts,
but it would seem to be most useful on such texts...

Martijn

On 6 January 2018 at 22:13, Martijn van Oosterhout <klep...@gmail.com>
wrote:

> Interesting.
>
> When running that request the system runs out of memory, something gets
> SIGKILLed and then everything goes back to normal.
>
> Sometimes it kills the database.
>
> It's a long translation (70K) but that shouldn't be a problem. I wonder if
> it's some kind of regex bug?
>
> Not sure how to go about debugging this...
>
> Martijn
>
> On 5 January 2018 at 23:33, jean-pierre giraud <jean-pierregir...@neuf.fr>
> wrote:
>
>> Hi,
>> I forward a couple of messages send to Debian-l10n-devel about a problem
>> in ddtss, in case someone in this list can help.
>>
>>     Beatrice Torracca beatricet at libero.it
>>     Fri Jan 5 15:58:20 UTC 2018
>>     hi.
>>     sorry writing from phone.
>>     could it be that the translation was very recently changed and thus
>>     the version in the system has some clashes?
>>     have you tried force-fetching the translation again?
>>     surely it works in Italian and it is just as long.
>>     beatrice
>>
>>  I have tried force-fetching the translation, but it fails as well.
>>
>>     JP Guillonneau guillonneau.jeanpaul at free.fr
>>     Fri Jan 5 09:03:23 UTC 2018
>>     Hi,
>>     when I want te reach the french translation of the package :
>>     https://ddtp2.debian.net/ddtss/index.cgi/fr/forreview/texlive-latex-
>>     extra?1514890818
>>     I get :
>>
>>    "Internal Server Error
>>     The server encountered an internal error or misconfiguration and was
>>     unable to complete your request.
>>     /..../
>>     Additionally, a 404 Not Found error was encountered while trying to
>>     use an ErrorDocument to handle the request."
>>
>>     Perhaps the text to translate is too big.
>>
>> Regards
>>
>> Jean-Pierre Giraud
>>
>>
>>
>>
>
>
> --
> Martijn van Oosterhout <klep...@gmail.com> http://svana.org/kleptog/
>



-- 
Martijn van Oosterhout <klep...@gmail.com> http://svana.org/kleptog/

Reply via email to