Is my ram usage too high

I am a bit concern about my ram usage, my server usage is for web only, I have lamp, ispconfig, adobe communication server running

Am I in trouble if I receive peaks user in the 2000k in a day?

total used free shared buffers cached

Mem: 360 332 27 0 18 109

-/+ buffers/cache: 205 154

Swap: 255 53 202

5 Replies

154MB free with 53MB into swap (or ~260MB "allocated") looks pretty good to me. Are you noticing any weird jumps in memory usage in particular situations or anything like that?

not really, I'm just a noob in fact, I started on linux some months ago and finally got a server up and running (after numerous try)

I was afraid of the 27. on the first line.

Should I generally look at the second line instead?

Take a look with vmstat:````
peter@fremont ~ $ vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 140 8648 60452 73076 0 0 1 1 6 14 0 0 100 0

````
and pay attention to si and so (swapped in and swapped out). Depending on your usage, the kernel will swap out VM pages that have not been accessed recently in order to free up RAM for buffers. A little swapping in those circumstances is OK, but if those numbers start to climb - you're swapping active pages and your performance will suffer.

@Karnius:

I was afraid of the 27. on the first line.

Should I generally look at the second line instead?

Yeah… you (have paid|are paying) good money for that memory, so the kernel will tend to cache data/objects/programs in memory to keep things fast. This can involve swapping stuff to disk if the kernel thinks that's the most efficient way to go. (It would be a shame to keep getty in memory just because there's still free RAM, you know? :-) -rt

what a nice kernel it is to do that for me.

Si and so are not moving from 0 so all is good,

Thank you for the explications

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct