[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XEmacs has slow startup



On Tue, 20 Jul 1999, Kristopher Johnson wrote:

> XEmacs takes an annoyingly long time to start up. It does not appear to
> be using CPU or doing disk access--it just "pauses" for a few seconds
> while starting.
> 
> I tried an "strace xemacs" to see what system calls were being made. 
> During the slow part of startup, here's what it was doing:
> 
> setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
> uname({sys="Linux", node="funkybox", ...}) = 0
> socket(PF_UNIX, SOCK_STREAM, 0)         = 6
> connect(6, {sun_family=AF_UNIX, sun_path="/tmp/.sockets/audio0"}, 22) =
> -1 ENOENT (No such file or directory)

As far as I remember, this issue has already been raised on this list. If
you create a file named /tmp/.sockets/audio0 (mkdir /tmp/.sockets; touch
/tmp/.sockets/audio0), Xemacs startup will be faster, because it won't
hang looking for a file that doesn't exist. I tried that trick, and it
improved noticeably the startup time.

Francois

--
Francois Gelis / LAPTH / gelis@lapp.in2p3.fr
phone:(+33) 4 50 09 16 80 / fax:(+33) 4 50 27 94 95


Reply to: