LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-06-2024, 01:47 AM   #1
giomat
Member
 
Registered: Jul 2017
Posts: 339

Rep: Reputation: 239Reputation: 239Reputation: 239
System freezes when renaming/moving to trash some particular folders


I've got a new system and something strange is happening using the latest -current.
Basically when I delete, rename or move to trash some folders the whole system freezes for 5secs approx.
It doesn't happen with every folder, only some particular locations, for example stuff in .local/share/icons, and sometimes when using slackpkg (I guess when it deletes files from old packages), and it's reproducible.

Anyone has an idea how can i further debug this? Already did a disk test and it seems healty.

My machine:
- Ryzen 7900
- Asrock motherboard
- Nvidia 3070ti
- 32GB DDR5 6000-CL30 RAM
- 1TB Lexar SSD
- Plasma 5 desktop
 
Old 04-06-2024, 02:41 AM   #2
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,818

Rep: Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493
Did you install the 64-bit OS?
Code:
$ uname -m
x86_64
 
Old 04-06-2024, 05:48 AM   #3
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 978

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Do you find anything interesting in log files below /var/log or in the output from dmesg?

If you are able to repeat the problem with something like:

Code:
mv /path/to/problematic/folder /to/new/location
... you might get a clue in the (rather big) output from:

Code:
strace -t -T mv /path/to/problematic/folder /to/new/location
On such an occasion, it might also be interesting to study the status from top. Is the machine load increasing? Are processes waiting for disk? Are processes consuming CPU? Does the swap usage increase? Does the amount of memory used for buff/cache hange?

If your system has a LED flashing at disk activity it might also be interesting to study the behavior of that LED. Does it constantly light up at such occasions?

Are you moving data between different partitions? If so, how much data? During the years, I have at some occasions seen problems with file servers with much RAM (about 256 GB) and spinning disks when moving, copying or writing big amounts of data to a partition. What happens then is that everything initially is very fast when the new data is cached/buffered in RAM. However, when the file server runs out of RAM it decides to flush all cached/buffered data at once and the entire system goes down to a crawl. However I don't think your problem comes from this as you "only" have 32 GB and a quick SSD drive.

regards Henrik
 
Old 04-06-2024, 09:12 AM   #4
giomat
Member
 
Registered: Jul 2017
Posts: 339

Original Poster
Rep: Reputation: 239Reputation: 239Reputation: 239
I double checked and the system is indeed 64bit.

Running the commands with strace, it returns instantly and then the freeze happens. In a separate htop window sometimes I was able to see a dolphin process or a kio process at 80+ percent of CPU but htop itself was not updating for some seconds until the freeze end.
Below the output of one of the strace that was followed by a brief freeze.

Code:
mat@darkstar:~/.local/share/icons$ strace -t -T mv Tango2 Tangobkp
16:00:14 execve("/usr/bin/mv", ["mv", "Tango2", "Tangobkp"], 0x7fff6a56b6c0 /* 68 vars */) = 0 <0.000162>
16:00:14 brk(NULL)                      = 0x8ed000 <0.000007>
16:00:14 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9308502000 <0.000008>
16:00:14 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=229043, ...}) = 0 <0.000005>
16:00:14 mmap(NULL, 229043, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f93084ca000 <0.000006>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/lib64/libacl.so.1", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 <0.000005>
16:00:14 fstat(3, {st_mode=S_IFREG|0755, st_size=39344, ...}) = 0 <0.000004>
16:00:14 mmap(NULL, 41424, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f93084bf000 <0.000006>
16:00:14 mmap(0x7f93084c1000, 20480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f93084c1000 <0.000009>
16:00:14 mmap(0x7f93084c6000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f93084c6000 <0.000008>
16:00:14 mmap(0x7f93084c8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f93084c8000 <0.000007>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/lib64/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 <0.000005>
16:00:14 fstat(3, {st_mode=S_IFREG|0755, st_size=26936, ...}) = 0 <0.000004>
16:00:14 mmap(NULL, 28992, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f93084b7000 <0.000007>
16:00:14 mmap(0x7f93084b9000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f93084b9000 <0.000010>
16:00:14 mmap(0x7f93084bc000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f93084bc000 <0.000007>
16:00:14 mmap(0x7f93084bd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f93084bd000 <0.000007>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\235\2\0\0\0\0\0"..., 832) = 832 <0.000005>
16:00:14 pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 <0.000005>
16:00:14 fstat(3, {st_mode=S_IFREG|0755, st_size=2359224, ...}) = 0 <0.000004>
16:00:14 pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 <0.000009>
16:00:14 mmap(NULL, 2097008, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9308200000 <0.000007>
16:00:14 mmap(0x7f9308228000, 1503232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7f9308228000 <0.000009>
16:00:14 mmap(0x7f9308397000, 352256, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x197000) = 0x7f9308397000 <0.000007>
16:00:14 mmap(0x7f93083ed000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ec000) = 0x7f93083ed000 <0.000010>
16:00:14 mmap(0x7f93083f3000, 53104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f93083f3000 <0.000007>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f93084b4000 <0.000006>
16:00:14 arch_prctl(ARCH_SET_FS, 0x7f93084b4740) = 0 <0.000005>
16:00:14 set_tid_address(0x7f93084b4a10) = 5213 <0.000004>
16:00:14 set_robust_list(0x7f93084b4a20, 24) = 0 <0.000004>
16:00:14 rseq(0x7f93084b5060, 0x20, 0, 0x53053053) = 0 <0.000004>
16:00:14 mprotect(0x7f93083ed000, 16384, PROT_READ) = 0 <0.000007>
16:00:14 mprotect(0x7f93084bd000, 4096, PROT_READ) = 0 <0.000006>
16:00:14 mprotect(0x7f93084c8000, 4096, PROT_READ) = 0 <0.000006>
16:00:14 mprotect(0x41d000, 4096, PROT_READ) = 0 <0.000006>
16:00:14 mprotect(0x7f9308539000, 8192, PROT_READ) = 0 <0.000008>
16:00:14 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 <0.000005>
16:00:14 munmap(0x7f93084ca000, 229043) = 0 <0.000014>
16:00:14 getrandom("\x41\xfa\xa0\xa3\x8a\xce\xae\xa0", 8, GRND_NONBLOCK) = 8 <0.000005>
16:00:14 brk(NULL)                      = 0x8ed000 <0.000004>
16:00:14 brk(0x90e000)                  = 0x90e000 <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000006>
16:00:14 openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=2998, ...}) = 0 <0.000005>
16:00:14 read(3, "# Locale name alias data base.\n#"..., 4096) = 2998 <0.000005>
16:00:14 read(3, "", 4096)              = 0 <0.000005>
16:00:14 close(3)                       = 0 <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=369, ...}) = 0 <0.000004>
16:00:14 mmap(NULL, 369, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9308501000 <0.000006>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/usr/lib64/gconv/gconv-modules.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=3916, ...}) = 0 <0.000005>
16:00:14 read(3, "# GNU libc iconv configuration.\n"..., 4096) = 3916 <0.000005>
16:00:14 read(3, "", 4096)              = 0 <0.000005>
16:00:14 close(3)                       = 0 <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/gconv/gconv-modules.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 <0.000006>
16:00:14 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 <0.000005>
16:00:14 getdents64(3, 0x8f10e0 /* 4 entries */, 32768) = 136 <0.000009>
16:00:14 openat(AT_FDCWD, "/usr/lib64/gconv/gconv-modules.d/v4l-utils.conf", O_RDONLY|O_CLOEXEC) = 4 <0.000006>
16:00:14 fstat(4, {st_mode=S_IFREG|0644, st_size=290, ...}) = 0 <0.000004>
16:00:14 read(4, "#\tfrom\t\t\tto\t\t\tmodule\t\tcost\nalias"..., 4096) = 290 <0.000005>
16:00:14 read(4, "", 4096)              = 0 <0.000004>
16:00:14 close(4)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/usr/lib64/gconv/gconv-modules.d/gconv-modules-extra.conf", O_RDONLY|O_CLOEXEC) = 4 <0.000005>
16:00:14 fstat(4, {st_mode=S_IFREG|0644, st_size=53974, ...}) = 0 <0.000004>
16:00:14 read(4, "# GNU libc iconv configuration.\n"..., 4096) = 4096 <0.000005>
16:00:14 read(4, "B1002//\tJUS_I.B1.002//\nmodule\tJU"..., 4096) = 4096 <0.000005>
16:00:14 read(4, "59-5//\nalias\tISO_8859-5//\t\tISO-8"..., 4096) = 4096 <0.000005>
16:00:14 read(4, "59-16//\t\tINTERNAL\t\tISO8859-16\t1\n"..., 4096) = 4096 <0.000005>
16:00:14 read(4, "-SE-A\t1\nmodule\tINTERNAL\t\tEBCDIC-"..., 4096) = 4096 <0.000005>
16:00:14 read(4, "97\t\t1\n\n#\tfrom\t\t\tto\t\t\tmodule\t\tcos"..., 4096) = 4096 <0.000005>
16:00:14 read(4, "1\n\n#\tfrom\t\t\tto\t\t\tmodule\t\tcost\nal"..., 4096) = 4096 <0.000005>
16:00:14 read(4, "6//\t\tIBM1046//\nalias\tCP1046//\t\tI"..., 4096) = 4096 <0.000005>
16:00:14 read(4, "\tto\t\t\tmodule\t\tcost\nalias\tRUSCII/"..., 4096) = 4096 <0.000005>
16:00:14 brk(0x92f000)                  = 0x92f000 <0.000005>
16:00:14 read(4, "03//\nmodule\tCSN_369103//\t\tINTERN"..., 4096) = 4096 <0.000005>
16:00:14 read(4, "\tmodule\t\tcost\nalias\tISO-IR-8-1//"..., 4096) = 4096 <0.000005>
16:00:14 read(4, "IBM1156\t\t1\n\n#\tfrom\t\t\tto\t\t\tmodule"..., 4096) = 4096 <0.000005>
16:00:14 read(4, "\t\tIBM1166//\nalias\tCP1166//\t\tIBM1"..., 4096) = 4096 <0.000005>
16:00:14 read(4, "alias\tROMAN9//\t\tHP-ROMAN9//\nalia"..., 4096) = 726 <0.000005>
16:00:14 read(4, "", 4096)              = 0 <0.000005>
16:00:14 close(4)                       = 0 <0.000005>
16:00:14 getdents64(3, 0x8f10e0 /* 0 entries */, 32768) = 0 <0.000005>
16:00:14 close(3)                       = 0 <0.000005>
16:00:14 futex(0x7f93083f290c, FUTEX_WAKE_PRIVATE, 2147483647) = 0 <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0 <0.000005>
16:00:14 mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9308500000 <0.000006>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=59, ...}) = 0 <0.000005>
16:00:14 mmap(NULL, 59, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f93084ff000 <0.000006>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=167, ...}) = 0 <0.000005>
16:00:14 mmap(NULL, 167, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f93084fe000 <0.000007>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=77, ...}) = 0 <0.000004>
16:00:14 mmap(NULL, 77, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f93084fd000 <0.000006>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3 <0.000005>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0 <0.000004>
16:00:14 mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f93084fc000 <0.000006>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 <0.000005>
16:00:14 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 <0.000005>
16:00:14 close(3)                       = 0 <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 <0.000005>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=57, ...}) = 0 <0.000004>
16:00:14 mmap(NULL, 57, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f93084fb000 <0.000006>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=286, ...}) = 0 <0.000005>
16:00:14 mmap(NULL, 286, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f93084fa000 <0.000006>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_TIME", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=3316, ...}) = 0 <0.000005>
16:00:14 mmap(NULL, 3316, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f93084f9000 <0.000006>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3 <0.000005>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=54, ...}) = 0 <0.000004>
16:00:14 mmap(NULL, 54, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f93084f8000 <0.000005>
16:00:14 close(3)                       = 0 <0.000004>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000005>
16:00:14 openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 <0.000006>
16:00:14 fstat(3, {st_mode=S_IFREG|0644, st_size=360460, ...}) = 0 <0.000005>
16:00:14 mmap(NULL, 360460, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f930845b000 <0.000006>
16:00:14 close(3)                       = 0 <0.000008>
16:00:14 geteuid()                      = 1000 <0.000005>
16:00:14 ioctl(0, TCGETS, {c_iflag=ICRNL|IXON|IXOFF|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0 <0.000006>
16:00:14 renameat2(AT_FDCWD, "Tango2", AT_FDCWD, "Tangobkp", RENAME_NOREPLACE) = 0 <0.000031>
16:00:14 lseek(0, 0, SEEK_CUR)          = -1 ESPIPE (Illegal seek) <0.000005>
16:00:14 close(0)                       = 0 <0.000005>
16:00:14 close(1)                       = 0 <0.000005>
16:00:14 close(2)                       = 0 <0.000005>
16:00:14 exit_group(0)                  = ?
16:00:14 +++ exited with 0 +++
mat@darkstar:~/.local/share/icons$  cd /
mat@darkstar:/$  cd /home/mat/.local/share/icons
Curiously I tried repeating the steps in a windowmaker session and there everything is smooth, perhaps there's something plasma is doing under the hood, like putting watchers on some folders (these experiments were made in the local user icons folder) and locking the desktop when one of these goes away abruptively with a move or delete action.

I forgot to mention that I'm running with the proprietary nvidia driver, the plasma session is X11 and the bootloader is grub.

EDIT: for henca, I'm using a single ext4 root partition in the ssd, there's should be no issue there. I'm also using swap in zram with the swapinzram slackbuilds of marav, but I don't think thats the issue, since this was happening also in the beginning of my installation, where I used a regular swap partition of 2GB from the SSD, also my 32GB of ram were practically empty during the tests, plenty of room to allocate whatever the system wants

Last edited by giomat; 04-06-2024 at 09:15 AM.
 
Old 04-06-2024, 03:19 PM   #5
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 978

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
mv should be quick within a single partition and your strace output also shows that it all completed within the same second 16:00:14. The simple rename function call only took 0.000031 seconds (that is 31 us).

Like you, I guess that it is something in Plasma that gets confused about files moving around. The fact that such a process can freeze your entire system could be explained by real time priority processes occupying all CPU on threads on a machine, but modern CPUs usually have plenty of cores. It might rather be Plasma itself that stops updating graphics when some other part of Plasma is doing work.

As you have already found that the problem does not occur in another desktop environment things has been narrowd down to Plasma.

regards Henrik
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trash is Full. Empty Trash before moving more files/folders to Trash. wdarledge Slackware 45 12-13-2017 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration