Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Давно не видел /proc/sys/kernel/shmmax...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
chernousov
Tux's lil' helper
Tux's lil' helper


Joined: 30 May 2004
Posts: 117

PostPosted: Mon Jul 14, 2008 11:06 pm    Post subject: Давно не видел /proc/sys/kernel/shmmax... Reply with quote

Когда-то был сабж, и иже с ними. Однако, уже давненько я потерял shm из виду. То ли с последними ядрами, то ли с переходом на x86_64. А вот сейчас shm понадобился, и чё-то я не пойму, как его вернуть к жизни.
Code:
find /proc -name "*shm*"

пусто...
Code:
zcat /proc/config.gz | grep -E "(SHM|IPC|TMPFS)"
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_SHMEM=y
# CONFIG_TINY_SHMEM is not set
CONFIG_TMPFS=y

tmpfs работает. А вот всё остальное, свяазанное с shared memory (типа shmget) - не пашет. Направьте на путь истинный, плиз.
Back to top
View user's profile Send private message
ba
l33t
l33t


Joined: 25 May 2003
Posts: 804

PostPosted: Tue Jul 15, 2008 6:31 pm    Post subject: Re: Давно не видел /proc/sys/kernel/shmmax... Reply with quote

chernousov wrote:
Когда-то был сабж, и иже с ними. Однако, уже давненько я потерял shm из виду. То ли с последними ядрами, то ли с переходом на x86_64. А вот сейчас shm понадобился, и чё-то я не пойму, как его вернуть к жизни.
Code:
find /proc -name "*shm*"

пусто...

хмм... у меня все там...
Code:
firefly!baz% sysctl -a | grep shm                                                                                                                       <22:26>
kernel.shmmax = 33554432
kernel.shmall = 2097152
kernel.shmmni = 4096
0 ~
firefly!baz% find /proc -name "*shm*"                                                                                                                   <22:26>
/proc/sys/kernel/shmmax
/proc/sys/kernel/shmall
/proc/sys/kernel/shmmni
Back to top
View user's profile Send private message
alexxy
Developer
Developer


Joined: 28 Jun 2005
Posts: 50
Location: Gatchina, St. Petersburg, Russia

PostPosted: Sat Jul 19, 2008 11:08 am    Post subject: Reply with quote

А в ядре включено создание deprecated proc files?
Если нет то параметра не будет. а через sysctl работать тем не менее все будет =)
_________________
Gentoo Team Russia
Working on Gentoo for iPAQ hx4700
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum