lkml.org 
[lkml]   [1997]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: pre-2.0.31 swap usage screwed
On Wed, 28 May 1997, Jon Lewis wrote:

> On Wed, 28 May 1997, Jon Lewis wrote:
>
> > What's wrong with this picture?:
> >
> > yoda:~# free
> > total used free shared buffers cached
> > Mem: 127896 121840 6056 56956 6272 27984
> > -/+ buffers: 87584 40312
> > Swap: 165880 2097151 165884
> > yoda:~# cat /proc/meminfo
> > total: used: free: shared: buffers: cached:
> > Mem: 130965504 125546496 5419008 60973056 6422528 28762112
> > Swap: 169861120 4294963200 169865216
> > MemTotal: 127896 kB
> > MemFree: 5292 kB
> > MemShared: 59544 kB
> > Buffers: 6272 kB
> > Cached: 28088 kB
> > SwapTotal: 165880 kB
> > SwapFree: 165884 kB
> >
> > This is pre-patch 2.0.31 + Eric's TCP fixes + kmalloc fds patch in a dual
> > P150 running a non-SMP kernel. Uptime 13d20:48.
> >
> > It looks like swap used has somehow gone negative by 4096 bytes, and free
> > from proc-ps 1.01 is printf'ing the unsigned ints as signed ints.
>
> Whatever happened, it's getting further. Now I'm using -8kb of swap.
>
> yoda:~# free
> total used free shared buffers cached
> Mem: 127896 122936 4960 55460 14132 20904
> -/+ buffers: 87900 39996
> Swap: 165880 2097151 165888

ok...just found part of the problem. I had one user who had somehow hung
a dozen or more copies of cucipop v1.13
Locking strategies: dotlocking fcntl()
Optional commands: USER/PASS APOP TOP UIDL

When I killed all those hung cucipop's, the swap usage report suddenly got
back to normal...
yoda:~# free
total used free shared buffers cached
Mem: 127896 120488 7408 47764 12076 25848
-/+ buffers: 82564 45332
Swap: 165880 124 165756

Very weird.

------------------------------------------------------------------
Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will
Network Administrator | be proof-read for $199/message.
Florida Digital Turnpike |
________Finger jlewis@inorganic5.fdt.net for PGP public key_______


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.066 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site