Author Topic: Gdk-warning **: Shmget Failed  (Read 3749 times)

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Gdk-warning **: Shmget Failed
« on: December 08, 2006, 06:20:42 am »
Code: [Select]
(:17478): Gdk-WARNING **: shmget failed: error 28 (No space left on device)I seem to keep getting this error message when launching various apps from the shell. Usually it doesn't seem cause a problem but I've never seen it before recently which makes me wonder if it's a change/installed package I've made.

Well I've just installed meanies new gmplayer package and now it seems to be causing a problem, it quits with the error: [ws] shared memory extension error

I understand it is something to do with shared processes but thats about all.

Ideas? Suggestions?

Ta

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Gdk-warning **: Shmget Failed
« Reply #1 on: December 08, 2006, 01:40:17 pm »
Quote
Code: [Select]
(No space left on device)[div align=\"right\"][a href=\"index.php?act=findpost&pid=148499\"][{POST_SNAPBACK}][/a][/div]

Just searching and thinking ....

Maybe the answer is simple, how much space have you got left ?

probably not, found this on google :
Quote
check kern.shminfo.shmall and kern.shminfo.shmseg.
set them to a higher level.

for example put this in your /etc/sysctl.conf:
kern.shminfo.shmseg=32
kern.shminfo.shmall=32768
My system doesn't seem to have sysctl.conf, but i'm running r121.
Anyway, this is the reply
Quote
Thanks for the hint. But the've already those values:
$ sysctl -a | grep kern.shminfo.shmseg
kern.shminfo.shmseg = 32
$ sysctl -a | grep kern.shminfo.shmall
kern.shminfo.shmall = 32768
so it probably won't help you.

This should get you further :
Quote
shmget is a shared memory, so add this in /etc/sysctl.conf should solve 
it. This below also can make your desktop go smoother.

kern.ipc.shmmax=67108864
kern.ipc.shmall=32768

But if someone knows where to put these ....    

and "sysctl" is an unknown command on my Z.  

Chero.
« Last Edit: December 08, 2006, 01:58:05 pm by Chero »
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Gdk-warning **: Shmget Failed
« Reply #2 on: December 08, 2006, 06:29:27 pm »
sysctl isn't an included app on the current release... next build I will look into incorporating it in the rom....

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Gdk-warning **: Shmget Failed
« Reply #3 on: December 10, 2006, 06:15:39 pm »
Sorry, posted that and then was away for a few days and couldnt reply -

The problem seems to have fixed itself, at least, gmplayer is now running fine. If I work out what it was I'll post the answer here.

And thanks Chero for the info above, I should have mentioned straight off that I have plenty of disk space and free memory.

Ta