Re: Cygwin got V E R Y slow after network switchover
On Tue, Aug 2, 2016 at 2:26 AM, Andrey Repin wrote: > You could probably speed it up by running cygserver, which will provide > credentials caching for all Cygwin processes running in the system. Thanks for suggesting this. I ran the setup script and verified the cygserver service was running. It helped in the DOS box where only uname is run. But a Cygwin Terminal is still taking an abnormally long time to get to the command prompt. In fact, I think it's taking even longer than before. Even moving .bashrc out of the way, it still takes several seconds for the Cygwin prompt. I have no ~/.login. My ~/.profile does nothing other than source ~/.bashrc if it exists. > On another note, this is most unsettling to hear. > Do you run latest Cygwin? Are you connected directly to the network, or > remotely? I'm running: CYGWIN_NT-6.1 LTDENA-REISERT 2.6.0(0.300/5/3) 2016-07-29 12:14 x86_64 Cygwin I am plugged into the network. >> db_home: /cygdrive/c/Users/jr920141/Box%_Sync/Home > > That's one very wrong db_home… I disagree. That same path has been working fine for the past month. It's equivalent to this, with the blank space escaped: >> db_home: /cygdrive/c/Users/jr920141/Box Sync/Home -- Jim Reisert AD1C, , http://www.ad1c.us -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Cygwin got V E R Y slow after network switchover
Greetings, Jim Reisert AD1C! > Our company recently switched to an "active directory" network, with > different login credentials. Don't ask me what that is exactly. Ever > since, anything having to do with Cygwin takes seconds or minutes, > whereas it used to be instantaneous. Even having "uname -a" in a Take > Command (like CMD.EXE) shell causes the shell window to take seconds > to come up. Comment out the uname, and the shell window comes up > instantaneously. You don't want to know how long I have to wait for > an Xterm to start so I can run Emacs to open a file... You could probably speed it up by running cygserver, which will provide credentials caching for all Cygwin processes running in the system. On another note, this is most unsettling to hear. Do you run latest Cygwin? Are you connected directly to the network, or remotely? > My /etc/nsswitch.conf is as follows (the only thing I define is db_home). > # passwd: files db > # group:files db > # db_enum: cache builtin > # db_home: /home/%U > db_home: /cygdrive/c/Users/jr920141/Box%_Sync/Home That's one very wrong db_home… > # db_shell: /bin/bash > # db_gecos: > I've attached cygcheck.out but don't know if that will help. > It's the exact same laptop. I don't know why a network change would > cause Cygwin to slow down so much. Suggestions or speculations would > be appreciated! -- With best regards, Andrey Repin Tuesday, August 2, 2016 11:24:43 Sorry for my terrible english...
Cygwin got V E R Y slow after network switchover
Our company recently switched to an "active directory" network, with different login credentials. Don't ask me what that is exactly. Ever since, anything having to do with Cygwin takes seconds or minutes, whereas it used to be instantaneous. Even having "uname -a" in a Take Command (like CMD.EXE) shell causes the shell window to take seconds to come up. Comment out the uname, and the shell window comes up instantaneously. You don't want to know how long I have to wait for an Xterm to start so I can run Emacs to open a file... My /etc/nsswitch.conf is as follows (the only thing I define is db_home). # passwd: files db # group:files db # db_enum: cache builtin # db_home: /home/%U db_home: /cygdrive/c/Users/jr920141/Box%_Sync/Home # db_shell: /bin/bash # db_gecos: I've attached cygcheck.out but don't know if that will help. It's the exact same laptop. I don't know why a network change would cause Cygwin to slow down so much. Suggestions or speculations would be appreciated! Thanks - Jim -- Jim Reisert AD1C, , http://www.ad1c.us cygcheck.out Description: Binary data -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple