diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-04-05 15:28:30 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-04-05 15:28:30 +0000 |
commit | 128c174295680097b28d5f578873ded2696caf40 (patch) | |
tree | 52ccba0a75bdd3e09a314237c6643866db216dfb /doc/manual/troubleshooting.xml | |
parent | 229252941aeef2bf2292bf3bb47aa477727d03f2 (diff) |
* Manual updates.
Diffstat (limited to 'doc/manual/troubleshooting.xml')
-rw-r--r-- | doc/manual/troubleshooting.xml | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/doc/manual/troubleshooting.xml b/doc/manual/troubleshooting.xml index cc3cd361f..cd0bafe3d 100644 --- a/doc/manual/troubleshooting.xml +++ b/doc/manual/troubleshooting.xml @@ -1,8 +1,31 @@ <appendix> <title>Troubleshooting</title> - <para> - (Nothing.) + <para>This section provides solutions for some common problems.</para> + + <sect1><title>Berkeley DB: <quote>Cannot allocate memory</quote></title> + + <para>Symptom: Nix operations (in particular the + <command>nix-store</command> operations <option>--gc</option>, + <option>--verify</option>, and <option>--clear-substitutes</option> + — the latter being called by <command>nix-channel + --update</command>) failing: + +<screen> +$ nix-store --verify +error: Db::del: Cannot allocate memory</screen> + + Possible solution: make sure that no Nix processes are running, + then do: + +<screen> +$ cd /nix/var/nix/db +$ rm __db.00*</screen> + </para> + + + </sect1> + </appendix> |