OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: zi99y on December 08, 2006, 06:20:42 am

Title: Gdk-warning **: Shmget Failed
Post by: zi99y 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
Title: Gdk-warning **: Shmget Failed
Post by: Chero 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.
Title: Gdk-warning **: Shmget Failed
Post by: InSearchOf 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
Title: Gdk-warning **: Shmget Failed
Post by: zi99y 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