On Fri, Apr 16, 2010 at 07:44:44PM +0200, ольга крыжановская wrote:
> Really locale -a? This is the most expensive operation /usr/bin/locale

Yes.  We couldn't find any better way to get the list of available
locales.  There's actually a bug in sshd where it invokes locale -a
either twice or four times (I forget) instead of just one
per-connection.  Perhaps only the master listener should execute locale
-a; but then if you were to install locales you'd have to restart the
ssh service.

> can ever do and takes 30 or more seconds on older machines (49 seconds
> on an Ultra5).

It can also be painful on machines that are near the point of thrashing
or beyond.  I never noticed this on older machines though.

Nico
-- 
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to