all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Francis Litterio <flitterio@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: CVS Emacs on Windows XP takes 60 seconds to start
Date: Tue, 02 Sep 2008 16:55:04 -0400	[thread overview]
Message-ID: <umyiqw8pf.fsf@gmail.com> (raw)
In-Reply-To: u4p4y8f46.fsf@gnu.org

Eli Zaretskii wrote:

>> From: Francis Litterio <flitterio@gmail.com>
>> Date: Tue, 02 Sep 2008 16:16:55 -0400
>> 
>> Lennart Borgman (gmail) wrote:
>> 
>> > Francis Litterio wrote:
>> >> CVS Emacs built and running on Windows XP seems to perform some network
>> >> operations that cause a ~60 second pause after the initial window is
>> >> drawn and before the Welcome screen appears.
>> 
>> > Thanks. Is this when you start with default emacs?
>> >
>> >   emacs -Q
>> 
>> Sorry for omitting that.  It happens when I run both "emacs -q" and
>> "emacs -Q".
>
> Is this the first time you built the CVS code?  If not, when was the
> last time you built it (and I presume saw no such slowdown)?

This has happened with every successful CVS build since my mysterious
build problems disappeared about week ago.  I didn't have time until now
to investigate further.

I have additional information.  My machine has a firewall that blocks
all outbound TCP and UDP traffic _except_ to trusted ports on trusted
hosts (kind of a "whitelist" firewall).  I relaxed my firewall to allow
outbound TCP connections to ports in the range 1025-1035 (the ones most
commonly used by RPC) on any host, and the pause was immediately reduced
to less than 5 seconds (which could be attributed to my domain
controller's slow response time).

As well, after a successful startup in this configuration, the local
cache of information obtained from the domain controller seems to live
for several minutes, because I don't see any RPC traffic to ports
1025-1035 on my domain controller until I start Emacs again after
several minutes.

I think my firewall was causing the ~60 second timeout in RPC calls to
the domain controller.

I would summarize the problem like this: Starting CVS Emacs on a Windows
machine attached to a domain when a firewall prevents RPC communication
with the domain controller, caused a ~60 second pause during startup.

The strange thing is that no other application or Windows functionality
was negatively affected by my firewall rules that blocked outbound TCP
connections to ports in the 1025-1035 range on my domain controllers.
Perhaps Windows uses the SMB ports to communicate with a domain
controller if it can't make an RPC call?
--
Fran





  reply	other threads:[~2008-09-02 20:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-02 19:45 CVS Emacs on Windows XP takes 60 seconds to start Francis Litterio
2008-09-02 20:14 ` Lennart Borgman (gmail)
2008-09-02 20:16   ` Francis Litterio
2008-09-02 20:30     ` Eli Zaretskii
2008-09-02 20:55       ` Francis Litterio [this message]
2008-09-02 21:18         ` Francis Litterio
2008-09-02 21:19         ` Lennart Borgman (gmail)
2008-09-02 21:19       ` Eli Zaretskii
2008-09-02 21:50         ` Francis Litterio
2008-09-03  0:41           ` Francis Litterio
2008-09-03  0:57             ` Jason Rumney
2008-09-03  1:04               ` Francis Litterio
2008-09-03  3:04               ` Francis Litterio
2008-09-03  3:28             ` Eli Zaretskii
2008-09-03  3:25           ` Eli Zaretskii
2008-09-03 14:30             ` Stefan Monnier
2008-09-03 18:24               ` Eli Zaretskii
2008-09-03 18:40                 ` Stefan Monnier
2008-09-03 19:00                   ` Eli Zaretskii
2008-09-03 15:14             ` Francis Litterio
2008-09-03 18:19               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=umyiqw8pf.fsf@gmail.com \
    --to=flitterio@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.