[linux-audio-dev] shared memory question

Dave Phillips dlphilp at bright.net
Tue Sep 23 16:59:01 UTC 2003


Greetings LADders:

  I'm working with Kjetil's vstserver, testing various plugins, and
occasionally I get this error from the server :

	VSTSERVER/SMS_new: Unable to allocate 12288 bytes of shared memory.
	VSTSERVER/CH_new: Could not set up shared memory.

  The plugin then politely refuses to load. 'cat /proc/meminfo' reports
:

        total:    used:    free:  shared: buffers:  cached:
Mem:  526311424 511303680 15007744        0 70569984 234008576
Swap: 337195008 223801344 113393664
MemTotal:       513976 kB
MemFree:         14656 kB
MemShared:           0 kB
Buffers:         68916 kB
Cached:         208332 kB
SwapCached:      20192 kB
Active:         253612 kB
Inactive:       177876 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       513976 kB
LowFree:         14656 kB
SwapTotal:      329292 kB
SwapFree:       110736 kB


  I tried expanding the shared amount with 'echo some-big-number >
/proc/sys/kernel/shmmax' but still got the error. I'm obviously not
understanding something, so I turn to the wizards for help. Is there a
fix for this problem ?

Best regards,

== dp



More information about the Linux-audio-dev mailing list