Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: nohup dies
- X-seq: zsh-users 11887
- From: "Pau Amaro-Seoane" <vim.unix@xxxxxxxxxxxxxx>
- To: "wgscott@xxxxxxxxxxxxxxxxxx" <wgscott@xxxxxxxxxxxxxxxxxx>
- Subject: Re: nohup dies
- Date: Fri, 28 Sep 2007 22:53:27 +0200
- Cc: zsh-users@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=/t+NQTtYRCVwlzMl9RuNbPl+Z2ngnO5zGwcatAjP7D4=; b=BZxxMtiyvmgMBLAz+wKydQBwXSnUqrBGlV1V01aJg0fusRxjFdpaEufq4N7OgvpY77YH8o4fySY1sQ6QkDcYv6vACQSYEe50V5nP/J/CNg5WSiR3hG9TvtH4CGuiCLCuDqbayKR3msc3qkk1Gz6/Z1WlTBAlbpZShJXXuZCOE9s=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BJBsb9M5XqhpwseX+6x5xYhxbD0YY0SfcFDjHqQcVJmek71HDdyhBwE7c3s/625Pz5vNK+ttXGjYzJxhUb0HiZxnDtgzDP0qH8GNXCuXidpAZEr0GkArkpqC1HgfzR9Dt+PncB667o0XqWLjUKEv28Fvqq0OndQwPDSPBhHenvg=
- In-reply-to: <20070928134459.5393d050.wgscott@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <30c383e70709281338x1f2609dcsdc4dd7283d387c1c@xxxxxxxxxxxxxx> <20070928134459.5393d050.wgscott@xxxxxxxxxxxxxxxxxx>
- Reply-to: vim.unix@xxxxxxxxx
Hi Bill,
thanks for the answer.
By the way, I meant
> nohup cat ./input | ~pau/executables/NB4_NoPN > diagnostic&
when I wrote
> cat ./input | ~pau/executables/NB4_NoPN > diagnostic&
!
Yes, I am thinking of screen... I used it a lot in the past but I
stopped because it'd screw up my mutt colour scheme and I never could
fix that...
The OS of the cluster is Debian GNU/Linux etch.
If you knew how long I have needed to realise about this! I was
hunting fictitious bugs in my code...
sigh...
thanks,
Pau
2007/9/28, wgscott@xxxxxxxxxxxxxxxxxx <wgscott@xxxxxxxxxxxxxxxxxx>:
> Hi Pau:
>
> I've not run into this problem using any version of zsh, so I can't advise, but in general I find it is much more robust to start a screen session, issue the command, and detatch the screen.
>
> You didn't say what your OS is, but OS X and linux come with screen by default, and I think you can install it on anything zsh would run on.
>
> Bill
>
>
>
> On Fri, 28 Sep 2007 22:38:48 +0200
> "Pau Amaro-Seoane" <vim.unix@xxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> I have been using zsh for a while and I like it a lot. Yet, today I
> ran into a snag...
>
> I use a kind of beowulf cluster to run computer simulations and the
> way I have launched them for years has always been
>
> cat ./input | ~pau/executables/NB4_NoPN > diagnostic&
>
> and then I usually shutdown the laptop or close the terminal.
>
> Two years ago I moved to another institute and this has also a
> cluster. Recently I restarted doing the same kind of simulations and
> somehow I had problems with them all the time
>
> I am in a very bad mood... you cannot imagine how wretched I am; I spent _many_
> days trying to find "bugs" in my code and didn't understand at all why the runs
> died after "some minutes" without any output message...
>
> The problem? nohup dies in zsh 4.3.2
>
> Today I closed the ssh session with exit and then exit again after the
> message and got this:
>
> zsh: you have running jobs.
> tuffi1| exit
> zsh: warning: 1 jobs SIGHUPed
> [1] + 18591 done nohup cat ./input |
> 18592 hangup ~pau/executables/NB4_NoPN > diagnostic
>
> When I used the cluster in my former institute everything went fine,
> and there they have zsh 4.2.4
>
> So it seems that "deadly" nohups are inherent to the most recent zsh version...
> a "new feature" of the shell, maybe?
>
> I changed the shell to ksh and the simulations (i.e. nohup) are not
> killed when I quit the session...
>
> What's wrong with zsh 4.2.4?
>
> Cheers,
>
> Pau Amaro Seoane
>
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author