Reputation
3,979
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
7 18
Newest
 Good Answer
Impact
~113k people reached

2d
answered Why is /dev a subdirectory of / (the root)?
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
I'd have thought it would end up using XWayland though; I find it interesting if that behaves significantly different to an X-only system.
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
Heh, if that's a realistic option, it sounds like a good way to avoid the legacy that is SysV shared memory :).
Apr
30
revised Linux using whole swap, becoming unresponsive while there is plenty of free RAM
added 635 characters in body
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
Hmm, this doesn't quite make sense to me. Apparently ipcs requires read access, so technically you should run it as root. Not expecting that to help if it's X-related though.
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
Another reason to worry about SysV shm leaks, is that it would mean the OOM killer wouldn't be able to free them at all. They can hang around outside of the process that created them, so the OOM killer wouldn't find the guilty party, and it killing processes wouldn't solve the problem.
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
Xorg VIRT is commonly described as including mappings of the video card RAM. So we don't know if the VIRT value is typical for your system... We have 5.7G shared, 4G swap, then at least 1.7G shared must be resident (in RAM). But Xorg only shows 150M RSS / resident, so Xorg's current mappings can't account for the large amount of shared memory. Also this suggests the Xorg figure must include device memory, to make that up to 8G. The one SHM entry you showed is 4G (python -c "print 0x7f8d44afa000-0x7f8d446fa000"); leaking a few of those after using them might well cause the problem.
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
I think the shm must exist, or it wouldn't be listed. I see the same on my machine. I think the (deleted) is a way of saying that the filename doesn't really exist, I think it would look similar if you mmapped a file and then deleted the file (the mmapped memory would still work).
Apr
30
revised Linux using whole swap, becoming unresponsive while there is plenty of free RAM
added 917 characters in body
Apr
30
comment Linux using whole swap, becoming unresponsive while there is plenty of free RAM
The 6GB of cache is actually 6GB of shared memory. I've updated my second answer to include information on legacy shared system V memory, but hopefully it's regular mmap() and you won't need that section.
Apr
30
revised Linux using whole swap, becoming unresponsive while there is plenty of free RAM
added 917 characters in body
Apr
30
answered Linux using whole swap, becoming unresponsive while there is plenty of free RAM
Apr
30
answered Linux using whole swap, becoming unresponsive while there is plenty of free RAM
Apr
30
accepted Significance of groups assigned to user by Debian installer (only)?
Apr
30
revised Fedora Linux: I installed sendmail but now bash mail notification doesn't work
added 7 characters in body
Apr
30
comment Fedora Linux: I installed sendmail but now bash mail notification doesn't work
@ThomasDickey Good point but no. I can see mail being delivered to /var/spool/mail in both cases.
Apr
30
revised Fedora Linux: I installed sendmail but now bash mail notification doesn't work
fix path to sendmail binary
Apr
30
asked Fedora Linux: I installed sendmail but now bash mail notification doesn't work
Apr
27
comment Is group priority available?
@siblynx Weird. I went from the Linux manpage "id - print real and effective user and group IDs". Sounds like OS X is not POSIX compliant, despite being based on existing BSD code. pubs.opengroup.org/onlinepubs/9699919799/utilities/id.html
Apr
27
answered Is group priority available?