Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 1999 16:04:34 +0300
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        Ilya Balashov <tsw@inec.ru>
Cc:        Greg Quinlan <greg@qmpgmc.ac.uk>, freebsd-stable@FreeBSD.ORG
Subject:   Not reproduceable on real -stable (Was: Re: Memory leaks & kernel panic/reboot & ahc reboot)
Message-ID:  <19990519160434.A60737@relay.ucb.crimea.ua>
In-Reply-To: <NDBBKDAEHKFDJNIGJNPJCECFCCAA.tsw@inec.ru>; from Ilya Balashov on Wed, May 19, 1999 at 03:07:13PM %2B0400
References:  <002401bea1db$30df4180$380051c2@greg.qmpgmc.ac.uk> <NDBBKDAEHKFDJNIGJNPJCECFCCAA.tsw@inec.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 19, 1999 at 03:07:13PM +0400, Ilya Balashov wrote:
> reproduce is too easy....
> reboot system...
> run "top"... and remember free memory...
> run "tar cvf /dev/null /usr"
> run "top" again... and almost all free memory LEAKED !!!! 
> 
This is not reproduceable on my 3.2-STABLE system:

FreeBSD 3.2-STABLE #0: Sun May 16 23:51:55 EEST 1999
CPU: Pentium Pro (198.67-MHz 686-class CPU)
real memory  = 33554432 (32768K bytes)
avail memory = 29945856 (29244K bytes)
ahc0: <Adaptec aic7880 Ultra SCSI adapter> rev 0x00 int a irq 11 on pci0.13.0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
da0 at ahc0 bus 0 target 0 lun 0
da0: <WDIGTL ENTERPRISE 1.80> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
da0: 4157MB (8515173 512 byte sectors: 64H 32S/T 4157C)


} Just after ``tar cf /dev/null /usr'' has been started:
+-------
| last pid: 41864;  load averages:  1.19,  1.21,  1.14  up 2+14:12:35    14:42:24
| 88 processes:  3 running, 85 sleeping
| 
| Mem: 11M Active, 2876K Inact, 11M Wired, 4272K Cache, 3456K Buf, 488K Free
| Swap: 96M Total, 48M Used, 48M Free, 50% Inuse
| 
| 
|   PID USERNAME  PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
|   262 ru        101   0  1684K   288K RUN     21.5H 91.11% 91.11% mutt
| 41636 ru         -6   0   548K   280K biord    0:10  1.76%  1.76% tar
| 41819 root       -6   0   520K   228K piperd   0:00  1.54%  0.15% sh
+-------

} In the middle of the process:
+-------
| last pid: 47507;  load averages:  0.62,  1.07,  1.13  up 2+14:29:51    14:59:40
| 78 processes:  78 sleeping
| 
| Mem: 12M Active, 2840K Inact, 11M Wired, 3504K Cache, 3461K Buf, 488K Free
| Swap: 96M Total, 45M Used, 51M Free, 47% Inuse
| 
| 
|   PID USERNAME  PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
| 41636 ru         -6   0   548K   280K biord    0:37  2.15%  2.15% tar
+-------

} Right after it has finished:
+-------
| last pid: 60715;  load averages:  0.06,  0.16,  0.18  up 2+15:22:41    15:52:30
| 83 processes:  83 sleeping
| 
| Mem: 9204K Active, 5948K Inact, 11M Wired, 2624K Cache, 3446K Buf, 488K Free
| Swap: 96M Total, 48M Used, 48M Free, 50% Inuse
| 
| 
|   PID USERNAME  PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
+-------

I can't see any memory-related problems.
By the way, my /usr is as follows:

# df -k -i /usr
Filesystem   1K-blocks     Used    Avail Capacity iused   ifree  %iused  Mounted on
/dev/da0s1f    2956432  2096002   623916    77%  216596  497642    30%   /usr


Why don't you guys upgrade your systems to -stable?


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA of the
ru@ucb.crimea.ua	United Commercial Bank
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990519160434.A60737>