LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   system maintenance after running wheezy/kde for some time (https://www.linuxquestions.org/questions/debian-26/system-maintenance-after-running-wheezy-kde-for-some-time-4175537834/)

voyager2014 03-25-2015 03:14 PM

system maintenance after running wheezy/kde for some time
 
Hello! My system runs on debian wheezy with kde for almost a year now. It has all the updates until now. I use my system mainly for web browsing, emailing, playing music and some other basic office related tasks. Really not a high-end user I may say.
The problem is that my system gets slower and slower and before investing in new hardware I would really like to know if there is some things I can do to clean it up. The thing is, I don't know where to start. The problem gets worse if I open iceweasle with flash or java. Sometimes it takes minutes to load pages with much graphics. Any help much appreciated!

Head_on_a_Stick 03-25-2015 03:33 PM

Post the output of:
Code:

df -h

voyager2014 03-25-2015 04:19 PM

Filesystem Size Used Avail Use Mounted on
rootfs 33G 9.4G 22G 31% /
udev 10M 0 10M 0% /dev
tmpfs 99M 840K 98M 1% /run
/dev/disk/by-uuid/5b7894c0-eaa6-4857-8f0a-fff06da22800 33G 9.4G 22G 31% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 960M 7.5M 953M 1% /run/shm
/dev/sda6 38G 26G 11G 71% /home

there are some entries of NFS mounted disks left out

Head_on_a_Stick 03-26-2015 02:50 PM

I'm not sure why your system is slowing down; I thought that maybe your drive was full but clearly that is not the case.

Debian wheezy should not slow down over time. That behaviour would be expected in Windows but not Debian.

Do you track your memory usage at all? Is that very high?

Have you tried browsing with javascript disabled? Either disable it from about:config or try the "noscript" add-on.

voyager2014 03-27-2015 06:54 AM

First, many thanks for yr reply HOAS.
No, disk space is clearly not the problem here. I switched from Windows to Debian years ago because I was tired of reinstalling my system every half year :)

Unfortunately I need javascript. Disabeling it will stop some sites to work, so this is not an option.
I also found out that my system swaps regularly and memory is almost constantly above 80%. It has 1 GB, so I think I need to pay the hardware store a visit...
Do you think expanding mem will do the trick?

Head_on_a_Stick 03-27-2015 02:55 PM

Quote:

Originally Posted by voyager2014 (Post 5338358)
I also found out that my system swaps regularly and memory is almost constantly above 80%. It has 1 GB, so I think I need to pay the hardware store a visit...
Do you think expanding mem will do the trick?

Yes, definitely.

KDE is quite "heavy" in respect of memory usage.

Rather than buy more memory, you could try a "lighter" desktop -- LXDE has the lowest memory requirement of any full desktop environment* and is very usable; XFCE is only slightly more demanding and is almost as full-featured as KDE.

I tend to prefer bare-bones pure window manager environments and these use less memory again -- even in my 8GiB 64-bit laptop, DWM uses 87MiB...

https://flexion.org/posts/2014-03-me...ironments.html

widget 03-27-2015 04:21 PM

Because your install has slowed down it would be good to know why. Thus the suggestion to disable java. This doesn't need to be a permenant thing.

You can check your memory usage with and with out it enabled and see if that is the differenc.

Have you run the complicated command, as user;
Code:

top
This will give you lots of information on what applications are using memory.

You have to admit, though, that there no publically released, with radio play (a while back anyway) songs about reinstalling Gnu/Linux as there was with Reinstalling Windows. What an honor it was to use an OS that was inspiration to a song writer.

voyager2014 04-11-2015 08:56 AM

browsing with javascript enabled decreases performance dramatically, but as said before, I need it so frequently, disabling is not an option.
After some further investigation, I will do the following
- expand physical memory from 1 GB to 3 GB
- switch to xfce because of the better prformance over kde
But, I have never installed a new display manager over an existing one, I found a short guide on the debian site, so my last question will be: is there a clear walkthrough to install xfce over kde?
Many thanks so far

Head_on_a_Stick 04-12-2015 07:57 AM

Quote:

Originally Posted by voyager2014 (Post 5345825)
is there a clear walkthrough to install xfce over kde?

Code:

# apt-get install xfce4 xfce4-goodies
Then select "XFCE4 Session" from KDE.
https://wiki.debian.org/Xfce#Install...stalled_system

jlinkels 04-12-2015 12:57 PM

If you run KDE with less than 2GB of memory you'll often find your system like frozen because it started swapping.

Check top and the %wa in the 3rd line. If it shows a percentage over 2% you are suffering swapping.

If the system became slowly slower, check your web browser. They get heavier and heavier and they script complete applications.

Like someone else siad, KDE does not get slower over time all by itself.

jlinkels

voyager2014 04-13-2015 06:31 AM

i have now 3 GB internal memory and the replacement of kde with xfc been done. I will test performance for a while but so far it has never been so good.
Many thanks for all the help!


All times are GMT -5. The time now is 02:25 PM.