Check the "/proc/sys/kernel/msgmax" file. Put a new value into this
file (e.g. by "echo 16384 > /proc/sys/kernel/msgmax") can change the
maximum allowable size immediately (NO NEED to recompile kernel and NOT
even reboot the system). If you want to keep the setting even after
reboot, try editing "/etc/sysctl.conf" and put in a line like :
"sys.kernel.msgmax = 16384" and that's it.

Regards,
Raymond Fung.

Dave Ihnat wrote:
> 
> On Wed, Jul 10, 2002 at 09:10:03PM -0400, Anthony E. Greene wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 08-Jul-2002/12:16 -0600, Alan Kirton <[EMAIL PROTECTED]> wrote:
> > >What is the maximum allowable size for messages put onto System V message
> > >queues and how is the maximum size controlled?
> >
> > If you're talking about sendmail, see "MaxMessageSize" in sendmail.cf or
> > SMTP_MAILER_MAX in your .mc file.
> 
> No, he's talking about the System V ipc stuff--look at ipcs, f'rinstance.
> 
> Last I looked, you still need to change #defines in msg.h and recompile the
> kernel, but that was a long time ago--they were talking about creating a
> proc interface, but I don't know if it's bubbled to the top of the stack.
> That's at least the place to start looking.
> 
> Cheers,
> --
>         Dave Ihnat
>         [EMAIL PROTECTED]
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to