Nate Straz wrote:
> On Jul  7 17:22, Jeff Burke wrote:
>> Nate Straz wrote:
>>> On Jul  7 17:14, Jeff Burke wrote:
>>>> [EMAIL PROTECTED] wrote:
>>>>> Before execute test you have 16 msg queues, that equal to limit value 
>>>>> (by default 16)
>>>>>
>>>>> pls, try remove some unneeded msg queues and reexecute tests
>>>>> if all msg queues is needed we may increase limit (MSGMNI)
>>>>> echo 32 > /proc/sys/kernel/msgmni
>>>> Not sure if you saw my other email. Looks like it is the ipc tests that 
>>>> create the msg queues. So the question is how to resolve this issue.
>>> If there is a test case that is not cleaning up after itself, we need to
>>> figure out which test case it is and fix it.  Do you have any idea which
>>> test cases are leaving message queues behind?
>>>
>> Two IPC testcases that fail with the
>> ltp-full-20080630 release.
>> - message_queue_test_02_ctl
>> - message_queue_test_05
>> So is the current behavior because one of those two tests are failing?
>> (Not cleaning up properly) Or would syscalls test to fail anyways if
>> those IPC test were passing.
> 
> It may be that other tests which create message queues are not cleaning
> up and causing these tests problems.
I created a patch that removed both
  - message_queue_test_02_ctl
  - message_queue_test_05
and also added a cleanup routine. With those two removed there was only 
a single msg queue left over.

Here is the debug log from the test:

> 20080710-164002: ******* Requested Information Before *******
> 20080710-164002: ** IPCS Information **
> 
> ------ Message Queues --------
> key        msqid      owner      perms      used-bytes   messages    
> 
> 20080710-164002: ** msgmni Information **
> 16
> 20080710-164002: ******* End Requested Information Before *******

> 20080710-164036: ******* Requested Information After *******
> 20080710-164036: ** IPCS Information **
> 
> ------ Message Queues --------
> key        msqid      owner      perms      used-bytes   messages    
> 0x14006fa3 2588672    root       600        41           1           
> 
> 20080710-164036: ** msgmni Information **
> 16
> 20080710-164036: ******* End Requested Information After *******

> 20080710-164036: ******* Start msgmni cleanup  *******
> 20080710-164036: ******* End msgmni cleanup  *******
> 20080710-164036: ******* Requested Information AfterIPCRMCleanup *******
> 20080710-164036: ** IPCS Information **
> 
> ------ Message Queues --------
> key        msqid      owner      perms      used-bytes   messages    
> 
> 20080710-164036: ** msgmni Information **
> 16
> 20080710-164036: ******* End Requested Information AfterIPCRMCleanup *******

Thanks,
Jeff
> 
> Nate
> 


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to