[Ocfs2-users] Weird lock

Sunil Mushran Sunil.Mushran at oracle.com
Mon Apr 7 10:17:09 PDT 2008


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




More information about the Ocfs2-users mailing list