LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Debian desktop OS -is sluggish (https://www.linuxquestions.org/questions/linux-desktop-74/debian-desktop-os-is-sluggish-4175736409/)

Penstroke4 04-25-2024 08:52 AM

Debian desktop OS -is sluggish
 
My Debian OS system is sluggish (keep buffering) each time pressing the mouse button, opening/switching a page tab, deleting and saving is not running normally.
It used to be under 3 second to get the desire response but due to the sluggishness it takes upto 10seconds longer to see the response.
What must I do to revert to normal desktop?
Thanks

My desktop is Debian GNU/Linux 11 (bullseye) running Wayland dual boot with Windows 10.
My home properties/directory content is 4.2Gb with 3.0Gb free space.
My Debian partition reside on a 82.0Gb (has 2.9 Gb free space) separate from windows 10 partiton on a 240.0 Gb SSD.
I have tried cleaning Bleachbit, empty Trash and clear cache in Chrome but problem still remains

Thanks for helping

business_kid 04-25-2024 10:06 AM

If you're not on Windows 11, this box must be a few years old. Please supply us more detail. Post the output of:
  • inxi -bDv 2
  • lsblk

I had Debian Bullyeye running on a RazPi 4B @1.8 GHz and it wasn't sluggish so something is wrong. What software are you running?

DavidMcCann 04-25-2024 11:18 AM

If you are using the default GUI, Gnome, that may be the problem — it's very demanding. Try installing the Xfce desktop. You can then switch to it when you log in and see if that gives a better experience. I have Debian Xfce on a computer that's just coming up to its 21st birthday! It's not fast, but it certainly doesn't have your problems.

craigevil 04-25-2024 03:26 PM

I would start by updating to Bookworm. Wayland has had a lot of fixes since Bullseye.
XFCE on Xorg on my 4 year old Raspberry pi400 runs great.

frankbell 04-25-2024 08:41 PM

It's a long shot, but you might consider running top or htop to see whether you've got any rogue processes.

yancek 04-26-2024 07:47 AM

Quote:

My Debian partition reside on a 82.0Gb (has 2.9 Gb free space)
If the / filesystem partition is a total of 82GB and you have only 2.9GB free on it, that is below the threshold and it will likely stop booting soon. Linux will keep 5% for system use and you are below that. I don't understand your comment about 'home', is your personal data on a separate /home partition or are you simply referring to the /home directory?

Clean out some directories/files you don't need or use or delete old log files in /var/log. Resize/enlarge the partition if you can or get another drive.

Penstroke4 04-26-2024 09:53 PM

inxi -bDv 2 and lsblk
 
Quote:

Originally Posted by business_kid (Post 6498222)
If you're not on Windows 11, this box must be a few years old. Please supply us more detail. Post the output of:
  • inxi -bDv 2
  • lsblk

I had Debian Bullyeye running on a RazPi 4B @1.8 GHz and it wasn't sluggish so something is wrong. What software are you running?

///////////
as I have migrated from Windows and do not understand the tech.jargon, I have no idea how to run the inxi -bDv 2, I had search the web for guide to run inxi -dDv2 and lsblk
but unable to find the right guide[*]inxi -bDv 2[*]lsblk

Also I like to add before the sluggishness happened my system was running fine and is normal with multi-tasking but not now.

I am at a lost, pls help
Thanks

Penstroke4 04-26-2024 10:11 PM

I will try switching to xfce desktop and revert.
Thanks

business_kid 04-27-2024 06:59 AM

Quote:

Originally Posted by Penstroke4
I have no idea how to run the inxi -bDv 2...

Cmon, you must have some confidence in yourself. Open a terminal. If you have a problem, press Alt_F2 and type 'xfce4-terminal'

Highlight each command start to finish with your mouse, & use the middle button to paste into the terminal. Press return. You can do the same to include them in your reply.

yancek 04-27-2024 08:20 AM

You seem to be aware of what is causing your problems from your original post indicating the size of the filesystem partition and free space. You need to move or delete data or enlarge the partition. As to the commands suggested, they will provide information but won't fix anything. Type lsblk in a terminal and hit the enter key and you will see the output. Do the same with inxi and you will likely be told to install and be given the command to do so. You can also use the df -h command while booted into Debian to see the size, used, available space for the filesystem partition.

Penstroke4 04-29-2024 06:21 PM

Settled of posting
 
Quote:

Originally Posted by yancek (Post 6498379)
If the / filesystem partition is a total of 82GB and you have only 2.9GB free on it, that is below the threshold and it will likely stop booting soon. Linux will keep 5% for system use and you are below that. I don't understand your comment about 'home', is your personal data on a separate /home partition or are you simply referring to the /home directory?

Clean out some directories/files you don't need or use or delete old log files in /var/log. Resize/enlarge the partition if you can or get another drive.

After getting advice in this forum, I have tried without success on running inxi-dBv. Tried without success to install xfce desktop- installed in terminal -has installed but xfce desktop does not show up. finally settled for MATE desktop which perform better yet still has minimal buffering which is acceptable lag.
finally is looking to clear /var/log & [5.6 Gb] /var/lib [31.0Gb]. will revert on the outcome -thanks for helping.

friendlysalmon8827 05-01-2024 02:30 PM

May I suggest that the OP try installing a utility such as bleach bit in order to go through the file system and search for cache files also ibleachbit will allow you to clear out both caches and unused language packs and prune through your file system and delete stuff like the local apt-cache.

sudowtf 05-03-2024 03:22 PM

maybe nothing helpful, but for a couple years i ran without any swap-disk. if my memory filled up, this is what i experienced as well. the entire OS was practically unusable. and often i found Firefox to be the memory hog.

Agree that your root should have more than a few GB available at any one time, otherwise potential for disaster. Maybe some apt cleaning auto-removing may help, but likely need larger partition or deeper cleanup.

business_kid 05-05-2024 06:54 AM

I cd to / and run 'du -sh *' /tmp is also a suspect, especially if you build stuff.
But you can go through the sub-directories of any directory in /with basically the same command. Divide & conquer.

I also have my browser's directories in ~/.cache symlinked to directories in /dev/shm. I create those in rc.local, owned by my user & group. Switch off the box or reboot, and your caches magically vanish.


All times are GMT -5. The time now is 09:12 AM.