Waiting for Shared Memory - Ubuntu

Tom M
Tom M
Joined: 2 Feb 06
Posts: 6471
Credit: 9595406689
RAC: 6368773
Topic 228819

Hi,

On this system.

I am getting this message "...Waiting for shared memory..." on both the grp#1 GPU tasks and on the WCG cpu tasks.

I have confirmed the available Boinc Memory is set at 90% for both active/inactive in the  BoincMgr GUI.

The Linux system monitor says I am using about 1/3 if the available 16 GB of ram.

I have switched on above 4G.

I searched for the message and it sounds like making most of my ram available should have cleared the error.

Any ideas?

Tom M

 

A Proud member of the O.F.A.  (Old Farts Association).  Be well, do good work, and keep in touch.® (Garrison Keillor)  I want some more patience. RIGHT NOW!

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4969
Credit: 18771620335
RAC: 7241239

You shouldn't be getting that

You shouldn't be getting that message on a modern OS and current BOINC

Your memory usage setting in BOINC has nothing to do with the error.

Shared memory is NOT system memory.

What does lsipc show?

What does du -h /dev/shm/ show?

You are running out of shared memory segments from running too many projects that have exceeded the default Ubuntu settings or more likely you have WAY too many browser tabs open.  The browser writes a ton to the shared memory segments.

What does sudo lsof /dev/shm show?

 

Tom M
Tom M
Joined: 2 Feb 06
Posts: 6471
Credit: 9595406689
RAC: 6368773

tlgalenson@Ryzen-Charon:~$

tlgalenson@Ryzen-Charon:~$ lsipc
RESOURCE DESCRIPTION                                              LIMIT  USED  USE%
MSGMNI   Number of message queues                                 32000     0 0.00%
MSGMAX   Max size of message (bytes)                               8192     -     -
MSGMNB   Default max size of queue (bytes)                        16384     -     -
SHMMNI   Shared memory segments                                    4096    23 0.56%
SHMALL   Shared memory pages                       18446744073692774399 10429 0.00%
SHMMAX   Max size of shared memory segment (bytes) 18446744073692774399     -     -
SHMMIN   Min size of shared memory segment (bytes)                    1     -     -
SEMMNI   Number of semaphore identifiers                          32000     0 0.00%
SEMMNS   Total number of semaphores                          1024000000     0 0.00%
SEMMSL   Max semaphores per semaphore set.                        32000     -     -
SEMOPM   Max number of operations per semop(2)                      500     -     -
SEMVMX   Semaphore max value                                      32767     -     -
tlgalenson@Ryzen-Charon:~$

 

tlgalenson@Ryzen-Charon:~$ du -h /dev/shm/
0    /dev/shm/
tlgalenson@Ryzen-Charon:~$

 

tlgalenson@Ryzen-Charon:~$ sudo lsof /dev/shm show?
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/125/gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse file system /run/user/1000/doc
      Output information may be incomplete.
lsof: status error on show?: No such file or directory
tlgalenson@Ryzen-Charon:~$

 

 

 

 

A Proud member of the O.F.A.  (Old Farts Association).  Be well, do good work, and keep in touch.® (Garrison Keillor)  I want some more patience. RIGHT NOW!

Tom M
Tom M
Joined: 2 Feb 06
Posts: 6471
Credit: 9595406689
RAC: 6368773

I think some part of Boinc

I think some part of Boinc got garbled.

After I re-installed BOINC AIO (without pandora) and reset both projects the strangeness went away.

Running the stock grp#1 right now.

Tom M

A Proud member of the O.F.A.  (Old Farts Association).  Be well, do good work, and keep in touch.® (Garrison Keillor)  I want some more patience. RIGHT NOW!

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4969
Credit: 18771620335
RAC: 7241239

Everything looks normal

Everything looks normal except for your last command which should not have included show on the command line.  The show was an interrogative.

sudo lsof /dev/shm

was what I asked for.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.