[OpenAFS] Solaris 10 deadlock issue

omalleys@msu.edu omalleys@msu.edu
Wed, 15 Jun 2011 09:58:13 -0400


Can you get it to replicate with 1.4.8 too?

I'm curious, I was looking at something similar. But there were about  
12 issues going on simultaneously to be able pin it down to a single  
cause.


Quoting Aaron Knister <aaronk@umbc.edu>:

> Good afternoon!
>
> I'm writing to report a deadlock issue I'm seeing on Solaris 10.
>
> What I've observed is that when a file larger than the configured size of
> the cache is copied out of AFS the cache manager deadlocks and all access to
> /afs on the affected system hangs until the system is rebooted. The issue
> occurs with a memory cache as well as a disk cache.
>
> The issue can be mitigated if the cache size is raised to the value of
> roughly half of the physical memory in the given system. The issue appeared
> somewhere between Solaris 10 "u8" and "u9."
>
> I've reproduced the problem using OpenAFS 1.4.14.1, 1.5.78 and 1.6.0pre6 and
> a Solaris 10 "u8" system with all of the latest patches applied.
>
> I've put together a tar file containing:
>
> - An fstrace dump starting a few seconds before I initiated the copy
> - A stack trace of the hung cp command
> - The output of cmdebug -long -server localhost run after AFS hangs
>
> The individual files as well as a tar file of them can be found here:
> http://userpages.umbc.edu/~aaronk/afs/solaris10-deadlock-issue.
>
> Any help would be greatly appreciated.
>
> Best,
> Aaron
>
> --
> Aaron Knister
> Systems Administrator
> Division of Information Technology
> University of Maryland, Baltimore County
> aaronk@umbc.edu
>



-- 
"The information in this email, and attachment(s) thereto, is strictly  
confidential and may be legally privileged. It is intended solely for  
the named recipient(s), and access to this e-mail, or any  
attachment(s) thereto, by anyone else is unauthorized. Violations  
hereof may result in legal actions. Any attachment(s) to this e-mail  
have been checked for viruses, but please rely on your own  
virus-checker and procedures. If you contact us by e-mail, we will  
store your name and address to facilitate communications in the matter  
concerned. If you do not consent to us storing your name and address  
for above stated purpose, please notify the sender promptly. Also, if  
you are not the intended recipient please inform the sender by  
replying to this transmission, and delete the e-mail, its  
attachment(s), and any copies of it without, disclosing it."