| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| References: | <664689 DOT 45021 DOT qm AT web8909 DOT mail DOT in DOT yahoo DOT com> |
| Subject: | RE: Problem with Message Queue |
| Date: | Tue, 27 Mar 2007 10:41:50 +0100 |
| Message-ID: | <02f701c77054$24d48620$2e08a8c0@CAM.ARTIMI.COM> |
| MIME-Version: | 1.0 |
| X-Mailer: | Microsoft Office Outlook 11 |
| In-Reply-To: | <664689.45021.qm@web8909.mail.in.yahoo.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 27 March 2007 05:05, seema r j wrote:
> Hi All,
> I have an application which uses IPC functionalities for sending and
> receiving messages from other application. I have made the following
> configuration for message queue, shared memory and semaphore
>
> MSGINFO:
> MSGMAX: 4096
> MSGMNI: 50
> MSGTQL: 400
> MSGMAP: 402
> MSGMNB: 16384
>
> SEMINFO:
> SEMMNI: 200
> SEMMNS: 128
> SEMMNU: 150
>
> SHMINFO:
> SHMMNI: 100
> SHMMAX: 2000000
>
> When I run through my application, it will give successful response for 3
> messages out 5 messages and my client application hangs. My Error log file
> has recorded the following statements:
>
> CU-E-3404(3196):Unable to Send Communication Packet (CUP) on Queue.
> msgsnd-E-3011(3196):EAGAIN No more processes.
>
> So please... can any one suggest where m going wrong and please give me the
> possible solutions for it.
Well, it should be completely obvious from all that information to anyone
but a fool that the bug is on line 4373 of your application, where you have
mistyped a semi-colon as a commma, thus turning a statement into a
comma-series expression and thereby extending the scope of the preceding 'if'
to encompass the following subroutine call.
Either that, or a hippo ate it.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |