Re: Starting emacs gives "shmget failed: error 28" message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 09/03/2015 01:56 PM, m.roth@xxxxxxxxx wrote:
Robert Nichols wrote:
On 09/03/2015 04:00 AM, Nicolas Thierry-Mieg wrote:
just a shot in the dark, but what do you have in
/proc/sys/kernel/shmmni ?

According to man shmget:
ENOSPC All possible shared memory IDs have been taken  (SHMMNI),  or
allocating  a  segment  of  the requested  size  would  cause  the
system  to  exceed  the system-wide limit on shared memory (SHMALL).

"cat /proc/sys/kernel/shmmni" shows 4096.

And, I find that "wc -l /proc/sysvipc/shm" shows that they are indeed
all in use. A badly coded java game appears to be the culprit. It's
grabbing SHM IDs by the thousands.

Thanks for the pointer.  Your shot in the dark was right on target.


Simple solution: vi.

emacs was just the messenger. There was a real problem with the game
(which has nothing to do with emacs) grabbing all the SM IDs.  Simple
solution is to run the game under java-1.6.0-openjdk. It only
misbehaves with java-1.7.0-openjdk.

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux