[Nix-dev] nix-store --import hang

Max Ivanov ivanov.maxim at gmail.com
Wed Apr 9 21:19:07 CEST 2014


If something hangs, then strace & lsof might reveal something usefull

On Wed, Apr 9, 2014 at 5:48 PM, Colin Putney <colin at wiresong.com> wrote:
> Hi folks,
>
> I ran into a strange problem with nixops last night, and I can't figure out
> how to proceed.
>
> I was trying to install a new version of my app, which had been deployed
> using nixops. The deploy command repeatedly hung while copying a closure to
> the target machine. (Indefinitely on a Mac, but the NixOS version of NixOps
> would timeout eventually.) Poking around on the target machine, it seems
> that `nix-store --import` had hung. Even if I killed the ssh from the client
> end, that process would hang around on the target machine, apparently doing
> nothing. I couldn't detect any corruption in the nix-store database, and the
> hang would happen even on freshly-launched EC2 instance.
>
> This started happening after I updated my nixpkgs-unstable channel, but I
> don't know if that's related.
>
> Any ideas?
>
> Colin
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>


More information about the nix-dev mailing list