On Wed, Nov 20, 2024, at 9:17 PM, Douglas Bagnall wrote:> On 21/11/24 14:11, Dan Langille wrote:
>> On Wed, Nov 20, 2024, at 6:31 PM, Douglas Bagnall wrote:
>>> On 20/11/24 11:55, Dan Langille wrote:
>>>
>>>> Hope that helps.
>>>
>>> Not much unfortunately.
>>>
>>> Running this:
>>>
>>> net cache list
>>>
>>> will tell you what the cache thinks it contains. If it is filled
with
>>> real things, it could indicate where they're coming from. If it
fails or
>>> shows a cache full of nonsense, well that is also interesting.
>>
>> That is 161 lines of expired stuff.
>
> Yeah, I'm not sure how that adds to 4 billion.
>
> tdbtool /var/db/samba4/gencache.tdb
> tdb> info
>
> will show lines describing the "smallest/average/largest" of
various things.
This is the file I moved away:
[2:23 tm dvl ~] % sudo tdbtool ~/tmp/gencache.tdb
tdb> info
Size of file/data: 81919/9152
Header offset/logical size: 81920/4294967295
Number of records: 161
Incompatible hash: yes
Active/supported feature flags: 0x00000001/0x00000001
Robust mutexes locking: yes
Smallest/average/largest keys: 19/39/61
Smallest/average/largest data: 16/17/59
Smallest/average/largest padding: 20/20/26
Number of dead records: 0
Smallest/average/largest dead records: 0/0/0
Number of free records: 22
Smallest/average/largest free records: 28/195223196/4294897995
Number of hash chains: 10000
Smallest/average/largest hash chains: 0/0/2
Number of uncoalesced records: 0
Smallest/average/largest uncoalesced runs: 0/0/0
Percentage keys/data/padding/free/dead/rechdrs&tailers/hashes:
8/3/4/5242874/0/6/49
tdb>
--
Dan Langille
dan at langille.org