[OpenAFS] Re: File creation delays
John W. Sopko Jr.
sopko@cs.unc.edu
Wed, 17 Mar 2010 13:42:10 -0400
Andrew Deason wrote, On 3/17/2010 11:06 AM:
> On Wed, 17 Mar 2010 08:03:37 -0400
> "John W. Sopko Jr."<sopko@cs.unc.edu> wrote:
>
>> Below is an example of creating a directory in AFS that took 15
>> seconds. The removal and next mkdir work fine. Below that is strace
>> output of the mkdir command and where it is hanging.
>>
>> % date; mkdir try; date
>> Wed Mar 17 06:37:18 EDT 2010
>> Wed Mar 17 06:37:33 EDT 2010
>
> Is there anything in FileLog around this time, possibly about failing to
> break callbacks on a certain host?
No clues, one of the first places I looked.
>
> (by the way, 'time mkdir try' is convenient for showing delay in
> something like this)
Yes, I have used the time command before, thanks.
> >> Output from strace, last few lines:
>>
>> % strace mkdir try
>
> Also, 'strace -tt mkdir try' is convenient for showing delays.
>
Thanks, here is a sample with "strace -tt mkdir try", a little
over 15 second delay:
13:35:33.597167 mkdir("try", 0777) = 0
13:35:48.617766 close(1) = 0
13:35:48.617820 exit_group(0) = ?
I am going to move my home volume to another file server
and see if that helps.
--
John W. Sopko Jr. University of North Carolina
email: sopko AT cs.unc.edu Computer Science Dept., CB 3175
Phone: 919-962-1844 Fred Brooks Building; Room 140
Fax: 919-962-1799 Chapel Hill, NC 27599-3175