Questions tagged [shm]

8 questions
11
votes
1 answer

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 Ubuntu 16.04 LTS server. Is there some sort of garbage…
Sonny
  • 1,295
  • 1
  • 9
  • 15
5
votes
1 answer

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 tmpfs /tmp tmpfs…
3
votes
1 answer

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's 3.6 GiB, but it's slowly getting worse.…
Dugi
  • 1,077
3
votes
1 answer

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/shm (as documented in section 7. of that guide) …
3
votes
1 answer

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 code, I compiled it with g++ myprogram.c -o…
Junaid
  • 41
2
votes
2 answers

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 not supported (known names: ) Maybe you need to…
sventech
  • 140
1
vote
1 answer

/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 directories by myself. Now I looked up the command…
dan-lee
  • 233
1
vote
0 answers

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 RAM. shm_open(), ftruncate(), and mmap() give no…
geenweb
  • 29