You are not logged in.
Hello folks,
since yesterday the startup time of my zsh is really slow. When I open a new terminal window zsh shows up after 1 Minute.
Measuring with
time /bin/zsh -i -c exitgives me
/bin/zsh -i -c exit 62,84s user 0,97s system 92% cpu 1:08,75 totalMy system is up to date. I already tried to remove ~/.zshrc and ~/.zsh_history but to na avail.
Any ideas?
Last edited by mareex (2015-10-10 19:16:40)
Offline
No solid answers. Have you tried it as a different user? If you are doing that inside of Xorg, have you tried it at the console?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Thanks for your answer. I tried with another user from group "users" and with root - In Yakuake, Konsole and tty. The problem is omnipresent. I also had no success with reinstalling zsh. Downgrading zsh would lead into a big mess because of ncurses dependency. Is there a way to debug zsh by profiling its method calls (measure time)?
Edit: I think I have found the culprit. It was my /etc/hosts file. Besides that zsh was starting slow I noticed ntpd was going crazy in cpu usage. So I remembered that I installed hostsblock from AUR yesterday which I used to manipulate my /etc/hosts file. After I restored my /etc/hosts file to its original state zsh is starting normal again.
Last edited by mareex (2015-10-10 19:08:44)
Offline