The question is: Do you end up using any swap or not?
This gets discussed frequently... at least to the point about how Linux
reports low numbers of free memory... but what is reported and what is
actual are usually two different things. If you have 2GB of RAM and you
don't actually use any swap, then I wouldn't worry. Linux will clean up
the allocation tables as needed.
Here's my system right now. I have 66 processes. Numbers are in MB.
total used free shared buffers cached
Mem: 124 114 9 53 32 38
-/+ buffers/cache: 43 80
Swap: 258 0 258
I'm doing next to nothing. I'm not using 114MB I can tell you that much,
but Linux just hasn't found the need to clean up the unused portion as of
yet.
I don't do the shared memory thing, but the general idea is all the same.
If you can't put your finger on it, then there's prolly nothing to worry
about.
Anyone else with ideas? :)
On Tue, 20 Feb 2001, RaghuNath L wrote:
> Hi,
>
> I am running on redhat 6.2 with 2.2.18 kernel ,
>
> i have in cre sed shmax =0*400000 for 200000 in /opt/linux/include/asm/shparam.h file
>
> after this performence is really good but look at top out put it shows almost all
>the memory bieng consumed by what?
>
> i need to run vsim on this so i need atleast 1 gb free wil i be able to do that here
>even 1.9gb is consumed by os it self?
>
> or is there any thing wrong with thr shared memory?
>
> Mem: 2057392128 2047148032 10244096 26361856 1822961664 20733952
> Swap: 4194582528 446464 4194136064
> MemTotal: 2009172 kB
> MemFree: 10004 kB
> MemShared: 25744 kB
> Buffers: 1780236 kB
> Cached: 20248 kB
> SwapTotal: 4096272 kB
> SwapFree: 4095836 kB
>
> what is this buffers in the /proc/meminfo.
>
> please help me out
>
> 12:14pm up 3 days, 16:43, 1 user, load average: 1.00, 0.97, 0.75
> 48 processes: 44 sleeping, 3 running, 1 zombie, 0 stopped
> CPU states: 16.7% user, 83.2% system, 0.0% nice, 0.0% idle
> Mem: 2009172K av, 1999296K used, 9876K free, 26144K shrd, 1780236K buff
> Swap: 4096272K av, 436K used, 4095836K free 20248K cached
>
> PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
> 9965 x00raghu 14 0 10360 10M 6400 R 0 98.4 0.5 23:56 netscape-com
> 10059 x00raghu 0 0 1004 1004 780 R 0 1.5 0.0 0:00 top
> 1 root 0 0 476 476 404 S 0 0.0 0.0 0:00 init
> 2 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kflushd
> 3 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kupdate
> 4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod
> 5 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kswapd
> 6 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 md_thread
> 387 bin 0 0 412 396 320 S 0 0.0 0.0 0:00 portmap
> 409 root 0 0 516 512 428 S 0 0.0 0.0 0:00 rpc.statd
> 424 root 0 0 444 444 392 S 0 0.0 0.0 0:00 ypbind
> 426 root 0 0 488 476 412 S 0 0.0 0.0 0:00 ypbind
> 467 root 0 0 552 548 444 S 0 0.0 0.0 0:00 automount
> 470 root 0 0 552 548 444 S 0 0.0 0.0 0:00 automount
> 483 root 0 0 552 548 444 S 0 0.0 0.0 0:00 automount
> 496 root 0 0 552 548 444 S 0 0.0 0.0 0:00 automount
> 509 root 0 0 552 548 444 S 0 0.0 0.0 0:00 automount
> 522 root 0 0 552 548 444 S 0 0.0 0.0 0:00 automount
> 535 root 0 0 552 548 444 S 0 0.0 0.0 0:00 automount
> 557 root 0 0 552 548 444 S 0 0.0 0.0 0:00 automount
> 569 root 0 0 552 548 444 S 0 0.0 0.0 0:00 automount
> 618 root 0 0 504 500 404 S 0 0.0 0.0 0:00 syslogd
> 627 root 0 0 696 692 304 S 0 0.0 0.0 0:00 klogd
> 641 nobody 0 0 452 436 348 S 0 0.0 0.0 0:00 identd
> 643 nobody 0 0 452 436 348 S 0 0.0 0.0 0:00 identd
> 644 nobody 0 0 452 436 348 S 0 0.0 0.0 0:00 identd
> 645 nobody 0 0 452 436 348 S 0 0.0 0.0 0:00 identd
> 646 nobody 0 0 452 436 348 S 0 0.0 0.0 0:00 identd
> 659 root 0 0 568 564 460 S 0 0.0 0.0 0:00 crond
> 673 root 0 0 464 460 388 S 0 0.0 0.0 0:00 inetd
> 709 root 0 0 336 320 268 S 0 0.0 0.0 0:00 gpm
> 793 xfs 0 0 2904 2860 772 S 0 0.0 0.1 0:00 xfs
> 812 root 0 0 408 408 340 S 0 0.0 0.0 0:00 mingetty
> 813 root 0 0 408 408 340 S 0 0.0 0.0 0:00 mingetty
> 814 root 0 0 408 408 340 S 0 0.0 0.0 0:00 mingetty
> 815 root 0 0 408 408 340 S 0 0.0 0.0 0:00 mingetty
> 977 root 0 0 408 408 340 S 0 0.0 0.0 0:00 mingetty
>
> --
> Regards ph:5099025
> RaghuNath L pager:9624395369
> WSS-Team,Texas Instruments India.
> You have to live on the edge of reality -
> to make your dreams come true!!!
>
>
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
--
-Statux
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list