I have more news on this bug. It is possibly a bug with Hardy in general
and not with squid specifically.

I turned off squid and apache and let the machine just run (doing almost
nothing). The cache did not appear to grow much at all, definitely not
at the predictable rate it did when squid was turned on. However, after
16 hours the cache had grown to consume most of the memory even when not
much was really running. The activity of squid was probably just making
the memory problem happen more quickly.

This install of Hardy server is running on the most recently available
Mac mini hardware.

Here's the output of "free -m":

             total       used       free     shared    buffers     cached
Mem:           979        915         64          0         69        778
-/+ buffers/cache:         67        912
Swap:         2870          0       2870

Here's the output of "ps aux"
<code>
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1   2844  1692 ?        Ss   Apr11   0:01 /sbin/init
root         2  0.0  0.0      0     0 ?        S<   Apr11   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S<   Apr11   0:00 [migration/0]
root         4  0.0  0.0      0     0 ?        S<   Apr11   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   Apr11   0:00 [watchdog/0]
root         6  0.0  0.0      0     0 ?        S<   Apr11   0:00 [migration/1]
root         7  0.0  0.0      0     0 ?        S<   Apr11   0:00 [ksoftirqd/1]
root         8  0.0  0.0      0     0 ?        S<   Apr11   0:00 [watchdog/1]
root         9  0.0  0.0      0     0 ?        S<   Apr11   0:00 [events/0]
root        10  0.0  0.0      0     0 ?        S<   Apr11   0:00 [events/1]
root        11  0.0  0.0      0     0 ?        S<   Apr11   0:00 [khelper]
root        46  0.0  0.0      0     0 ?        S<   Apr11   0:00 [kblockd/0]
root        47  0.0  0.0      0     0 ?        S<   Apr11   0:00 [kblockd/1]
root        50  0.0  0.0      0     0 ?        S<   Apr11   0:00 [kacpid]
root        51  0.0  0.0      0     0 ?        S<   Apr11   0:00 [kacpi_notify]
root       122  0.0  0.0      0     0 ?        S<   Apr11   0:00 [kseriod]
root       164  0.0  0.0      0     0 ?        S    Apr11   0:00 [pdflush]
root       165  0.0  0.0      0     0 ?        S    Apr11   0:00 [pdflush]
root       166  0.0  0.0      0     0 ?        S<   Apr11   0:00 [kswapd0]
root       208  0.0  0.0      0     0 ?        S<   Apr11   0:00 [aio/0]
root       209  0.0  0.0      0     0 ?        S<   Apr11   0:00 [aio/1]
root      1397  0.0  0.0      0     0 ?        S<   Apr11   0:00 [ksuspend_usbd]
root      1398  0.0  0.0      0     0 ?        S<   Apr11   0:00 [khubd]
root      1466  0.0  0.0      0     0 ?        S<   Apr11   0:00 [khpsbpkt]
root      1521  0.0  0.0      0     0 ?        S<   Apr11   0:00 [ata/0]
root      1523  0.0  0.0      0     0 ?        S<   Apr11   0:00 [ata/1]
root      1525  0.0  0.0      0     0 ?        S<   Apr11   0:00 [ata_aux]
root      2199  0.0  0.0      0     0 ?        S<   Apr11   0:00 [knodemgrd_0]
root      2208  0.0  0.0      0     0 ?        S<   Apr11   0:00 [scsi_eh_0]
root      2209  0.0  0.0      0     0 ?        S<   Apr11   0:00 [scsi_eh_1]
root      2239  0.0  0.0      0     0 ?        S<   Apr11   0:00 [scsi_eh_2]
root      2240  0.0  0.0      0     0 ?        S<   Apr11   0:00 [scsi_eh_3]
root      2426  0.0  0.0      0     0 ?        S<   Apr11   0:00 [kjournald]
root      2602  0.0  0.0   2240   740 ?        S<s  Apr11   0:00 /sbin/udevd 
--daemon
root      3909  0.0  0.0      0     0 ?        S<   Apr11   0:00 [kpsmoused]
root      4399  0.0  0.0   1716   516 tty4     Ss+  Apr11   0:00 /sbin/getty 
38400 tty4
root      4400  0.0  0.0   1716   516 tty5     Ss+  Apr11   0:00 /sbin/getty 
38400 tty5
root      4402  0.0  0.0   1716   512 tty2     Ss+  Apr11   0:00 /sbin/getty 
38400 tty2
root      4404  0.0  0.0   1716   512 tty3     Ss+  Apr11   0:00 /sbin/getty 
38400 tty3
root      4406  0.0  0.0   1716   508 tty6     Ss+  Apr11   0:00 /sbin/getty 
38400 tty6
root      4562  0.0  0.0   1928   816 ?        Ss   Apr11   0:00 
/usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket
dhcp      4592  0.0  0.0   2440   808 ?        S<s  Apr11   0:00 dhclient3 -e 
IF_METRIC=100 -pf /var/run/dhclient.eth1.pid -lf 
/var/lib/dhcp3/dhclient.eth1.leases eth1
syslog    4621  0.0  0.0   1936   680 ?        Ss   Apr11   0:00 /sbin/syslogd 
-u syslog
root      4645  0.0  0.0   1872   540 ?        S    Apr11   0:00 /bin/dd bs 1 
if /proc/kmsg of /var/run/klogd/kmsg
klog      4652  0.0  0.2   3404  2200 ?        Ss   Apr11   0:00 /sbin/klogd -P 
/var/run/klogd/kmsg
root      4688  0.0  0.1   5312  1024 ?        Ss   Apr11   0:00 /usr/sbin/sshd
root      4740  0.0  0.0   1772   524 ?        S    Apr11   0:00 /bin/sh 
/usr/bin/mysqld_safe
mysql     4782  0.0  2.6 129156 26964 ?        Sl   Apr11   0:16 
/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql 
--pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306
root      4783  0.0  0.0   1700   560 ?        S    Apr11   0:00 logger -p 
daemon.err -t mysqld_safe -i -t mysqld
root      4935  0.0  0.1   8248  1840 ?        Ss   Apr11   0:01 sendmail: MTA: 
accepting connections          
root      4964  0.0  0.0   2084   344 ?        Ss   Apr11   0:00 /sbin/mdadm 
--monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan --syslog
daemon    5006  0.0  0.0   1984   420 ?        Ss   Apr11   0:00 /usr/sbin/atd
root      5017  0.0  0.0   2104   892 ?        Ss   Apr11   0:00 /usr/sbin/cron
root      5059  0.0  0.0   1716   512 tty1     Ss+  Apr11   0:00 /sbin/getty 
38400 tty1
root      9423  0.0  0.2   8052  2532 ?        Ss   12:07   0:00 sshd: sysadmin 
[priv]
sysadmin  9425  0.0  0.1   8052  1508 ?        S    12:07   0:00 sshd: [EMAIL 
PROTECTED]/0
sysadmin  9426  0.0  0.2   5564  2932 pts/0    Ss   12:07   0:00 -bash
sysadmin  9519  0.0  0.1   2644  1008 pts/0    R+   12:37   0:00 ps aux
</code>

-- 
possible memory leak in Hardy's squid
https://bugs.launchpad.net/bugs/215998
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to