Localization - extract-message-catalog hangs

I am trying to use the extract-message-catalog tool to update the
translation,
I could not find a copy of the script under the installation directory
so I copied it from the sbin directory
under my source tree (RT 3.0.3).

I am running the tool from the top directory of the RT installation
(/opt/rt3/) and it always hangs in the same place:

Looking at ./lib/RT/Transaction_Overlay.pm
Looking at ./lib/RT/Transactions.pm
Looking at ./lib/RT/Transactions_Overlay.pm
Looking at ./lib/RT/URI.pm
Looking at ./lib/RT/User.pm
Looking at ./lib/RT/User_Overlay.pm
Looking at ./lib/RT/Users.pm
Looking at ./lib/RT/Users_Overlay.pm
Looking at ./lib/RT/FM.pm
Looking at ./lib/RT/DocToHtml.pm
Looking at ./lib/RT/2q
Looking at ./lib/RT/Create

** At this stage the script hangs ** after a while the CPU goes to 100%
and the memory (all of my 263MB…) get eaten up until kswapd starts
doing its thing and unless I brutally kill the process this will bring
the box to its knees (P III 800Mhz box).
I tries to use strace and all I could see were repeated calls to mmap

Has anyone seen this behavior ? any suggestions?

Regards
Ron.

I’ve never used the script that way. What I do is untar a fresh distribution, run “make regenerate-catalogs” and then use the newly generated file in my already installed tree. It never crashed.

Hope this helps.

Blaise

-----Message d’origine-----De : Ron Gidron [mailto:rong@israsrv.net.il]
Envoyé : dimanche 20 juillet 2003 19:48
À : rt-devel@lists.fsck.com
Objet : [rt-devel] localization - extract-message-catalog hangs

I am trying to use the extract-message-catalog tool to update the
translation,
I could not find a copy of the script under the installation directory
so I copied it from the sbin directory
under my source tree (RT 3.0.3).

I am running the tool from the top directory of the RT installation
(/opt/rt3/) and it always hangs in the same place:

Looking at ./lib/RT/Transaction_Overlay.pm
Looking at ./lib/RT/Transactions.pm
Looking at ./lib/RT/Transactions_Overlay.pm
Looking at ./lib/RT/URI.pm
Looking at ./lib/RT/User.pm
Looking at ./lib/RT/User_Overlay.pm
Looking at ./lib/RT/Users.pm
Looking at ./lib/RT/Users_Overlay.pm
Looking at ./lib/RT/FM.pm
Looking at ./lib/RT/DocToHtml.pm
Looking at ./lib/RT/2q
Looking at ./lib/RT/Create

** At this stage the script hangs ** after a while the CPU goes to 100%
and the memory (all of my 263MB…) get eaten up until kswapd starts
doing its thing and unless I brutally kill the process this will bring
the box to its knees (P III 800Mhz box).
I tries to use strace and all I could see were repeated calls to mmap

Has anyone seen this behavior ? any suggestions?

Regards
Ron.

rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel