[21535:1024/110250.474949:ERROR:platform_shared_memory_region_posix.cc(214)] Creating shared memory in /dev/shm/.org.chromium.Chromium.AWjDy5 failed: No such file or directory (2)
[21535:1024/110250.475299:ERROR:platform_shared_memory_region_posix.cc(217)] Unable to access(W_OK|X_OK) /dev/shm: No such file or directory (2)
[21535:1024/110250.475574:FATAL:platform_shared_memory_region_posix.cc(219)] This is frequently caused by incorrect permissions on /dev/shm. Try 'sudo chmod 1777 /dev/shm' to fix.
In the whole manjaro-wiki-Page I don’t find any entry for “shm”. A short research in the Internet shows, that it’s seems to be an alternate place (and naming) for tmpfs.
So what to do? Should I just create a symbolic link from /dev/shm to /tmp?
It actually tells you it does not have permissions to write…maybe you should return the defaults? Actually, you can even comment out the whole line and let systemd take care of it automatically. We had a recent discussion here
To be clear, I’m not saying OP should use their tmpfs entry, which is wrong, but not because it’s smaller than swap. I would’ve told them to use the default entry or remove the tmpfs altogether, but I think enough people have already done so.
As @cscs pointed out, the default max size is half of RAM…swap’s size, even it’s existence is totally irrelevant to tmpfs, unless you want to hibernate and even then it’s the size of the RAM that matters (or more accurately the size of the current contents of RAM and swap).
It’s not efficient and you have to monitor it so it is enough. I prefer the system take care of that.
I f.ex would HATE if I could not use my memory to unpack and directly play blueray movies that are HUGE. I prefer the linux way over windows that creates tempfiles on a hard-drive.
But you went there, now explain how all of it goes, I was about to, but you came in and told me I was wrong so go ahead and explain how EVERYTING works for op since you recommend AGAINST the default line.
Please don’t tag me again, this thread is not about me.
You took over, help OP. Explain it all.
I don’t know what you’re talking about. How does swap have anything to do with tmpfs?
So if I comprehend correctly, you unpack bluerays to your /tmp dir?
It sounds more like a preference, than anything else.
You’re the one arguing against the defaults. I said to use the default entry or to remove it thereby still using the defaults (which is half the size of RAM, not 14.9G or the size of swap).
No, I simply corrected you. I made no attempt to take over as @Teo and @Nachlese had already covered it all.
OP has been helped, we’re now waiting for them to reply.
tmpfs is a temporary filesystem in RAM, the default max size is half the size of RAM.
swap is a place for pages to be swapped out of memory, it doesn’t have to exist, but is usually beneficial.
All Manjaro systems have a tmpfs for /tmp, and they all have varying amounts of swap, ranging from none to 32GB+. The size of RAM also varies so therefore the size of the tmpfs also varies.
The only time swap has any relevance to tmpfs, is when you want to hibernate, then swap has to exist so that the contents of memory can be put there. In that case swap needs to be bigger than everything already in RAM and swap, presumably including the tmpfs (all of them, though there’s usually only one).