Memory leak on 5.1-RELEASE?
From: dpk (dpk_at_dpk.net)
Date: 01/31/04
- Previous message: Kris Kennaway: "Re: portsdb -U fails"
- Next in thread: Jorn Argelo: "Re: Memory leak on 5.1-RELEASE?"
- Reply: Jorn Argelo: "Re: Memory leak on 5.1-RELEASE?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jan 2004 16:10:41 -0800 (PST) To: questions@freebsd.org
(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.32 up 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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Kris Kennaway: "Re: portsdb -U fails"
- Next in thread: Jorn Argelo: "Re: Memory leak on 5.1-RELEASE?"
- Reply: Jorn Argelo: "Re: Memory leak on 5.1-RELEASE?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- [UNIX] Denial of Service in Apache HTTP Server 2.x
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... The Apache Software Foundation's
HTTP Server Project is an effort to ... A memory leak in Apache server, allows a
remote user to exhaust system ... Remote exploitation of a memory leak in the Apache HTTP
Server causes the ... (Securiteam) - Re: packet drop with intel gigabit / marwell gigabit
... Attached is a shell script to watch mbuf usage in 1 second interval. ...
If you do not see such memory problem, then you need to prepare to use ... when i stop
apache it falls back to 0,1-0,2%, starting apache again and got ... (freebsd-performance) - Re: Strange Segmentation Fault
... Tim Evers wrote: ... but large parts of apache and suexec and perl require
system-specific ... Depending on where the system's memory allocator ... (comp.lang.c) - Get mod_auth_oracle to work on Freebsd
... as we are moving from single server to multiple ... However, when I tried to
restart apache with the new module, I've got the ... out of memory allocating callback
... error while loading shared libraries ... (freebsd-questions) - Re: debian 3.0 r4
... Memory using apache 1.3 and after switching to 2.0 the whole systme ...
Debian GNU/Linux Consultant ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
... (Debian-User)