[EMAIL PROTECTED] wrote: > Jeff Burke пишет: >> Andrew Vagin wrote: >>> On Thu, Jul 03, 2008 at 02:16:11PM -0400, Jeff Burke wrote: >>>> Andrew Vagin wrote: >>>>> pls, provide more info: full log, ltp version and etc >>>>> naveen penumala wrote: >>>>>> hiee, >>>>>> >>>>>> Below test cases were failed in my SUSE 10.1 system. could you >>>>>> please let me know what might be the reason for these failures. >>>>>> Is it required to install any rpms or any thing. please let me know. >>>>>> >>>>>> msgctl01 FAIL 2 >>>>>> msgctl02 FAIL 2 >>>>>> msgctl03 FAIL 2 >>>>>> msgctl04 FAIL 2 >>>>>> msgctl05 FAIL 2 >>>>>> msgctl06 FAIL 1 >>>>>> msgctl07 FAIL 1 >>>>>> msgctl08 FAIL 2 >>>>>> msgctl09 FAIL 2 >>>>>> msgget01 FAIL 1 >>>>>> msgget02 FAIL 2 >>>>>> msgget04 FAIL 2 >>>>>> msgrcv01 FAIL 2 >>>>>> msgrcv02 FAIL 2 >>>>>> msgrcv03 FAIL 2 >>>>>> msgrcv04 FAIL 2 >>>>>> msgrcv05 FAIL 2 >>>>>> msgrcv06 FAIL 2 >>>>>> msgsnd01 FAIL 2 >>>>>> msgsnd02 FAIL 2 >>>>>> msgsnd03 FAIL 2 >>>>>> msgsnd04 FAIL 2 >>>>>> msgsnd05 FAIL 2 >>>>>> msgsnd06 FAIL 2 >>>>>> >>> pls, send me output from next command: # ipcs -a >>> # cat /proc/sys/kernel/msgmni >>> >>> may be the system limit for the maximum number of message queues >>> (MSGMNI) exceeded already. >> Looks like your thought about max number of message queues was correct. >> >> Here is the data you requested. >> >> Both before the test was started and after the test had run. >> >> ******* Requested Information Before ******* >> ** IPCS Information ** >> >> ------ Shared Memory Segments -------- >> key shmid owner perms bytes nattch status >> 0x331006af 393216 root 666 1048576 0 >> 0x341006af 425985 root 666 1048576 0 >> 0x351006af 458754 root 666 1048576 0 >> 0x361006af 491523 root 666 1048576 0 >> 0x371006af 524292 root 666 1048576 0 >> 0x381006af 557061 root 666 1048576 0 >> 0x391006af 589830 root 666 1048576 0 >> 0x411006af 622599 root 666 1048576 0 >> 0x421006af 655368 root 666 1048576 0 >> 0x431006af 688137 root 666 1048576 0 >> 0x451006af 720906 root 666 1048576 0 >> >> ------ Semaphore Arrays -------- >> key semid owner perms nsems >> 0x00000000 65536 root 660 1 >> >> ------ Message Queues -------- >> key msqid owner perms used-bytes messages >> 0x1400fdc0 32768 root 600 41 1 >> 0x00000000 98305 root 777 0 0 >> 0x00000000 131074 root 777 0 0 >> 0x00000000 196611 root 777 0 0 >> 0x00000000 229380 root 777 0 0 >> 0x00000000 294917 root 777 0 0 >> 0x00000000 327686 root 777 0 0 >> 0x00000000 393223 root 777 0 0 >> 0x00000000 425992 root 777 0 0 >> 0x00000000 491529 root 777 0 0 >> 0x00000000 524298 root 777 0 0 >> 0x00000000 589835 root 777 0 0 >> 0x00000000 622604 root 777 0 0 >> 0x00000000 688141 root 777 0 0 >> 0x00000000 720910 root 777 0 0 >> 0x00000000 786447 root 777 0 0 >> >> ** msgmni Information ** >> 16 >> ******* End Requested Information Before ******* > 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.
I can do as you suggested and remove some uneeded msg queues or add additional msg queues. After my last set of testing. I am fairly confident that would resolve the issue. But the way I resolved it is with an additional script. I think the resolution has to be part of the ltp test suite. >> >> ******* Requested Information After ******* >> ** IPCS Information ** >> >> ------ Shared Memory Segments -------- >> key shmid owner perms bytes nattch status >> 0x331006af 393216 root 666 1048576 0 >> 0x341006af 425985 root 666 1048576 0 >> 0x351006af 458754 root 666 1048576 0 >> 0x361006af 491523 root 666 1048576 0 >> 0x371006af 524292 root 666 1048576 0 >> 0x381006af 557061 root 666 1048576 0 >> 0x391006af 589830 root 666 1048576 0 >> 0x411006af 622599 root 666 1048576 0 >> 0x421006af 655368 root 666 1048576 0 >> 0x431006af 688137 root 666 1048576 0 >> 0x451006af 720906 root 666 1048576 0 >> >> ------ Semaphore Arrays -------- >> key semid owner perms nsems >> 0x00000000 65536 root 660 1 >> >> ------ Message Queues -------- >> key msqid owner perms used-bytes messages >> 0x1400fdc0 32768 root 600 41 1 >> 0x00000000 98305 root 777 0 0 >> 0x00000000 131074 root 777 0 0 >> 0x00000000 196611 root 777 0 0 >> 0x00000000 229380 root 777 0 0 >> 0x00000000 294917 root 777 0 0 >> 0x00000000 327686 root 777 0 0 >> 0x00000000 393223 root 777 0 0 >> 0x00000000 425992 root 777 0 0 >> 0x00000000 491529 root 777 0 0 >> 0x00000000 524298 root 777 0 0 >> 0x00000000 589835 root 777 0 0 >> 0x00000000 622604 root 777 0 0 >> 0x00000000 688141 root 777 0 0 >> 0x00000000 720910 root 777 0 0 >> 0x00000000 786447 root 777 0 0 >> >> ** msgmni Information ** >> 16 >> ******* End Requested Information After ******* >> >> I am running a test now to see which of the other ltp tests that run >> before this one cause it to fail. >> >>>>>> Regards, >>>>>> -NVN >>>> Andrew, >>>> Attached is a full log. >>>> - RHEL5.2 GA (i386), Kernel 2.6.18-92.el5 >>>> - LTP version is 20080630 >>> > > ------------------------------------------------------------------------- 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
