OpenVZ Forum


Home » General » Support » Can't set fs.mqueue.msg_max
Can't set fs.mqueue.msg_max [message #51938] Tue, 24 March 2015 13:33 Go to previous message
jakm is currently offline  jakm
Messages: 1
Registered: March 2015
Junior Member
Hello,
I need to increase POSIX MessageQueue length to 100 inside the container, but every attempt fails with 'permission denied'. Host system has length set to 100 and container to 10 (after start). We tried this commands:

[prod]root@virt2:/root# vzctl enter 32013
entered into CT 32013
root@broker:/# sysctl -w fs.mqueue.msg_max=100
sysctl: permission denied on key 'fs.mqueue.msg_max'

root@broker:/# echo 100 > /proc/sys/fs/mqueue/msg_max
-bash: /proc/sys/fs/mqueue/msg_max: Permission denied


Container has set this capabilities:
CAPABILITY="CHOWN:on DAC_OVERRIDE:on DAC_READ_SEARCH:on FOWNER:on FSETID:on KILL:on SETGID:on SETUID:on SETPCAP:on LINUX_IMMUTABLE:on NET_BIND_SERVICE:on NET_BROADCAST:on NET_ADMIN:on NET_RAW:on IPC_LOCK:on IPC_OWNER:on SYS_MODULE:on SYS_RAWIO:on SYS_CHROOT:on SYS_PTRACE:on SYS_PACCT:on SYS_ADMIN:on SYS_BOOT:on SYS_NICE:on SYS_RESOURCE:on SYS_TIME:on SYS_TTY_CONFIG:on MKNOD:on LEASE:on VE_ADMIN:on FS_MASK:on" 


Kernel and vzclt versions:
* 2.6.32-openvz-042stab104.1-amd64
* vzctl version 4.8

Any idea what is wrong? Thanks.

Jakub
 
Read Message
Read Message
Read Message
Previous Topic: Restore snapshot
Next Topic: enable openvz quota on main node
Goto Forum:
  


Current Time: Tue Jul 30 03:23:34 GMT 2024

Total time taken to generate the page: 0.02782 seconds