Package: squid
Version: 2.6.12-3
Severity: important

My /var just filled up, but some scripts immediately took action and
archived logs. However, while at 100% full, someone was accessing
the squid instance and it barfed:

  squid[4432]: diskHandleWrite: FD 110: disk write error: (28) No space left on 
device
  squid[4432]: storeAufsWriteDone: got failure (-6)
  squid[4432]: storeSwapOutFileClosed: dirno 0, swapfile 0000270E, errflag=-6   
(28) No space left on device
  squid[4432]: WARNING: Shrinking cache_dir #0 to 898356 KB
  squid[4432]: commSetEvents: epoll_ctl(EPOLL_CTL_ADD): failed on fd=73: (1) 
Operation not permitted

Two seconds later, /var had space again, but any attempt to connect
to a webpage via squid got us a "connection refused" and squid kept
writing

  squid[4432]: diskHandleWrite: FD 16: disk write error: (28) No space left on 
device
  squid[4432]: storeDirWriteCleanLogs: Starting...
  squid[4432]: WARNING: Closing open FD   16

until I restarted the process.

squid should really be able to recover from this without having to
be restarted.

And ideally, it should respond to requests with a message alerting
to the error, rather than a "connection refused".

This is reproducible at will.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (750, 'unstable'), (500, 'testing'), (250, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages squid depends on:
ii  adduser                      3.102       Add and remove users and groups
ii  coreutils                    5.97-5.3    The GNU core utilities
ii  debconf [debconf-2.0]        1.5.13      Debian configuration management sy
ii  libc6                        2.5-5       GNU C Library: Shared libraries
ii  libdb4.4                     4.4.20-8    Berkeley v4.4 Database Libraries [
ii  libldap2                     2.1.30-13.4 OpenLDAP libraries
ii  libpam0g                     0.79-4      Pluggable Authentication Modules l
ii  logrotate                    3.7.1-3     Log rotation utility
ii  lsb-base                     3.1-23.1    Linux Standard Base 3.1 init scrip
ii  netbase                      4.29        Basic TCP/IP networking system
ii  squid-common                 2.6.12-3    Internet Object Cache (WWW proxy c

squid recommends no packages.

-- debconf information:
  squid/fix_cachedir_perms: false
  squid/largefiles_warning:
  squid/anonymize_headers:
  squid/authenticate_program:
  squid-cgi/cachemgr:
  squid/fix_lines: true
  squid/old_version: false
  squid/http_anonymizer:

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to