[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#341537: apt hang when /var is full?



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. 






Reply to: