SYS V IPC: changing message queue params

This is a discussion on SYS V IPC: changing message queue params within the Linux Administration forums, part of the Linux Forums category; I need to increase the SYS V message queue params for a production SuSE 8.2 environment. Having some trouble ...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-30-2003
Richard
 
Posts: n/a
Default SYS V IPC: changing message queue params


I need to increase the SYS V message queue params for a production
SuSE 8.2 environment. Having some trouble finding some guidance.

Specifically, I want to increase the number of messages available per
queue and system wide, and the number of bytes per queue and system
wide. I can reduce the number of queues from 128 (default) to 10 if
that helps.

Anyway, does anyone know of links on this, or know about it?

--
For email, put NOT SPAM in Subject or I'll probably miss it.
<><
Reply With Quote
  #2 (permalink)  
Old 09-03-2003
kyle
 
Posts: n/a
Default Re: SYS V IPC: changing message queue params

I think you want to use sysctl.
example:
/sbin/sysctl -w kernel.msgmax=256
or use whatever number you want instead of 256.
check out the other variables in /proc/sys/kernel, especially msgmnb and
msgmni, and the man page for sysctl. You may want to modify your
/etc/sysctl.conf file. Hope this helps.
Regards,
Kyle

Richard wrote:
> I need to increase the SYS V message queue params for a production
> SuSE 8.2 environment. Having some trouble finding some guidance.
>
> Specifically, I want to increase the number of messages available per
> queue and system wide, and the number of bytes per queue and system
> wide. I can reduce the number of queues from 128 (default) to 10 if
> that helps.
>
> Anyway, does anyone know of links on this, or know about it?
>


Reply With Quote
  #3 (permalink)  
Old 09-03-2003
Richard
 
Posts: n/a
Default Re: SYS V IPC: changing message queue params

kyle_miller24@hotmail.com wrote...
> I think you want to use sysctl.
> example:
> /sbin/sysctl -w kernel.msgmax=256
> or use whatever number you want instead of 256.
> check out the other variables in /proc/sys/kernel, especially msgmnb and
> msgmni, and the man page for sysctl. You may want to modify your
> /etc/sysctl.conf file. Hope this helps.


Hi Kyle,

I tried that a couple of weeks back, and couldn't get it to work.
What I wound up doing was adding

echo 256 > /proc/sys/kernel/msgmax

and so on to /etc/init.d/boot.local.

Seems like a kludge compared to sysctl.conf, but again I couldn't get
sysctl to do anything.

> Richard wrote:
> > I need to increase the SYS V message queue params for a production
> > SuSE 8.2 environment. Having some trouble finding some guidance.
> >
> > Specifically, I want to increase the number of messages available per
> > queue and system wide, and the number of bytes per queue and system
> > wide. I can reduce the number of queues from 128 (default) to 10 if
> > that helps.
> >
> > Anyway, does anyone know of links on this, or know about it?
> >

>
>


--
Gonna miss seeing you play, Pete Sampras.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:41 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0