Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ok. So, I don't believe that just analyzing the RSS usage may reveal much clues about what the problem is. I've been running top at a Konsole session and keep watching it from time to time, and I'm doing this for days now. I can say that no single application is resposible for the problem. I know that Chrome browser (the one I use) is very resource greedy, and at times it really may be using too much memory, but this problem happens with other applications too, even when I restart a fresh desktop session.

Well, here I have produced three outputs from 'ps' the way you suggested.

First, the one I had when restarted the system, at 1 minute, and top was indicating 0MB swap usage as expected.

  PID USER       RSS COMMAND
 1366 rafael   73244 plasma-desktop
 1404 rafael   40484 krunner
 1427 rafael   39984 python
 1352 rafael   37796 kwin
 1865 rafael   35336 kwrite
  963 mysql    34660 mysqld
 1778 rafael   29360 konsole
 1284 rafael   28020 kded4
 1410 rafael   27120 kmix

Then, I launched the browser, and left three tabs open there. Also, I launched LibreOffice Writer and opened a document too. After doing some stuff, I had this, at 5 minutes and 115MB of swap.

  PID USER       RSS COMMAND
 2187 rafael   108268 soffice.bin
 2052 rafael   98332 chrome
 1982 rafael   90896 chrome
 2044 rafael   62668 chrome
 2073 rafael   59072 chrome
 1366 rafael   49632 plasma-desktop
 2021 rafael   46064 chrome
  980 root     30924 X
 1427 rafael   27884 python

Then I closed Writer, and opened another tab on Chrome. This time, I launched the Eclipse IDE too (I'm a IT student and need those things, so...). That's the most annoying experience I have, since I need to use the IDE while searching references in the Internet. That's the last 'ps' output, with 214MB of swap in only 10 minutes of uptime.

  PID USER       RSS COMMAND
 2252 rafael   156684 eclipse
 2052 rafael   103960 chrome
 1982 rafael   87096 chrome
 2073 rafael   78536 chrome
 2044 rafael   59456 chrome
 2230 rafael   45904 chrome
 2021 rafael   44488 chrome
 1366 rafael   41860 plasma-desktop
  980 root     31476 X

I know that this is too much, but I'm showing here just to illustrate how the system behaves. I hope it helps.

Ok. So, I don't believe that just analyzing the RSS usage may reveal much clues about what the problem is. I've been running top at a Konsole session and keep watching it from time to time, and I'm doing this for days now. I can say that no single application is resposible for the problem. I know that Chrome browser (the one I use) is very resource greedy, and at times it really may be using too much memory, but this problem happens with other applications too, even when I restart a fresh desktop session.

Well, here I have produced three outputs from 'ps' the way you ryran suggested.

First, the one I had when restarted the system, at 1 minute, and top was indicating 0MB swap usage as expected.

  PID USER       RSS COMMAND
 1366 rafael   73244 plasma-desktop
 1404 rafael   40484 krunner
 1427 rafael   39984 python
 1352 rafael   37796 kwin
 1865 rafael   35336 kwrite
  963 mysql    34660 mysqld
 1778 rafael   29360 konsole
 1284 rafael   28020 kded4
 1410 rafael   27120 kmix

Then, I launched the browser, and left three tabs open there. Also, I launched LibreOffice Writer and opened a document too. After doing some stuff, I had this, at 5 minutes and 115MB of swap.

  PID USER       RSS COMMAND
 2187 rafael   108268 soffice.bin
 2052 rafael   98332 chrome
 1982 rafael   90896 chrome
 2044 rafael   62668 chrome
 2073 rafael   59072 chrome
 1366 rafael   49632 plasma-desktop
 2021 rafael   46064 chrome
  980 root     30924 X
 1427 rafael   27884 python

Then I closed Writer, and opened another tab on Chrome. This time, I launched the Eclipse IDE too (I'm a IT student and need those things, so...). That's the most annoying experience I have, since I need to use the IDE while searching references in the Internet. That's the last 'ps' output, with 214MB of swap in only 10 minutes of uptime.

  PID USER       RSS COMMAND
 2252 rafael   156684 eclipse
 2052 rafael   103960 chrome
 1982 rafael   87096 chrome
 2073 rafael   78536 chrome
 2044 rafael   59456 chrome
 2230 rafael   45904 chrome
 2021 rafael   44488 chrome
 1366 rafael   41860 plasma-desktop
  980 root     31476 X

I know that this is too much, but I'm showing here just to illustrate how the system behaves. I hope it helps.

Ok. So, I don't believe that just analyzing the RSS usage may reveal much clues about what the problem is. I've been running top at a Konsole session and keep watching it from time to time, and I'm doing this for days now. I can say that no single application is resposible for the problem. I know that Chrome browser (the one I use) is very resource greedy, and at times it really may be using too much memory, but this problem happens with other applications too, even when I restart a fresh desktop session.

Well, here I have produced three outputs from 'ps' the way ryran suggested.

First, the one I had when restarted the system, at 1 minute, and top was indicating 0MB swap usage as expected.

  PID USER       RSS COMMAND
 1366 rafael   73244 plasma-desktop
 1404 rafael   40484 krunner
 1427 rafael   39984 python
 1352 rafael   37796 kwin
 1865 rafael   35336 kwrite
  963 mysql    34660 mysqld
 1778 rafael   29360 konsole
 1284 rafael   28020 kded4
 1410 rafael   27120 kmix

Then, I launched the browser, and left three tabs open there. Also, I launched LibreOffice Writer and opened a document too. After doing some stuff, I had this, at 5 minutes and 115MB of swap.

  PID USER       RSS COMMAND
 2187 rafael   108268 soffice.bin
 2052 rafael   98332 chrome
 1982 rafael   90896 chrome
 2044 rafael   62668 chrome
 2073 rafael   59072 chrome
 1366 rafael   49632 plasma-desktop
 2021 rafael   46064 chrome
  980 root     30924 X
 1427 rafael   27884 python

Then I closed Writer, and opened another tab on Chrome. This time, I launched the Eclipse IDE too (I'm a IT student and need those things, so...). That's the most annoying experience I have, since I need to use the IDE while searching references in the Internet. That's the last 'ps' output, with 214MB of swap in only 10 minutes of uptime.

  PID USER       RSS COMMAND
 2252 rafael   156684 eclipse
 2052 rafael   103960 chrome
 1982 rafael   87096 chrome
 2073 rafael   78536 chrome
 2044 rafael   59456 chrome
 2230 rafael   45904 chrome
 2021 rafael   44488 chrome
 1366 rafael   41860 plasma-desktop
  980 root     31476 X

I know that this is too much, but I'm showing here just to illustrate how the system behaves. I hope it helps.

[Edit] Seems like the system may run for hours using little to no swap space at all. And using just one application at a time means the same. The problem happens when using two or more apps at the same time, and how these apps spend the system resources.

But even when using just a single application may trigger the issue, like when undoing some edits on Writer or going to another web site using the same browser tab.

I know that these little actions may require more memory, like going to a page that have too much stupid social widgets embedded stress the scripting engines on a web browser, and when that happens, the system responses (as expected) giving more resources to these applications, but eating amounts of swap ranging from 20 to 60MB. Should these same things happen in Fedora 14, swap space would be used too, but just a little amount, nothing like that craziness that happens these days on my machine.

And to my surprise the RAM usage is perfectly fine, much like when using Fedora 14, raging from 200MB to more or less 500MB.