zsh-users
 help / color / mirror / code / Atom feed
From: Eugene Dzhurinsky <jdevelop@gmail.com>
To: zsh-users@zsh.org
Subject: delay in exitting from zsh shell
Date: Thu, 10 Nov 2011 00:20:20 +0200	[thread overview]
Message-ID: <20111109222020.GB10120@devbox> (raw)

[-- Attachment #1: Type: text/plain, Size: 912 bytes --]

Hello, I'm facing the strange issue - when I run zsh shell and eventually try
to exit from it - it takes some time (3-5 seconds) between I hit Ctrl+D or
type "exit" in shell prompt.

After some experiments I realized that if I remove .histfile - then ZSH exists
immediately, as supposed.

My history file is ~350K of size and settings are:

HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
setopt append_history
setopt inc_append_history
setopt histignorealldups
setopt histignorespace
setopt histreduceblanks
setopt histsavenodups
setopt sharehistory

I checked performance of filesystem where the file is actually stored:

dd if=/dev/zero of=test bs=1m count=10
10485760 bytes transferred in 0.065193 secs (160841962 bytes/sec)

so it operates quite well.

zsh 4.3.12 (amd64-portbld-freebsd9.0)

What may be wrong with ZSH and how to fix it? Thanks!

-- 
Eugene N Dzhurinsky

[-- Attachment #2: Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2011-11-09 22:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 22:20 Eugene Dzhurinsky [this message]
2011-11-10  1:14 ` Rommel Martinez
2011-11-10  6:56   ` Eugene Dzhurinsky
2011-11-10  3:51 ` Bart Schaefer
2011-11-10  7:19   ` Eugene Dzhurinsky
2011-11-10 10:10     ` Bart Schaefer
2011-11-10 10:15       ` Eugene Dzhurinsky
2011-11-10 10:46         ` Bart Schaefer
2011-11-10 10:58           ` Eugene Dzhurinsky

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=20111109222020.GB10120@devbox \
    --to=jdevelop@gmail.com \
    --cc=zsh-users@zsh.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 public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).