* [LTP] msgctl11 TBROK Not enough free pids
@ 2011-09-26 14:21 Romu Hu
[not found] ` <4E81A27B.7030908@casparzhang.com>
0 siblings, 1 reply; 2+ messages in thread
From: Romu Hu @ 2011-09-26 14:21 UTC (permalink / raw)
To: ltp-list
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
--
Regards,
Romu
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LTP] msgctl11 TBROK Not enough free pids
[not found] ` <4E81A27B.7030908@casparzhang.com>
@ 2011-09-27 12:38 ` Romu Hu
0 siblings, 0 replies; 2+ messages in thread
From: Romu Hu @ 2011-09-27 12:38 UTC (permalink / raw)
To: ltp-list
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
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-27 12:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-26 14:21 [LTP] msgctl11 TBROK Not enough free pids Romu Hu
[not found] ` <4E81A27B.7030908@casparzhang.com>
2011-09-27 12:38 ` Romu Hu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox