[Ocfs2-users] Weird lock

Sunil Mushran Sunil.Mushran at oracle.com
Mon Apr 7 10:37:23 PDT 2008


ok. Let me look for a patch that will let us look into the
stack of the spinning process. Will email you the link.

Nuno Fernandes wrote:
> Hello,
>
> yes.. when this situation happens there is allways a process spinning (running 
> at 100%cpu). We can't kill it even with kill -9
>
> Kernel = 2.6.9-48.ELxenU
> OCFS2 = 1.2.5
>
> OCFS2 Node Manager 1.2.5 Tue Apr 10 12:29:33 EDT 2007 (build 
> 9e5f332181e8ebfad464946bcc4888af)
> OCFS2 DLM 1.2.5 Tue Apr 10 12:29:33 EDT 2007 (build 
> e2556a71429f31033b275dff4b5594aa)
> OCFS2 DLMFS 1.2.5 Tue Apr 10 12:29:33 EDT 2007 (build 
> e2556a71429f31033b275dff4b5594aa)
>
> Thanks for any info,
> Nuno Fernandes
>
> On Monday 07 April 2008 18:17:09 Sunil Mushran wrote:
>   
>> Are any processes spinning during this time?
>> As in, does top show any process eating up cpu.
>>
>> The said hangs are in the generic layer and could be due to a
>> spinning process not releasing a lock. I can see some processes
>> in R state but can't say for sure that they are spinning or not.
>>
>> ocfs2/kernel versions?
>>
>> Sunil
>>
>> Nuno Fernandes wrote:
>>     
>>> Hello,
>>>
>>> The sysrq is attached.
>>>
>>> The processlist is:
>>>
>>> ...
>>> 17280 ?        D      0:00  |
>>> \_ /usr/bin/perl -w
>>> /storage/webhosting/site/public_html/alojados/site/MT/come2x.cgi 6373 ?  
>>>      S      0:00  \_ /usr/sbin/httpd
>>> 16561 ?        D      0:00  |
>>> \_ /usr/bin/perl -w
>>> /storage/webhosting/site/public_html/alojados/site/MT/come2x.cgi 6380 ?  
>>>      S      0:00  \_ /usr/sbin/httpd
>>> 17093 ?        D      0:00  |
>>> \_ /usr/bin/perl -w
>>> /storage/webhosting/site/public_html/alojados/site/MT/come2x.cgi 7649 ?  
>>>      S      0:00  \_ /usr/sbin/httpd
>>> 16566 ?        D      0:00  |
>>> \_ /usr/bin/perl -w
>>> /storage/webhosting/site/public_html/alojados/site/MT/come2x.cgi 7772 ?  
>>>      S      0:00  \_ /usr/sbin/httpd
>>> 17829 ?        D      0:00  |
>>> \_ /usr/bin/perl -w
>>> /storage/webhosting/site/public_html/alojados/site/MT/come2x.cgi 7905 ?  
>>>      S      0:00  \_ /usr/sbin/httpd
>>> 17233 ?        D      0:00  |
>>> \_ /usr/bin/perl -w
>>> /storage/webhosting/site/public_html/alojados/site/MT/come2x.cgi 7924 ?  
>>>      S      0:00  \_ /usr/sbin/httpd
>>> 16477 ?        R    343:20  |
>>> \_ /usr/bin/perl -w
>>> /storage/webhosting/site/public_html/alojados/site/MT/come2x.cgi 7986 ?  
>>>      S      0:00  \_ /usr/sbin/httpd
>>> 16565 ?        D      0:00  |
>>> \_ /usr/bin/perl -w
>>> /storage/webhosting/site/public_html/alojados/site/MT/come2x.cgi 8007 ?  
>>>      S      0:00  \_ /usr/sbin/httpd
>>> 30015 ?        D      0:00  |
>>> \_ /usr/bin/perl -w
>>> /storage/webhosting/site/public_html/alojados/site/MT/come2x.cgi 8066 ?  
>>>      S      0:00  \_ /usr/sbin/httpd
>>> 17236 ?        D      0:00  |
>>> \_ /usr/bin/perl -w
>>> /storage/webhosting/site/public_html/alojados/site/MT/come2x.cgi 8070 ?  
>>>      S      0:00  \_ /usr/sbin/httpd
>>> 16480 ?        D      0:00  |
>>> \_ /usr/bin/perl -w
>>> /storage/webhosting/site/public_html/alojados/site/MT/come2x.cgi ...
>>>
>>> Thanks for any info,
>>> Best regards,
>>> Nuno Fernandes
>>>
>>> On Friday 04 April 2008 19:21:05 Sunil Mushran wrote:
>>>       
>>>> No busy locks. The hang is not because of o2dlm.
>>>>
>>>> Do a kernel stack dump. echo t >/proc/sysrq-trigger
>>>> That should tell us where the process is stuck in the kernel.
>>>>
>>>> Nuno Fernandes wrote:
>>>>         
>>>>> On Friday 04 April 2008 18:40:42 Sunil Mushran wrote:
>>>>>           
>>>>>> debugfs.ocfs2 -R "fs_locks" /dev/sdX >/tmp/out
>>>>>>             
>>>>> Hi,
>>>>>
>>>>> I happened again. Attached i send the output.
>>>>>
>>>>> Thanks for any info,
>>>>> Best regards,
>>>>> Nuno Fernandes
>>>>>
>>>>> -----------------------------------------------------------------------
>>>>> -
>>>>>
>>>>> _______________________________________________
>>>>> Ocfs2-users mailing list
>>>>> Ocfs2-users at oss.oracle.com
>>>>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>>>>           
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Ocfs2-users mailing list
>>> Ocfs2-users at oss.oracle.com
>>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>>       
>
>
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>   




More information about the Ocfs2-users mailing list