Questions tagged [shm]
The shm tag has no usage guidance.
10
questions
0
votes
0
answers
38
views
Is there a way to relocate all data traffic to/from /tmp to /dev/shm/tmp? [duplicate]
Is there a way to relocate all data traffic to/from /tmp to /dev/shm/tmp? The performance of the RAM is always faster than the SSD. Furthermore, /tmp is used to store short-term temporary files. For a ...
0
votes
0
answers
40
views
Screen logs and launching script at boot (/profile.d vs /init.d)
I had a script file (myScript.sh) with the following contents in /etc/profile.d with the to launch at start/reboot. It worked well - no issues.
#/bin/bash
screen -dmS p1 /home/pi/process1/process1d.sh
...
1
vote
0
answers
205
views
Why is this bus error occurring when reading through a shared memory object?
Version: Ubuntu 22.04.3
GCC: 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
Hi,
I'm trying to create a program with a very large shared memory object. This is being done on an AWS EC2 instance with 130GB of ...
5
votes
1
answer
5k
views
Is the `size` parameter for tmpfs in fstab not working?
I am confused about whether my /tmp using tmpfs is respecting the size parameter that I gave to it in /etc/fstab:
My fstab entries now read:
root_pool/var/tmp /tmp /var/tmp zfs rw,nodev,nosuid 0 0
...
3
votes
1
answer
2k
views
Shared memory takes gigabytes
I have problems with huge RAM consumption by an unknown entity. It is not listed in top, but the amount of memory available decreases over time and turning off all programs does nothing. Currently, it'...
10
votes
1
answer
4k
views
16.04 LTS and /dev/shm/ Files Disappearing
I am migrating a web application that was previously running on Ubuntu 12.04 LTS. It makes extensive use of /dev/shm/. I'm finding that the application data is disappearing from /dev/shm/ on the ...
2
votes
2
answers
14k
views
How can I get Apache SSL to work in 13.10 after upgrade?
I've just upgraded to 13.10 from 13.04 and my Apache config won't load. I get this error:
AH00526 Syntax error on line 43 of /etc/apache2/mods-enabled/ssl.conf:
SSLSessionCache: 'shmcb' session cache ...
1
vote
1
answer
2k
views
/run/lock and /run/shm missing
Recently I found /run/lock and /run/shm folders to be missing.
I tried to recover some files with a mounted disk, I now know that this may caused the harm. So unaware what to do, I created these ...
3
votes
1
answer
3k
views
How can I modify the default behaviour of Ubuntu 12.04 (& 12.10) to prevent a symbolic link from /dev/shm to /run/shm ever being created on boot up?
Whilst installing Oracle 11gR2 Express Edition on Ubuntu 12.04 by following the Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto and have encountered the Oracle memory target problem with /dev/...
3
votes
1
answer
3k
views
undefined reference to `XShmQueryVersion'
I am try to compile a simple codebase that use simple X11 functions
but it gives error at compile:
(.text+0x1c): undefined reference to `XShmQueryVersion'
I used the XShmQueryVersion function in my ...