Skip to contentSkip to conversation

msgctl11 TBROK Not enough free pids

LTP Romu Hu 1 participant 2 messages Sep 26, 2011 – Sep 27, 2011 1 message not in the archive

lore
Share & tools
lore

Romu Hu

author
#0 lore raw

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

Signature · 14 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
author
#2 lore raw
In reply to a message not in the archive
Quoted 27 lines · Caspar Zhang
Quoted 14 lines · Romu Hu

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.

Quoted 4 lines

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?

(quoted diff) +1 -1
-                       tst_resm(TBROK, "Not enough free pids");
+                       tst_resm(TCONF, "Not enough free pids");
Quoted 2 lines

Thanks,
Caspar

I changed MSGMNI in /proc to below 3000 and test passed.

Thanks

Signature · 14 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list