Re: Msg Q for user <-> kernel space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

1. You need to recompile your kernel after modifying msg.h file.
2.  also try to see message size using /proc/sys/kernel/msgmax

Regards,
_-_Mayank Rana_-_
"The greatest pleasure in life is to do what people say U cannot do."

jyothi <jyothi@xxxxxxxxxxxxxx> wrote:
We are using message queue interface for sending messages from kernel to
user space and vice versa.
This works fine for upto 6k packet size and beyond that the kernel crashes.
The error that it gives is kernel stack overflow and sometimes kernel
BUG in sched.c:915!.

Please mention  the kernel version for this to make sense.

I am using linux-2.4.20

I also increased the MSGMNB and MSGMAX values in msg.h.
Could you please suggest how to go about in solving this problem?



Sponsored Link

Rates near 39yr lows. $510,000 Loan for $1698/mo - Calculate new house payment

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux