From: Jin Li <Jin.Li@windriver.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] Some fix advice about test case kernel/syscalls/ipc/msgctl/msgctl11.c
Date: Tue, 31 Jan 2012 14:58:29 +0800 [thread overview]
Message-ID: <4F279115.3010106@windriver.com> (raw)
Hi all
I met the same issue mentioned in the post ltp-list mails as follows.
And I notice that the test will still fail with
"Not enough free pids" once the memory is lager than 4G.
Does any one has plan to fix it or give it a walk around ?
If not, I want to fix it with the update of maximum pid number
once the memory is over 4G.
Willing to get your advice.
Jin
On 2011/9/27 18:16, Caspar Zhang wrote:
> On 09/26/2011 10:21 PM, Romu Hu wrote:
>> Hi,
>>
>> msgctl11 in ltp-20110915 failed on 2.6.39 kernel:
>>
>> msgctl11 1 TBROK : Not enough free pids
>>
>> I found that before error out,
>>
>> MSGMNI is 32768
>> MAXNKIDS is 10
>> free_pids is 32611
>> maxnkids = ((free_pids / 4) / MSGMNI);
>> so maxnkids is zero, which is why msgctl11 failed.
>>
>> Is this problem of testcase or problem of the tested system?
>>
>> Thanks
>>
>
> I think it's a configuration issue.
>
> Cyril, do you think is it better to change TBROK to TCONF here?
>
> - tst_resm(TBROK, "Not enough free pids");
> + tst_resm(TCONF, "Not enough free pids");
>
> Thanks,
> Caspar
I changed MSGMNI in /proc to below 3000 and test passed.
Thanks
--
Regards,
Romu
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
reply other threads:[~2012-01-31 6:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F279115.3010106@windriver.com \
--to=jin.li@windriver.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.