[Fedora-ia64-list] Re: Too many subdirectories under /mnt/koji/work/tasks/

Doug Chapman doug.chapman at hp.com
Tue Jun 10 15:04:50 UTC 2008


On Mon, 2008-06-09 at 22:45 +0800, Zhan, Yi wrote:
> Hi Doug, 
> 
> I hit the error "exceptions.OSError: [Errno 31] Too many links:
> '/mnt/koji/work/tasks/75012'" hundreds times today when catching up with
> x86's dist-f10. See
> http://koji.fedoraproject.org/koji/taskinfo?taskID=418705,
> http://ia64.koji.fedoraproject.org/koji/taskinfo?taskID=75003.
> 
> It seems the cause of this is that the number of subdirectories under
> /mnt/koji/work/tasks is approaching the limit (~32k). So the file system
> refused to create new directory under /mnt/koji/work/tasks and then we
> failed to launch any task on koji. I have created a new directory
> /mnt/koji/work/tasks.old and move the oldest ~2.4k directories there to
> work around this issue. The side effect is that logs of these old tasks
> are no longer available on the koji's web interface (e.g.
> http://ia64.koji.fedoraproject.org/koji/taskinfo?taskID=102) but seems
> it's same on x86 (e.g.
> http://koji.fedoraproject.org/koji/taskinfo?taskID=365824). Please let
> me know if there are better solutions for this. 
> 
> Thanks,
> Yi 
> 

Yi,

Yes, I think this is the right thing to do.  On the primary arch's koji
server they have a script that tries to clean up old tasks.  I had not
been concerned about this since we still have plenty of disk space.  I
did not think about the problem of having too many directories.

- Doug





More information about the Fedora-ia64-list mailing list