[ltp] programs take much too long to start

André Wyrwa linux-thinkpad@linux-thinkpad.org
Tue, 14 Dec 2004 17:47:44 +0100


--=-4U4QdJFUrBUf/7i7QAIF
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

> What about /var/log/messages ?  Any hints there?  To me it sounds like
> a network related problem as suggested by morpheus, or an umounted
> file system that is in your PATH.

I think, that's unlikely.
First, he doesn't have the problem when using vi on terminal, hence it
whould have something to do with X. If it would be a PATH problem it
should affect terminal mode as well.
Second, i can add foolish things that don't exist at all to my PATH and
it wouldn't slow down my machine at all.

Tinos suggestion makes more sense to me and is reproducable on my
system. Exporting SESSION_MANAGER=3D"foo:1" (which doesn't exist) and then
starting gvim takes a while (evon though not 20secs, maybe 5). Also it
generates an error message in the terminal:

_IceTransSocketINETConnect() can't get address for foo:1: Name or
service not known

Moritz, try a "watch ps -C gvim" in an XTerm. Launch another XTerm and
from there try launching gvim. (Replace gvim in both cases by whatever
application, if you don't have it.) Watch if gvim shows up in the first
Terminal right the moment you start gvim from the second, or the moment
when the window appears.

If it shows up right away, it's an indication that it has trouble
communicating with the X server. If it shows when the window appears,
that's an indication for theories the like of morpheus'.

Andr=E9.


--=-4U4QdJFUrBUf/7i7QAIF
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBBvxkvEOp8fsnyxsQRArBBAKC31fHvSBwyO/nqxO6qzlEPTeSVDACg2Odo
g4ifA929JCJSf79t/P4Dsd4=
=96Ix
-----END PGP SIGNATURE-----

--=-4U4QdJFUrBUf/7i7QAIF--