Package: dansguardian
Version: 2.9.9.4-1
Severity: important

I'm experimenting a sort of loop inside the DG parent process, in a transparent
proxy configuration on Debian Lenny.
I'm using the Lenny (2.9.9.4-1+lenny1+b1) package (dansguardian -v
returns 2.9.9.4).

The symptoms are DG parent process going over 90%  cpu (under top) and
users unable to access the web. The parent proxy is squid, which seems
to work normally.

Number of concurrent users is max 25-30, the problem is not related to
high numbers.

I have managed to get an strace of the DG parent process when the
problem happened,
which consists of a very rapid repetition of these syscalls:
===========
poll([{fd=-1}, {fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=7,
events=POLLIN}, {fd=8, events=POLLIN}, {fd=-1}, {fd=-1}, {fd=11,
events=POLLIN}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=16,
events=POLLIN}, {fd=-1}, {fd=-1}, {fd=19, events=POLLIN}, {fd=20,
events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN},
{fd=23, events=POLLIN}, {fd=24, events=POLLIN}, {fd=25,
events=POLLIN}, {fd=26, events=POLLIN}, {fd=27, events=POLLIN},
{fd=28, events=POLLIN}, {fd=29, events=POLLIN}, {fd=30,
events=POLLIN}, {fd=31, events=POLLIN}, {fd=32, events=POLLIN},
{fd=33, events=POLLIN}, {fd=34, events=POLLIN}, {fd=35,
events=POLLIN}, ...], 121, 60000) = 1 ([...])
waitpid(-1, 0xbfc07350, WNOHANG)        = 0
time(NULL)                              = 1251188718
waitpid(-1, 0xbfc07350, WNOHANG)        = 0
======

Only rarely some socket seems available (only 129 recv() on a total
of 121297 strace lines).

NOTE: Version of dansguardian in "testing"  (2.10.1.1-1) fixes the problem.

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'oldstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to