Bug#698829: kernel swap after upgrade to 3.2.23-1~bpo60+2

2013-03-09 Thread Daniele Melosi
On 09/03/2013 18:46, Ben Hutchings wrote:
> On Thu, 2013-03-07 at 18:22 +0100, Daniele Melosi wrote:
>> On 05/03/2013 03:40, Ben Hutchings wrote:
>>>> # wc -l /proc/mounts
>>>> 329219 /proc/mounts
>>> [...]
>>>
>>> Er, wow, that's a lot.  Does this *also* increase over time, or are
>>> those mostly mounted at boot?
>>
>> I agree, it's a lot.
>>
>> The number of entries in /proc/mounts file increase over time, at the
>> boot is low (~100 lines).
> 
> Are these bind-mounts or separate filesystem mounts?

these are bind-mounts.

> Experimentally, bind-mounts appear to require about 1K each.

We haven't the same behavior with 2.6.32 kernel (the squeeze default).

-- 
Daniele Melosi


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698829: kernel swap after upgrade to 3.2.23-1~bpo60+2

2013-03-07 Thread Daniele Melosi
On 05/03/2013 03:40, Ben Hutchings wrote:
>> # wc -l /proc/mounts
>> 329219 /proc/mounts
> [...]
> 
> Er, wow, that's a lot.  Does this *also* increase over time, or are
> those mostly mounted at boot?

I agree, it's a lot.

The number of entries in /proc/mounts file increase over time, at the
boot is low (~100 lines).

-- 
Daniele Melosi


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698829: kernel swap after upgrade to 3.2.23-1~bpo60+2

2013-03-04 Thread Daniele Melosi
Hi,

after kernel upgrade i've the following situation:

after 2 days of uptime:
 08:41:41 up 2 days, 14:56,  0 users,  load average: 13.07, 13.83, 13.65
size-192(DMA)  0  0192   201 : tunables  120   60
 8 : slabdata  0  0  0
size-192   35599  83060192   201 : tunables  120   60
 8 : slabdata   4153   4153273

after 6 days of uptime:
 08:41:41 up 6 days,  1:56,  0 users,  load average: 16.60, 15.22, 14.48
size-192(DMA)  0  0192   201 : tunables  120   60
 8 : slabdata  0  0  0
size-192  1780288 1799240192   201 : tunables  120   60
   8 : slabdata  89962  89962256

As you can see the size-192 is increasing and after the 7th days the
server start swapping.

The server is a shared hosting linux with apache + cgi-wrapper and has a
lots of entries in /proc/mounts:

# wc -l /proc/mounts
329219 /proc/mounts

On 28/01/2013 05:42, Ben Hutchings wrote:
> Control: tag -1 moreinfo
> 
> On Thu, 2013-01-24 at 09:11 +0100, Daniele Melosi wrote:
>> Package: linux-image-3.2.0-0.bpo.3-amd64
>> Version: 3.2.23-1~bpo60+2
> 
> This is quite a few months out of date and there have been many bug
> fixes since then.  Please upgrade to linux-image-3.2.0-0.bpo.4-amd64
> version 3.2.35-2~bpo60+1 and report whether the bug remains.
> 
>> In a linux web server (a LAMP architecture) after upgrade the kernel
>> version to the backport one, the system start swapping after a week of
>> utilization.
>>
>> In /proc/slapinfo the main difference is in size-192:
>>
>> after reboot:
>> size-1923363   3980192   201 : tunables  120   60
>>  8 : slabdata199199209
>>
>> after 2 weeks:
>> size-192  39806000 39806000192   201 : tunables  120
>> 608 : slabdata 1990300 1990300131
> 
> A fairly clear memory leak, but sadly it's not obvious what is leaking.
> 
> Please send the output of:
> - lsmod
> - lspci
> - dmesg
> 
>> I'm using debian 6.0.2 with backported kernel (3.2.23-1~bpo60+2) and
>> libc6 2.11.3-3.
> 
> Ben.
> 


-- 
Daniele Melosi


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698829: kernel swap after upgrade to 3.2.23-1~bpo60+2

2013-01-24 Thread Daniele Melosi
Package: linux-image-3.2.0-0.bpo.3-amd64
Version: 3.2.23-1~bpo60+2

In a linux web server (a LAMP architecture) after upgrade the kernel
version to the backport one, the system start swapping after a week of
utilization.

In /proc/slapinfo the main difference is in size-192:

after reboot:
size-1923363   3980192   201 : tunables  120   60
 8 : slabdata199199209

after 2 weeks:
size-192  39806000 39806000192   201 : tunables  120
608 : slabdata 1990300 1990300131

I'm using debian 6.0.2 with backported kernel (3.2.23-1~bpo60+2) and
libc6 2.11.3-3.

Regards

-- 
Daniele Melosi


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org