Memory Leaking from recent updates
Andy Green
fedora at warmcat.com
Mon Apr 5 08:08:11 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 04 April 2004 22:57, Michael A. Peters wrote:
> On Sat, 2004-04-03 at 23:27, Andy Green wrote:
> I'm running the X.org nv driver with my nvidia card and experiencing no
> issues.
>
> Is it possible for you to use the nv driver and see if that resolves the
> issue?
Hi Michael -
Thanks for this good advice - I did try the nv driver again yesterday, to my
surprise and pleasure it works now. Previously it filled the screen with
green vertical lines and froze the machine. I have updated the BIOS in the
laptop since I last tried and now it is on xorg packages, so I don't know
what fixed it. There are two issues with it I found (didn't try the 3D as I
have no use for it at the moment).
- fullscreen xv in mplayer has something like hsync noise on it, it jitters
around. If I have the same video in a window and resize it to fullscreen by
hand, the problem doesn't appear
- No dual head. Found this link
http://www.mail-archive.com/xfree86@xfree86.org/msg07631.html
suggesting:
> '' The "nv" driver does not support dual head. You have to
> use NVIDIA's binary Linux drivers if you want to use both
> heads.''
I'm going to stick with nv for now not least because the binary drivers are
broken by the latest Fedora kernels.
However, I waited until thismorning to mention this in order to see if the
abnormal memory usage was changed by this and it isn't, it is still there.
It only seems to occur overnight, suggesting perhaps cron has something to do
with it.
Only a root shell and kmail are up in KDE now, ksysguard is reporting 795MB
used, about 500MB of that is "application memory", the rest is mostly cache
which of course is fine. But no way should 500MB be allocated to user apps
when nothing is running.
Here is what top says, sorted by %Mem
top - 08:47:29 up 23:33, 15 users, load average: 0.14, 0.13, 0.10
Tasks: 104 total, 1 running, 103 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.6% us, 1.7% sy, 0.0% ni, 95.4% id, 0.3% wa, 0.0% hi, 0.0% si
Mem: 1034740k total, 795376k used, 239364k free, 25028k buffers
Swap: 1044216k total, 13768k used, 1030448k free, 239328k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7112 agreen 15 0 68528 44m 42m S 0.0 4.4 1:00.49 kmail
6603 root 15 0 118m 29m 89m S 1.3 2.9 15:05.33 X
9008 agreen 16 0 39264 15m 32m S 0.0 1.5 0:01.29 kdeinit
16579 root 16 0 27568 14m 23m S 0.7 1.5 0:07.01 ksysguard
16602 root 16 0 30760 13m 28m S 0.0 1.3 0:00.15 kdeinit
6752 agreen 15 0 31580 12m 26m S 0.0 1.2 1:40.89 kdeinit
16589 root 15 0 26356 12m 23m S 0.0 1.2 0:00.23 kdeinit
6784 agreen 15 0 29392 10m 24m S 0.7 1.0 0:09.22 kdeinit
6728 agreen 15 0 31896 9.9m 27m S 0.0 1.0 0:02.80 kdeinit
6777 agreen 16 0 27324 9272 23m S 0.0 0.9 0:00.86 kget
6748 agreen 16 0 27324 8856 23m S 0.0 0.9 0:11.16 kdeinit
6750 agreen 16 0 28808 8828 25m S 0.0 0.9 0:02.37 kdeinit
16587 root 15 0 25228 8480 23m S 0.0 0.8 0:00.00 kdeinit
6761 agreen 16 0 28480 8352 25m S 0.0 0.8 0:00.30 kgpg
6946 agreen 16 0 26056 8136 23m S 0.0 0.8 0:00.37 krandrtray
16585 root 15 0 23704 8064 22m S 0.0 0.8 0:00.00 kdeinit
7918 agreen 16 0 28144 7848 24m S 0.0 0.8 0:00.34 kdeinit
6742 agreen 16 0 31700 7816 28m S 0.0 0.8 0:00.43 kdeinit
6764 agreen 16 0 26268 7460 23m S 0.0 0.7 0:00.23 kdeinit
6773 agreen 16 0 24816 7344 22m S 0.0 0.7 0:00.24 kwalletmanager
6765 agreen 16 0 26244 7216 23m S 0.0 0.7 0:01.04 kdeinit
6747 agreen 16 0 26004 7100 23m S 0.0 0.7 0:00.27 kdeinit
6740 agreen 16 0 25848 6788 23m S 0.0 0.7 0:00.24 kdeinit
6780 agreen 16 0 18428 6240 16m S 0.0 0.6 0:00.32 eggcups
14513 agreen 16 0 12260 6224 9092 S 0.0 0.6 0:00.48 aspell
6786 agreen 16 0 27256 6036 24m S 0.0 0.6 0:00.21 kalarmd
9030 agreen 17 0 12292 5848 9092 S 0.0 0.6 0:00.14 aspell
1541 ntp 16 0 5784 5784 3612 S 0.0 0.6 0:00.09 ntpd
6725 agreen 16 0 26572 5680 24m S 0.0 0.5 0:00.11 kdeinit
7283 agreen 16 0 24660 5240 22m S 0.0 0.5 0:01.80 kdeinit
6723 agreen 16 0 24256 4872 22m S 0.0 0.5 0:00.73 kdeinit
6720 agreen 16 0 22480 4632 20m S 0.0 0.4 0:00.16 kdeinit
16581 root 15 0 21524 4508 20m S 0.0 0.4 0:00.00 kdeinit
1684 xfs 16 0 6464 3844 2388 S 0.0 0.4 0:02.35 xfs
6771 agreen 16 0 12684 3756 11m S 0.0 0.4 0:00.26 pam-panel-icon
16608 root 16 0 11780 3280 8804 S 0.0 0.3 0:00.00 smbd
14623 root 17 0 11672 3136 8796 S 0.0 0.3 0:00.01 smbd
1282 root 16 0 9064 2620 5952 S 0.0 0.3 0:00.43 cupsd
14627 root 16 0 8600 2024 6956 S 0.0 0.2 0:00.00 nmbd
6783 agreen 15 0 5972 1828 4944 S 0.0 0.2 0:00.06 gconfd-2
16612 postfix 17 0 6228 1824 4820 S 0.0 0.2 0:00.00 local
16609 postfix 16 0 6392 1628 4888 S 0.0 0.2 0:00.00 smtpd
16610 postfix 15 0 6044 1600 4804 S 0.0 0.2 0:00.00 cleanup
6607 root 18 0 4972 1584 3336 S 0.0 0.2 0:00.01 kdm
14601 postfix 16 0 6148 1464 4796 S 0.0 0.1 0:00.01 nqmgr
7980 root 16 0 4552 1416 3948 S 0.0 0.1 0:00.13 bash
14591 root 15 0 6564 1416 4724 S 0.0 0.1 0:00.02 master
14600 postfix 16 0 5944 1416 4764 S 0.0 0.1 0:00.00 pickup
7158 root 16 0 5708 1408 3948 S 0.0 0.1 0:00.11 bash
2048 root 16 0 5152 1404 3948 S 0.0 0.1 0:00.06 bash
8450 agreen 15 0 5112 1396 3948 S 0.0 0.1 0:00.03 bash
14953 postfix 15 0 6216 1380 4764 S 0.0 0.1 0:00.00 trivial-rewrite
16611 postfix 15 0 5644 1368 4764 S 0.0 0.1 0:00.00 trivial-rewrite
1828 root 16 0 3160 1344 1844 S 0.0 0.1 0:00.03 dhcpd
1497 root 20 0 5232 1324 3452 S 0.0 0.1 0:00.16 sshd
6790 agreen 15 0 5328 1272 3948 S 0.0 0.1 0:00.03 bash
6794 agreen 15 0 5504 1220 3948 S 0.0 0.1 0:00.03 bash
1838 root 17 0 4220 1028 2256 S 0.0 0.1 0:00.00 login
1845 root 15 0 3020 1020 1876 S 0.0 0.1 0:00.00 svscanboot
16607 agreen 16 0 2412 976 1784 R 0.3 0.1 0:00.65 top
7155 root 17 0 4720 972 3752 S 0.0 0.1 0:00.00 su
7977 root 16 0 5448 972 3752 S 0.0 0.1 0:00.00 su
6638 agreen 16 0 5264 968 3900 S 0.0 0.1 0:00.03 startkde
1736 messageb 16 0 3160 876 1700 S 0.0 0.1 0:00.00 dbus-daemon-1
1515 root 16 0 3036 820 1684 S 0.0 0.1 0:00.00 xinetd
16594 root 16 0 2588 812 1604 S 1.0 0.1 0:01.72 ksysguardd
6755 agreen 16 0 5400 796 4196 S 0.3 0.1 0:31.41 autorun
6759 agreen 16 0 2860 768 1604 S 0.0 0.1 0:03.11 ksysguardd
1260 root 16 0 3208 700 1368 S 0.0 0.1 0:00.00 smartd
6681 agreen 16 0 4120 676 3128 S 0.0 0.1 0:00.00 ssh-agent
1637 root 16 0 3124 640 1352 S 0.0 0.1 0:00.00 crond
6588 root 16 0 3640 592 2252 S 0.0 0.1 0:00.00 kdm
1717 daemon 16 0 2636 588 1344 S 0.0 0.1 0:00.00 atd
1183 root 15 0 2780 580 1296 S 0.0 0.1 0:00.50 syslogd
1 root 16 0 3440 520 1312 S 0.0 0.1 0:05.21 init
...
I logged out (now nv can go back to text mode without crashing!) and logged
back in, no real change in the memory usage. I killed X with
Ctrl-Alt-Backspace, on logging back in, no change.
I then went to virtual console 1 and did telinit 3. Here is /proc/meminfo
after that:
MemTotal: 1034740 kB
MemFree: 317820 kB
Buffers: 30868 kB
Cached: 267472 kB
SwapCached: 176 kB
Active: 163436 kB
Inactive: 147644 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 1034740 kB
LowFree: 317820 kB
SwapTotal: 1044216 kB
SwapFree: 1043912 kB
Dirty: 4 kB
Writeback: 0 kB
Mapped: 21676 kB
Slab: 398420 kB
Committed_AS: 63756 kB
PageTables: 1068 kB
VmallocTotal: 3088376 kB
VmallocUsed: 2260 kB
VmallocChunk: 3086016 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 4096 kB
I confirmed with top and ps-Af that nothing obvious was running that shouldn't
be and that the memory was still overallocated. Then on doing telinit 5 and
logging back in ksysguard STILL shows ~500MB allocated for user apps.
This is with the .300 test kernel. Currently only yum and perl updates from
the development repositories are unapplied, otherwise it is fully up to date.
So it seems something is eating memory overnight and it is nothing to do with
X. If it is a driver or the kernel itself, is there any easy way I can look
further into who has what?
- -Andy
- --
Find your answer without waiting for replies....
Searchable list archives at
http://marc.theaimsgroup.com/?l=fedora-list&r=1&w=2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAcRPujKeDCxMJCTIRAsInAKCH7NG1gJZH1vcOrqdpJVmPgXAkNQCfXOZ3
g9If9DWwzsDTPpE+278ZHis=
=xSH5
-----END PGP SIGNATURE-----
More information about the fedora-test-list
mailing list