- From:
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: cookbook upload: HTTP 500: Too many links
- Date: Tue, 7 Feb 2012 23:17:27 -0800
On Wed, 08 Feb 2012, AJ Christensen wrote:
>
You can probably smash the sandboxes directory and re-upload all of
>
the cookbooks, do backups or whatever.
>
>
What are all the files? some bad symlinking? you might actually have
>
to look at them, not just count them :)
i find nothing but directories under /var/cache/chef/sandboxes/; there
are no symlinks. with ext3 on this fs, i've hit the max number of
subdirectories in one directory: 32000.
i'll smash away and re-upload.
thanks for helping me find wtf was goin' on
k
>
On 8 February 2012 19:33,
>
<
>
>
wrote:
>
> On Wed, 08 Feb 2012, AJ Christensen wrote:
>
>
>
>> No, I meant the directories such as:
>
>>
>
>> /var/cache/chef/sandboxes/26f2b236b39b403ca272034f5fa95599
>
>
>
> ahh. well...
>
>
>
> getting no such file or dir for the paths mentioned in the errors below.
>
> but:
>
>
>
> DR chef server having the problem:
>
> find /var/cache/chef/sandboxes -maxdepth 1 -type d | wc -l
>
> 31999
>
>
>
> prod chef server that's thankfully not having problem:
>
> find /var/cache/chef/sandboxes -maxdepth 1 -type d | wc -l
>
> 1162
>
>
>
> yeah that's a lotta dirs in that dir.
>
>
>
> how'd that happen? i wonder what dirs therein i can prune, how to
>
> prevent it from happening again. or if i'll need to take a heavy hammer
>
> and wipe and recreate this DR chef server.
Archive powered by MHonArc 2.6.16.