简体   繁体   English

GemStone无法启动,并说“没有剩余空间”

[英]GemStone doesn't start, says “no space left”

I'm trying to start GemStone for MagLev. 我正在尝试为MagLev启动GemStone。 Here is an error that I get in a log: 这是我在日志中遇到的错误:

GemStone could not create the semaphore array required for the cache. GemStone无法创建缓存所需的信号量数组。

Reason: GemStone could not retrieve the IPC identifier associated with the semaphore key -704540831. 原因:GemStone无法检索与信号键-704540831关联的IPC标识符。 semget() error = errno=28,ENOSPC, There is no space left on the device (or, in fcntl(), there are no more record locks). semget()错误= errno = 28,ENOSPC,设备上没有剩余空间(或者在fcntl()中,不再有记录锁)。

Full logs are available in a gist . 完整的日志一目了然

Does it really lack space? 它真的缺乏空间吗? I have 7 GB available. 我有7 GB可用空间。 Are there any other issues in my case? 我还有其他问题吗?

I've grabbed Maglev from git master and ran update script. 我已经从git master那里获取了Maglev并运行了更新脚本。 Now it works fine. 现在工作正常。

I don't know the exact reason behind the issue but it might have been one of the following: 我不知道问题背后的确切原因,但可能是以下原因之一:

  • I've used ruby-build and rbenv. 我用过ruby-build和rbenv。 Now I install by hand outside of rbenv. 现在,我在rbenv之外手动安装。
  • I had wrong kernel settings (such as shmmax). 我的内核设置错误(例如shmmax)。 Recently I adjusted those for Postgres. 最近,我针对Postgres进行了调整。
  • That was an issue in Maglev itself and it has been fixed in newer versions. 这是Maglev本身的问题,并且已在较新版本中修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM