LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   97% Memory, Static Server w/ Nginx (https://www.linuxquestions.org/questions/linux-server-73/97-memory-static-server-w-nginx-940501/)

Fcukinyahoo 04-18-2012 12:47 PM

97% Memory, Static Server w/ Nginx
 
2 Attachment(s)
I have a server serving static content running only Samba and Nginx. the memory is at 97%, command "top" confirms 97% full, but non of the proceses taking that much as "top shows"

What might be the reason.

Code:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND               
11476 nobody    20  0 19808 3992 1428 S  1.7  0.1  3:04.38 nginx                   
12752 administ  20  0  105m 1964 1556 S  0.3  0.1  0:00.27 bash                   
12941 root      20  0 15240 1444 1020 R  0.3  0.0  0:00.01 top                     
    1 root      20  0 19272 1192  924 S  0.0  0.0  0:01.03 init                   
    2 root      20  0    0    0    0 S  0.0  0.0  0:00.00 kthreadd               
    3 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/0             
    4 root      20  0    0    0    0 S  0.0  0.0  0:00.08 ksoftirqd/0             
    5 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/0             
    6 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 watchdog/0             
    7 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/1             
    8 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/1             
    9 root      20  0    0    0    0 S  0.0  0.0  0:00.00 ksoftirqd/1             
  10 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 watchdog/1             
  11 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/2             
  12 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/2             
  13 root      20  0    0    0    0 S  0.0  0.0  0:00.00 ksoftirqd/2             
  14 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 watchdog/2             
  15 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/3             
  16 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/3             
  17 root      20  0    0    0    0 S  0.0  0.0  0:00.00 ksoftirqd/3             
  18 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 watchdog/3             
  19 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/4             
  20 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/4             
  21 root      20  0    0    0    0 S  0.0  0.0  0:00.00 ksoftirqd/4             
  22 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 watchdog/4             
  23 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/5             
  24 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/5             
  25 root      20  0    0    0    0 S  0.0  0.0  0:00.00 ksoftirqd/5             
  26 root      RT  0    0    0    0 S  0.0  0.0  0:00.01 watchdog/5             
  27 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/6             
  28 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/6             
  29 root      20  0    0    0    0 S  0.0  0.0  0:00.00 ksoftirqd/6             
  30 root      RT  0    0    0    0 S  0.0  0.0  0:00.10 watchdog/6             
  31 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/7             
  32 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/7             
  33 root      20  0    0    0    0 S  0.0  0.0  0:00.00 ksoftirqd/7             
  34 root      RT  0    0    0    0 S  0.0  0.0  0:00.01 watchdog/7             
  35 root      20  0    0    0    0 S  0.0  0.0  0:00.00 events/0


TobiSGD 04-18-2012 01:27 PM

Have a look here: http://www.linuxatemyram.com/
Nothing wrong at with your system.

Fcukinyahoo 04-18-2012 01:45 PM

explains alot. thanks.
only weird thing is it doesnt do it on other servers that i have such as dev environment.

I will have to look into how centos decides to reserve that space.

Thank you for your reply.


All times are GMT -5. The time now is 03:21 AM.