1 |
um. that makes NO sense at ALL. |
2 |
Besides, youve missed the point that using 99% of your physical memory |
3 |
is not a problem. However, the fact that /proc/sys/vm/swappiness does |
4 |
not exist is extreemly wierd, maybe you need support for it compiled |
5 |
into your kernel. While youre at it, maybe you need to check some |
6 |
other parts of your kernel config. Make sure you have shared memory |
7 |
support compiled into your kernel! |
8 |
|
9 |
|
10 |
On Sat, 31 Jul 2004 10:31:35 -0600, Gyujin Park <gark@××××××.com> wrote: |
11 |
> thanks, |
12 |
> weird though, swapiness does not exist in 2004.2 in this server. It does in my |
13 |
> desktop 2004.0. |
14 |
> |
15 |
> but i found the big secret formula to clear up memory. Even though I am not sure. |
16 |
> (Thanks to Bart Alewijnse) |
17 |
> |
18 |
> dd if=/dev/hda1 of=/dev/null bs=400M |
19 |
> |
20 |
> It frees out a lot of memory. |
21 |
> However, swap still doesn't work. |
22 |
> |
23 |
> Tom |
24 |
> |
25 |
> On Sat Jul 31 10:25 , Colin Kingsley <ckingsley@×××××.com> sent: |
26 |
> |
27 |
> >just a thought. A server environment might benefit from setting the |
28 |
> >swappiness factor higher. try echo "100" > /proc/sys/vm/swappiness |
29 |
> > |
30 |
> >On Sat, 31 Jul 2004 07:27:36 -0600, Gyujin Park gpark@××××××.com> wrote: |
31 |
> >> Yes, response in Apache, and vsFTP gets really slow until more memory frees out. |
32 |
> >> (Report from users and other admins while I was testing the system.) |
33 |
> >> |
34 |
> >> Thanks, |
35 |
> >> |
36 |
> >> Tom |
37 |
> >> |
38 |
> >> On Fri Jul 30 20:42 , Colin Kingsley ckingsley@×××××.com> sent: |
39 |
> >> |
40 |
> >> >As far as I know, your system should be stable. The details of how |
41 |
> >> >much memory/swap is used at any given moment probably depends on your |
42 |
> >> >kernel, how much memory you have, etc. |
43 |
> >> > |
44 |
> >> >Do you have any actual evidence of the slow down you mentioned? the |
45 |
> >> >system should begin using swap when/if it needs to. it looks to me |
46 |
> >> >like you discovered the "free" command and are seeing problems where |
47 |
> >> >none exist. |
48 |
> >> > |
49 |
> >> >On Sat, 31 Jul 2004 03:53:58 +0200, lukas lukas@××××××.de> wrote: |
50 |
> >> >> On Saturday 31 July 2004 02:42, Gyujin Park wrote: |
51 |
> >> >> > Does this mean the system will be still stable with 99% memory usage? |
52 |
> >> >> > I mean, at some point it should turn into swap. The system reaches up |
53 |
> >> >> > to 99% physical memory usage with less than 3 MB of physical memory |
54 |
> >> >> > left. |
55 |
> >> >> |
56 |
> >> >> "free" gives me the following outout on my workstation: |
57 |
> >> >> |
58 |
> >> >> total used free shared buffers cached |
59 |
> >> >> Mem: 1550840 1308096 242744 0 94244 859148 |
60 |
> >> >> -/+ buffers/cache: 354704 1196136 |
61 |
> >> >> Swap: 522104 23868 498236 |
62 |
> >> >> |
63 |
> >> >> About 84% memory is used. But about 900MB are used for caching and |
64 |
> >> >> buffering, so in fact there are only about 346MB in "real use". |
65 |
> >> >> If your memory is 99% without buffers and cache, then there is |
66 |
> >> >> something wrong (but I don't know what). |
67 |
> >> >> Can you see a process that consumes that much memory when you are |
68 |
> >> >> calling "ps" or "top"? |
69 |
> >> >> What kind of kernel do you use? |
70 |
> >> >> |
71 |
> >> >> cu |
72 |
> >> >> |
73 |
> >> >> lukas |
74 |
> >> >> |
75 |
> >> >> |
76 |
> >> >> |
77 |
> >> > |
78 |
> >> >-- |
79 |
> >> >gentoo-performance@g.o mailing list |
80 |
> >> > |
81 |
> >> |
82 |
> >> ---- Introducing Spymac MailPro: http://www.spymac.com/mailpro/ |
83 |
> >> |
84 |
> >> -- |
85 |
> >> gentoo-performance@g.o mailing list |
86 |
> >> |
87 |
> >> |
88 |
> > |
89 |
> >-- |
90 |
> >gentoo-performance@g.o mailing list |
91 |
> > |
92 |
> |
93 |
> ---- Introducing Spymac MailPro: http://www.spymac.com/mailpro/ |
94 |
> |
95 |
> -- |
96 |
> gentoo-performance@g.o mailing list |
97 |
> |
98 |
> |
99 |
|
100 |
-- |
101 |
gentoo-performance@g.o mailing list |