Max messages in Message Queue

Joel Sherrill joel.sherrill at OARcorp.com
Mon Jun 15 16:48:41 UTC 2009


Samuel Bitton wrote:
> I have a local message queue defined with the maximum number of messages
> set to 100 and the max size for each message set to 33 bytes.
> All is fine so far. But when I try to increase the max number of
> messages to 500 I get an RTEMS_TOO_MANY error.
>
> In the manual I can't find a configuration constant that would limit the
> size of message queues.
> I've tried increasing the task stack size accordingly but no luck.
>
> Any suggestion as to what my might the source of my problem?
>
>   
You didn't add memory for the additional messages but
RTEMS_TOO_MANY indicates that there are either too
many queues (returned from create) or too many messages
in the queue -- full (returned from send).

Maybe something didn't get recompiled.

--joel
> Many thanks
> Sam
>
>
> This e-mail and any attachments may contain confidential and
> privileged information. If you are not the intended recipient,
> please notify the sender immediately by return e-mail, delete this
> e-mail and destroy any copies. Any dissemination or use of this
> information by a person other than the intended recipient is
> unauthorized and may be illegal.
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list