LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 03-25-2008, 12:26 PM   #1
naveensattigeri
LQ Newbie
 
Registered: Mar 2008
Posts: 0

Rep: Reputation: 0
Arrow Failed to create Mailbox for IPC


Hello,

I'm developing a linux 2.6 based product which has multiple application. I'm handling the Application Development part.

Many of the applications need to communicate with each other. For this, I'm using MAILBOX. Everthing is fine when there are about 16 mailboxes. When I try to increase it to 19 though, some of the mailbox creation fails. During every trial run, a different mailbox fails to create.

I'm not able to understand the situation. Can anyone please explain the cause of this sort of behaviour ?

Regards,
Naveen Sattigeri.
 
Old 03-26-2008, 02:04 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by naveensattigeri View Post
I'm not able to understand the situation. Can anyone please explain the cause of this sort of behaviour ?
Sounds like you need to invest time debugging the app?
 
Old 03-28-2008, 12:54 PM   #3
fineteen
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
yes.. i need answer for that question to.. please do anyone help us on that..

cheers,

Last edited by XavierP; 03-28-2008 at 01:16 PM. Reason: advertising link removed
 
Old 03-28-2008, 05:42 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
You're developing the application and you can't debug it?
You'll have to post more details for anyone to be of help I think.
 
Old 03-29-2008, 08:47 AM   #5
naveensattigeri
LQ Newbie
 
Registered: Mar 2008
Posts: 0

Original Poster
Rep: Reputation: 0
Max number of mailboxes

Hello,

I've got the solution to my problem. I was actually exceeding the max number of mailboxes for my system (defined by default to 16). I increased it and everything worked smoothly.

To do this:
[1]. Open the file "/etc/sysctl.conf".
[2]. Set an appropriate value for "kernel.msgmni" and reboot.
ie. kernel.msgmni = X, where X=required number of mailboxes.
[3]. Run the command "ipcs -l" to see the new limits.

Hope this info is of help to somebody.

Regards,
Naveen Sattigeri.
 
  


Reply



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
failed to create a file system..... ?? Pinkhippochic Linux - Newbie 2 12-30-2007 04:02 AM
failed to create initrd gunnix Debian 1 01-05-2007 07:01 PM
Mpg321 "unable to create IPC Semaphore" when not root Hairulfr Linux - Software 2 01-28-2006 07:24 AM
Postfix Admin tool not able to create mailbox davidbalt Linux - Networking 1 09-22-2004 10:02 PM
vm-pop3d Failed to create lockfile mocny Linux - General 0 08-18-2002 03:42 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:45 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
Open Source Consulting | Domain Registration