LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2013, 03:39 AM   #1
A.sandhyarani
LQ Newbie
 
Registered: Aug 2013
Posts: 5

Rep: Reputation: Disabled
where posix message queues will allocate memory in linux


where posix message queues will allocate memory in linux?
 
Old 08-29-2013, 05:14 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,654

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
Somewhere in kernel memory.

Why do you need to know?
 
Old 08-29-2013, 05:23 AM   #3
A.sandhyarani
LQ Newbie
 
Registered: Aug 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
I am using message queues in my project.i want to know how it will allocate memory?means it will allocate memory statically or dynamically?sorry for my bad english.
 
Old 08-29-2013, 05:29 AM   #4
A.sandhyarani
LQ Newbie
 
Registered: Aug 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jpollard View Post
Somewhere in kernel memory.

Why do you need to know?
am using message queues in my project.i want to know how it will allocate memory?means it will allocate memory statically or dynamically?sorry for my bad english.
 
Old 08-29-2013, 09:04 AM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,654

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
Quote:
Originally Posted by A.sandhyarani View Post
am using message queues in my project.i want to know how it will allocate memory?means it will allocate memory statically or dynamically?sorry for my bad english.
According to the manpage, they will be created dynamically up to the defined limit. You can get more reference information from "man mq_overview", which covers the Linux specifics on resource usage, tuning controls, and usage.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
POSIX Queues with message type facility of System V queues ehsan_haq98@yahoo.com Programming 2 12-27-2009 12:45 PM
Not enough memory for Posix message queues... ulimit -q doesnt work ?? marconap Linux - Newbie 1 02-22-2008 06:26 AM
Posix Message Queues culin Programming 3 04-08-2007 08:01 AM
POSIX message queues(Solaris) to SYS V message queues(Linux) devershetty Programming 1 01-22-2007 11:15 AM


All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration