git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: RFH: spawning pager takes long time when when unconnected from network

From
EREric Raible <raible@gmail.com>
Date
Feb 10, 2009, 11:39 UTC
Message-ID
<279b37b20902100339w6e4d215cua41887c65f7c37bc@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.0902101159300.10279@pacific.mpi-cbg.de>

On Tue, Feb 10, 2009 at 3:03 AM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

Show 20 quoted lines
> Hi,
>
> You could also try to set it to /bin/false, just so you know if the delay
> is caused by the shell startup.
>
> In my experience, such intermittent delays are often triggered by some
> (mostly unnecessary) calls to either DNS (which might hang for quite some
> time) or domain controllers (same).  These can be triggered by shell
> startup looking for the user or host name.
>
> However, I am just fishing here, as I cannot begin to get an idea what is
> happening on your side.
>
> Also, it does not help that the platform is Windows, an OS I am mostly
> unfamiliar with.  But there have to be profiling tools for that platform
> where you should be able to see what function is blocking (I assume it is
> a blocking call, of course).
>
> Ciao,
> Dscho

Toggling core.pager btwn /bin/false and less is slow the first time, then quick subsequent times. Setting core.pager to "echo no pager" gives the same behavior.

What would be handy is a windows version of strace, but the one that I found doesn't seem functional. gdb is useless for this (so far, anyway). I think it's time to sleep on this.

Thanks - Eric
Previous: Johannes SchindelinNext: Jeff King
Message 8 of 12 in “RFH: spawning pager takes long time when when unconnected from network”
  1. Eric RaibleFeb 10, 2009
  2. Eric RaibleFeb 10, 2009
  3. Johannes SixtFeb 10, 2009
  4. Eric RaibleFeb 10, 2009
  5. Johannes SchindelinFeb 10, 2009
  6. Eric RaibleFeb 10, 2009
  7. Johannes SchindelinFeb 10, 2009
  8. Eric RaibleFeb 10, 2009
  9. Jeff KingFeb 10, 2009
  10. Eric RaibleFeb 10, 2009
  11. Jay SoffianFeb 10, 2009
  12. Andreas EricssonFeb 10, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.