Re: Memory leak on 5.1-RELEASE?

2004-01-31 Thread Jorn Argelo
Are you sure that there isn't anything else running? Why don't  you give us
an ps -ax output? I don't think there's a memory leak in 5.1, since I've
seen running 5.1 just fine on a PE2650 with 2 GB RAM. You shouldn't
rely on top too much acually. Vmstat is a better program when looking
at memory.

Cheers,

Jorn
- Original Message -
From: dpk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 31, 2004 1:10 AM
Subject: Memory leak on 5.1-RELEASE?


 (I'm not a member of the list; please Cc me on any replies.)

 We're running Apache 1.3.28 on a 5.1-RELEASE machine. It's a Dell PE 2650
 w/ 2GB RAM. The site contains a lot of large files (multi-megabyte) -
 otherwise there's nothing unusual running.

 The Active memory use, according to top, seems rather high:

 last pid: 21487;  load averages:  0.19,  0.33,  0.32up 2+16:45:20
15:52:21
 76 processes:  1 running, 75 sleeping
 CPU states:  0.5% user,  0.0% nice,  4.0% system,  1.4% interrupt, 94.2%
idle
 Mem: 1413M Active, 187M Inact, 299M Wired, 93M Cache, 112M Buf, 2632K Free
 Swap: 1024M Total, 21M Used, 1003M Free, 2% Inuse

 We can't seem to get the Active number down much, even after stopping
 Apache it still stays around 1100M. There's no shared memory in use, and
 nothing in vmstat -m seems to indicate where the missing memory is. top,
 sorting by size, does not indicate anything unusual either.

 sysctl vm.vmtotal says:

 vm.vmtotal:
 System wide totals computed every five seconds: (values in kilobytes)
 ===
 Processes:  (RUNQ: 1 Disk Wait: 0 Page Wait: 0 Sleep: 76)
 Virtual Memory: (Total: 8172K, Active 636472K)
 Real Memory:(Total: 2051312K Active 389176K)
 Shared Virtual Memory:  (Total: 16436K Active: 11760K)
 Shared Real Memory: (Total: 6004K Active: 4436K)
 Free Memory Pages:  79228K

 whereas on other servers, the Real Memory Active number seems to match
 the one found in top, on this one it is about 1GB lower.

 A similar machine running Apache on 5.1-R, generally serving smaller
 files, has the same problem in a smaller scale (about 640M even when
 Apache is stopped).

 Are there any other data that I should send to help diagnose this problem,
 or any programs I can run to try and track this stray memory use down?

 - dpk
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Memory leak on 5.1-RELEASE?

2004-01-31 Thread dpk
 leak in 5.1, since I've
 seen running 5.1 just fine on a PE2650 with 2 GB RAM. You shouldn't
 rely on top too much acually. Vmstat is a better program when looking
 at memory.

 Cheers,

 Jorn
 - Original Message -
 From: dpk [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, January 31, 2004 1:10 AM
 Subject: Memory leak on 5.1-RELEASE?


  (I'm not a member of the list; please Cc me on any replies.)
 
  We're running Apache 1.3.28 on a 5.1-RELEASE machine. It's a Dell PE 2650
  w/ 2GB RAM. The site contains a lot of large files (multi-megabyte) -
  otherwise there's nothing unusual running.
 
  The Active memory use, according to top, seems rather high:
 
  last pid: 21487;  load averages:  0.19,  0.33,  0.32up 2+16:45:20
 15:52:21
  76 processes:  1 running, 75 sleeping
  CPU states:  0.5% user,  0.0% nice,  4.0% system,  1.4% interrupt, 94.2%
 idle
  Mem: 1413M Active, 187M Inact, 299M Wired, 93M Cache, 112M Buf, 2632K Free
  Swap: 1024M Total, 21M Used, 1003M Free, 2% Inuse
 
  We can't seem to get the Active number down much, even after stopping
  Apache it still stays around 1100M. There's no shared memory in use, and
  nothing in vmstat -m seems to indicate where the missing memory is. top,
  sorting by size, does not indicate anything unusual either.
 
  sysctl vm.vmtotal says:
 
  vm.vmtotal:
  System wide totals computed every five seconds: (values in kilobytes)
  ===
  Processes:  (RUNQ: 1 Disk Wait: 0 Page Wait: 0 Sleep: 76)
  Virtual Memory: (Total: 8172K, Active 636472K)
  Real Memory:(Total: 2051312K Active 389176K)
  Shared Virtual Memory:  (Total: 16436K Active: 11760K)
  Shared Real Memory: (Total: 6004K Active: 4436K)
  Free Memory Pages:  79228K
 
  whereas on other servers, the Real Memory Active number seems to match
  the one found in top, on this one it is about 1GB lower.
 
  A similar machine running Apache on 5.1-R, generally serving smaller
  files, has the same problem in a smaller scale (about 640M even when
  Apache is stopped).
 
  Are there any other data that I should send to help diagnose this problem,
  or any programs I can run to try and track this stray memory use down?
 
  - dpk
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Memory leak on 5.1-RELEASE?

2004-01-31 Thread Jorn Argelo
/bin/httpd -f
 /usr/local/www/server/conf/ht 56897  ??  S  0:00.02
 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 56898  ??  S 
 0:00.03 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 56900  ??  S 
 0:00.03 /usr/local/bin/httpd -f /usr/local/www/server/conf/ht 56577  p0
  Ss 0:00.02 -sh (sh)
 56904  p0  R+ 0:00.00 ps -ax
  3574  v0  Is+0:00.00 /usr/libexec/getty Pc ttyv0
   868  v1  Is+0:00.00 /usr/libexec/getty Pc ttyv1
   869  v2  Is+0:00.00 /usr/libexec/getty Pc ttyv2
   870  v3  Is+0:00.00 /usr/libexec/getty Pc ttyv3
   871  v4  Is+0:00.00 /usr/libexec/getty Pc ttyv4
   872  v5  Is+0:00.00 /usr/libexec/getty Pc ttyv5
   873  v6  Is+0:00.00 /usr/libexec/getty Pc ttyv6
   874  v7  Is+0:00.00 /usr/libexec/getty Pc ttyv7
   520 con- I  0:02.81 /usr/local/sbin/snmpd
   534 con- I  0:00.01 /bin/sh /usr/local/bin/mysqld_safe
 --datadir=/usr/loc 566 con- S138:26.09 /usr/local/libexec/mysqld
 --basedir=/usr/local --data

 According to top and ps, mysql is only using around 59M VSZ.

 On Sun, 1 Feb 2004, Jorn Argelo wrote:
  Are you sure that there isn't anything else running? Why don't  you give
  us an ps -ax output? I don't think there's a memory leak in 5.1, since
  I've seen running 5.1 just fine on a PE2650 with 2 GB RAM. You shouldn't
  rely on top too much acually. Vmstat is a better program when looking at
  memory.
 
  Cheers,
 
  Jorn
  - Original Message -
  From: dpk [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Saturday, January 31, 2004 1:10 AM
  Subject: Memory leak on 5.1-RELEASE?
 
   (I'm not a member of the list; please Cc me on any replies.)
  
   We're running Apache 1.3.28 on a 5.1-RELEASE machine. It's a Dell PE
   2650 w/ 2GB RAM. The site contains a lot of large files
   (multi-megabyte) - otherwise there's nothing unusual running.
  
   The Active memory use, according to top, seems rather high:
  
   last pid: 21487;  load averages:  0.19,  0.33,  0.32up 2+16:45:20
 
  15:52:21
 
   76 processes:  1 running, 75 sleeping
   CPU states:  0.5% user,  0.0% nice,  4.0% system,  1.4% interrupt,
   94.2%
 
  idle
 
   Mem: 1413M Active, 187M Inact, 299M Wired, 93M Cache, 112M Buf, 2632K
   Free Swap: 1024M Total, 21M Used, 1003M Free, 2% Inuse
  
   We can't seem to get the Active number down much, even after stopping
   Apache it still stays around 1100M. There's no shared memory in use,
   and nothing in vmstat -m seems to indicate where the missing memory
   is. top, sorting by size, does not indicate anything unusual either.
  
   sysctl vm.vmtotal says:
  
   vm.vmtotal:
   System wide totals computed every five seconds: (values in kilobytes)
   ===
   Processes:  (RUNQ: 1 Disk Wait: 0 Page Wait: 0 Sleep: 76)
   Virtual Memory: (Total: 8172K, Active 636472K)
   Real Memory:(Total: 2051312K Active 389176K)
   Shared Virtual Memory:  (Total: 16436K Active: 11760K)
   Shared Real Memory: (Total: 6004K Active: 4436K)
   Free Memory Pages:  79228K
  
   whereas on other servers, the Real Memory Active number seems to
   match the one found in top, on this one it is about 1GB lower.
  
   A similar machine running Apache on 5.1-R, generally serving smaller
   files, has the same problem in a smaller scale (about 640M even when
   Apache is stopped).
  
   Are there any other data that I should send to help diagnose this
   problem, or any programs I can run to try and track this stray memory
   use down?
  
   - dpk
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
 
  [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Memory leak on 5.1-RELEASE?

2004-01-30 Thread dpk
(I'm not a member of the list; please Cc me on any replies.)

We're running Apache 1.3.28 on a 5.1-RELEASE machine. It's a Dell PE 2650
w/ 2GB RAM. The site contains a lot of large files (multi-megabyte) -
otherwise there's nothing unusual running.

The Active memory use, according to top, seems rather high:

last pid: 21487;  load averages:  0.19,  0.33,  0.32up 2+16:45:20  15:52:21
76 processes:  1 running, 75 sleeping
CPU states:  0.5% user,  0.0% nice,  4.0% system,  1.4% interrupt, 94.2% idle
Mem: 1413M Active, 187M Inact, 299M Wired, 93M Cache, 112M Buf, 2632K Free
Swap: 1024M Total, 21M Used, 1003M Free, 2% Inuse

We can't seem to get the Active number down much, even after stopping
Apache it still stays around 1100M. There's no shared memory in use, and
nothing in vmstat -m seems to indicate where the missing memory is. top,
sorting by size, does not indicate anything unusual either.

sysctl vm.vmtotal says:

vm.vmtotal:
System wide totals computed every five seconds: (values in kilobytes)
===
Processes:  (RUNQ: 1 Disk Wait: 0 Page Wait: 0 Sleep: 76)
Virtual Memory: (Total: 8172K, Active 636472K)
Real Memory:(Total: 2051312K Active 389176K)
Shared Virtual Memory:  (Total: 16436K Active: 11760K)
Shared Real Memory: (Total: 6004K Active: 4436K)
Free Memory Pages:  79228K

whereas on other servers, the Real Memory Active number seems to match
the one found in top, on this one it is about 1GB lower.

A similar machine running Apache on 5.1-R, generally serving smaller
files, has the same problem in a smaller scale (about 640M even when
Apache is stopped).

Are there any other data that I should send to help diagnose this problem,
or any programs I can run to try and track this stray memory use down?

- dpk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]