Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Massive memory usage when running just the console
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
treeman1111
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2013
Posts: 77

PostPosted: Mon May 20, 2013 11:08 pm    Post subject: Massive memory usage when running just the console Reply with quote

Hey, I am rather amazed with this, after recently installing Funtoo, I set up X and ran conky. It showed that 6 GB's of my RAM were being used....by nothing. What is causing this, and how do I fix it?

Code:

top - 15:08:27 up  2:58,  2 users,  load average: 0.10, 0.40, 0.67
Tasks: 244 total,   1 running, 243 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.5 us,  0.3 sy,  0.0 ni, 98.6 id,  0.6 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:  32878816 total,  6477044 used, 26401772 free,      404 buffers
KiB Swap:        0 total,        0 used,        0 free,   685880 cached

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                 
26583 root      20   0  326568 120160 100516 S 3.222 0.365   0:07.96 X                                                                                                                                                                       
26608 duncan    20   0  568452  70316  40240 S 0.967 0.214   0:03.61 chrome                                                                                                                                                                 
26686 duncan    20   0  937972  52120  29032 S 0.967 0.159   0:02.24 chrome                                                                                                                                                                 
26714 duncan    20   0  410108  14380  10432 S 0.967 0.044   0:00.14 gnome-terminal                                                                                                                                                         
  626 root      20   0       0      0      0 S 0.322 0.000   0:00.59 kworker/4:1                                                                                                                                                             
 1197 root      39  19       0      0      0 S 0.322 0.000   0:03.92 z_wr_iss/6                                                                                                                                                             
26599 duncan    20   0  501828   4320   3412 S 0.322 0.013   0:00.87 conky                                                                                                                                                                   
    1 root      20   0    4216    704    608 S 0.000 0.002   0:00.67 init                                                                                                                                                                   
    2 root      20   0       0      0      0 S 0.000 0.000   0:00.00 kthreadd                                                                                                                                                               
    3 root      20   0       0      0      0 S 0.000 0.000   0:00.04 ksoftirqd/0                                                                                                                                                             
    4 root      20   0       0      0      0 S 0.000 0.000   0:00.56 kworker/0:0                                                                                                                                                             
    5 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 kworker/0:0H                                                                                                                                                           
    7 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 kworker/u:0H                                                                                                                                                           
    8 root      rt   0       0      0      0 S 0.000 0.000   0:00.09 migration/0                                                                                                                                                             
    9 root      20   0       0      0      0 S 0.000 0.000   0:00.00 rcu_bh                                                                                                                                                                 
   10 root      20   0       0      0      0 S 0.000 0.000   0:10.58 rcu_sched                                                                                                                                                               
   11 root      rt   0       0      0      0 S 0.000 0.000   0:00.28 migration/1                                                                                                                                                             
   12 root      20   0       0      0      0 S 0.000 0.000   0:00.04 ksoftirqd/1                                                                                                                                                             
   14 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 kworker/1:0H                                                                                                                                                           
   15 root      rt   0       0      0      0 S 0.000 0.000   0:00.08 migration/2                                                                                                                                                             
   16 root      20   0       0      0      0 S 0.000 0.000   0:00.02 ksoftirqd/2                                                                                                                                                             
   17 root      20   0       0      0      0 S 0.000 0.000   0:00.00 kworker/2:0                                                                                                                                                             
   18 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 kworker/2:0H                                                                                                                                                           
   19 root      rt   0       0      0      0 S 0.000 0.000   0:00.65 migration/3                                                                                                                                                             
   20 root      20   0       0      0      0 S 0.000 0.000   0:00.04 ksoftirqd/3                                                                                                                                                             
   22 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 kworker/3:0H                                                                                                                                                           
   23 root      rt   0       0      0      0 S 0.000 0.000   0:00.07 migration/4                                                                                                                                                             
   24 root      20   0       0      0      0 S 0.000 0.000   0:00.02 ksoftirqd/4                                                                                                                                                             
   26 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 kworker/4:0H                                                                                                                                                           
   27 root      rt   0       0      0      0 S 0.000 0.000   0:00.28 migration/5                                                                                                                                                             
   28 root      20   0       0      0      0 S 0.000 0.000   0:00.04 ksoftirqd/5                                                                                                                                                             
   29 root      20   0       0      0      0 S 0.000 0.000   0:00.00 kworker/5:0                                                                                                                                                             
   30 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 kworker/5:0H                                                                                                                                                           
   31 root      rt   0       0      0      0 S 0.000 0.000   0:00.06 migration/6                                                                                                                                                             
   32 root      20   0       0      0      0 S 0.000 0.000   0:00.02 ksoftirqd/6                                                                                                                                                             
   33 root      20   0       0      0      0 S 0.000 0.000   0:00.00 kworker/6:0                                                                                                                                                             
   34 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 kworker/6:0H                                                                                                                                                           
   35 root      rt   0       0      0      0 S 0.000 0.000   0:00.27 migration/7                                                                                                                                                             
   36 root      20   0       0      0      0 S 0.000 0.000   0:00.05 ksoftirqd/7                                                                                                                                                             
   38 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 kworker/7:0H                                                                                                                                                           
   39 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 khelper                                                                                                                                                                 
   40 root      20   0       0      0      0 S 0.000 0.000   0:00.00 kdevtmpfs                                                                                                                                                               
   41 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 netns                                                                                                                                                                   
  362 root      20   0       0      0      0 S 0.000 0.000   0:00.00 bdi-default                                                                                                                                                             
  364 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 kblockd                                                                                                                                                                 
  498 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 ata_sff                                                                                                                                                                 
  506 root      20   0       0      0      0 S 0.000 0.000   0:00.00 khubd                                                                                                                                                                   
  513 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 md                                                                                                                                                                     
  522 root      20   0       0      0      0 S 0.000 0.000   0:00.00 kworker/0:1                                                                                                                                                             
  523 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 cfg80211                                                                                                                                                               
  627 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 rpciod                                                                                                                                                                 
  628 root      20   0       0      0      0 S 0.000 0.000   0:00.58 kworker/6:1                                                                                                                                                             
  629 root      20   0       0      0      0 S 0.000 0.000   0:00.00 kworker/7:1                                                                                                                                                             
  630 root      20   0       0      0      0 S 0.000 0.000   0:00.56 kworker/2:1                                                                                                                                                             
  666 root      20   0       0      0      0 S 0.000 0.000   0:00.00 kswapd0                                                                                                                                                                 
  732 root      20   0       0      0      0 S 0.000 0.000   0:00.00 fsnotify_mark                                                                                                                                                           
  740 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 nfsiod                                                                                                                                                                 
  747 root       0 -20       0      0      0 S 0.000 0.000   0:00.00 crypto                                                                                                                                                                 
  781 root      20   0       0      0      0 S 0.000 0.000   0:00.00 kworker/u:2                                                                                                                                                             
  830 root      20   0       0      0      0 S 0.000 0.000   0:00.00 scsi_eh_0                                                                                                                                                               
  833 root      20   0       0      0      0 S 0.000 0.000   0:00.00 scsi_eh_1                                                                                                                                                               


Thanks for the help.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon May 20, 2013 11:35 pm    Post subject: Reply with quote

Moved from Desktop Environments to Unsupported Software. Not about Gentoo so it fits better here.

Since you're using top, I'd do the following:
  • hit 'x' to highlight the sort column.
  • Hit '<' until the VIRT column is highlighted.
  • Hit 'i' (perhaps twice) to ensure that you're showing idle processes.
My guess is that, once you're looking at the right thing, you'll find out what's using the memory. Probably there's nothing to fix. :wink:

- John

P.S.: You're code listing is a mess. Appreciate it if you'd delete all those trailing spaces.
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Tue May 21, 2013 8:48 am    Post subject: Re: Massive memory usage when running just the console Reply with quote

treeman1111 wrote:
Hey, I am rather amazed with this, after recently installing Funtoo, I set up X and ran conky. It showed that 6 GB's of my RAM were being used....by nothing. What is causing this, and how do I fix it?

Top only details what the tasks are requiring.
There are many things on a system which consume ram but are not tasks.
Starting with the kernel, drivers, ramdisks...
I'd bet on a ramdisk or something of the kind (tmpfs/shm...)
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum