--- Begin Message ---
- To: "Debian Bug Tracking System" <submit@bugs.debian.org>
- Subject: apt hang when /var is full?
- From: "Joel Soete" <soete.joel@tiscali.be>
- Date: Thu, 1 Dec 2005 10:23:49 +0100
- Message-id: <IQTBFP$06BA7E446389CCD9C9FE35D04AD1D802@scarlet.be>
Package: apt
Version: 0.6.42.3
Severity: normal
Hello dear apt maintainer,
I noticed that daily apt update was hanging:
# ps -ef | grep apt
root 15277 15260 0 07:35 ? 00:00:00 /bin/sh /etc/cron.daily/apt
root 15287 15277 0 07:35 ? 00:00:00 apt-get -qq update
root 15289 15287 0 07:35 ? 00:00:00 /usr/lib/apt/methods/http
root 15290 15287 0 07:35 ? 00:00:00 /usr/lib/apt/methods/http
root 15291 15287 0 07:35 ? 00:00:00 /usr/lib/apt/methods/http
root 15292 15287 0 07:35 ? 00:00:01 /usr/lib/apt/methods/http
root 15294 15287 0 07:35 ? 00:00:00 /usr/lib/apt/methods/gpgv
root 15302 15287 0 07:35 ? 00:00:00 /usr/lib/apt/methods/bzip2
root 15305 15287 0 07:35 ? 00:00:00 /usr/lib/apt/methods/gzip
root 15387 3298 0 08:48 pts/1 00:00:00 more /etc/apt/apt.conf
(oth top showing:
top - 08:51:52 up 1 day, 16:56, 4 users, load average: 0.00, 0.01, 0.00
Tasks: 108 total, 1 running, 107 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.5% us, 1.5% sy, 0.0% ni, 97.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 251844k total, 228524k used, 23320k free, 12768k buffers
Swap: 255928k total, 4k used, 255924k free, 162680k cached
Change delay from 3.0 to:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15404 root 16 0 2952 1352 1024 R 1.5 0.5 0:00.21 top
13824 root 16 0 5308 1396 812 S 0.8 0.6 0:01.91 screen
1 root 16 0 2292 808 664 S 0.0 0.3 0:12.16 init
[...])
this even thought my archives are supposed to stand in another fs:
- from apt.conf:
// Directory layout
Dir "/"
{
// Location of the cache dir
Cache::archives "/Sources/Debian4hppa/archives/";
};
(btw an actual subdir:
# cd /Sources/Debian4hppa/archives
# /bin/pwd
/Sources/Debian4hppa/archives
;-)
- df:
patst005:/var/tmp # df
Filesystem 1K-blocks Used Available Use% Mounted on
[...]
/dev/md3 247791 245681 0 100% /var
[...]
/dev/md7 2015696 699256 1295964 36% /Sources
[...]
Why gzip/bzip2 didn't failled in such case?
And fwiw, even after that I cleaned up a bit /var fs, the processes didn't
continue?
Thanks in advance,
Joel
PS: here it's a hppa box but the same occured on some other i386 boxes
-- Package-specific info:
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
#deb file:/instmnt sid main
#deb cdrom:[palinux-0.9.1]/ unstable main
# deb http://security.debian.org/ stable/updates main
#deb-src http://ftp.de.debian.org/debian unstable main contrib non-free
deb http://ftp.de.debian.org/debian testing main contrib non-free
deb http://ftp.de.debian.org/debian unstable main contrib non-free
deb http://ftp.de.debian.org/debian experimental main contrib non-free
# deb http://ftp.de.debian.org/debian-non-US unstable/non-US main contrib non-free
deb-src http://ftp.de.debian.org/debian unstable main contrib non-free
deb-src http://ftp.de.debian.org/debian experimental main contrib non-free
# deb-src http://ftp.de.debian.org/debian-non-US unstable/non-US main contrib
non-free
# parisc-linux.org
# deb http://ftp.parisc-linux.org/ unofficial-debs/
# Os-cillation (Xfld)
# deb http://www.os-cillation.de/debian/ binary/
#deb-src http://www.os-cillation.de/debian/ source/
deb-src http://www.os-works.com/debian unstable main
# Progeny src
deb-src http://archive.progeny.com/debian unstable main contrib non-free
deb-src http://archive.progeny.com/debian experimental main contrib non-free
# Some Alioth stuff:
deb http://rapt-proxy.alioth.debian.org/debian ./
deb-src http://rapt-proxy.alioth.debian.org/debian ./
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: hppa (parisc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-rc3-pa2mm-b2k32
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages apt depends on:
ii libc6 2.3.5-8 GNU C Library: Shared libraries an
ii libgcc2 4.0.2-4 GCC support library
ii libstdc++6 4.0.2-4 The GNU Standard C++ Library v3
apt recommends no packages.
-------------------------------------------------------
NOTE! My email address is changing to ... @scarlet.be
Please make the necessary changes in your address book.
--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.6.46
We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:
apt-doc_0.6.46_all.deb
to pool/main/a/apt/apt-doc_0.6.46_all.deb
apt-utils_0.6.46_i386.deb
to pool/main/a/apt/apt-utils_0.6.46_i386.deb
apt_0.6.46.dsc
to pool/main/a/apt/apt_0.6.46.dsc
apt_0.6.46.tar.gz
to pool/main/a/apt/apt_0.6.46.tar.gz
apt_0.6.46_i386.deb
to pool/main/a/apt/apt_0.6.46_i386.deb
libapt-pkg-dev_0.6.46_i386.deb
to pool/main/a/apt/libapt-pkg-dev_0.6.46_i386.deb
libapt-pkg-doc_0.6.46_all.deb
to pool/main/a/apt/libapt-pkg-doc_0.6.46_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 341537@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 21 Sep 2006 10:25:03 +0200
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-doc apt
Architecture: source all i386
Version: 0.6.46
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description:
apt - Advanced front-end for dpkg
apt-doc - Documentation for APT
apt-utils - APT utility programs
libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
libapt-pkg-doc - Documentation for APT development
Closes: 257054 311619 316196 341537 378868 380030 381019 382702 383487 384182 386397 386537 386851 387766 387812 388184 388402
Changes:
apt (0.6.46) unstable; urgency=low
.
* debian/control:
- switched to libdb4.4 for building (closes: #381019)
* cmdline/apt-get.cc:
- show only the recommends/suggests for the candidate-version, not for all
versions of the package (closes: #257054)
- properly handle recommends/suggests or-groups when printing the list of
suggested/recommends packages (closes: #311619)
* methods/http.cc:
- check more careful for incorrect proxy settings (closes: #378868)
* methods/gzip.cc:
- don't hang when /var is full (closes: #341537), thanks to
Luis Rodrigo Gallardo Cruz for the patch
* doc/examples/sources.list:
- removed non-us.debian.org from the example (closes: #380030,#316196)
* Merged from Christian Perrier bzr branch:
* ro.po: Updated to 514t. Closes: #388402
* dz.po: Updated to 514t. Closes: #388184
* it.po: Fixed typos. Closes: #387812
* ku.po: New kurdish translation. Closes: #387766
* sk.po: Updated to 514t. Closes: #386851
* ja.po: Updated to 514t. Closes: #386537
* gl.po: Updated to 514t. Closes: #386397
* fr.po: Updated to 516t.
* fi.po: Updated to 512t. Closes: #382702
* share/archive-archive.gpg:
- removed the outdated amd64 and debian-2004 keys
* apt-pkg/tagfile.cc:
- applied patch from Jeroen van Wolffelaar to make the tags
caseinsensitive (closes: #384182)
- reverted MMap use in the tagfile because it does not work
across pipes (closes: #383487)
Files:
950e3f0ed7af804704d5380b89c88b88 784 admin important apt_0.6.46.dsc
65309fd35da4d3844f63cdc0f173e23b 1692242 admin important apt_0.6.46.tar.gz
9cf6cfd9dfb19a1cfb8ae287706cd6fa 89032 doc optional apt-doc_0.6.46_all.deb
edee780be69c279f3236b4325f62dba7 112384 doc optional libapt-pkg-doc_0.6.46_all.deb
0c34e053105fe1d44ee14b096531387d 1414300 admin important apt_0.6.46_i386.deb
cc9cab84d135ac63f20526789e14baa9 83106 libdevel optional libapt-pkg-dev_0.6.46_i386.deb
a9307f0e7bce31884ac390fbf97c194c 193534 admin important apt-utils_0.6.46_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFEk+BliSD4VZixzQRAuLuAJ9d3b5JNNmSN9YIhYrLmY+8R+ZzigCfb0O0
LdSUAlaryIXkdW9sgH0n4Wk=
=jUES
-----END PGP SIGNATURE-----
--- End Message ---