Displaying 1 result from an estimated 1 matches for "kb_rand".
Did you mean:
brand
2009 Feb 21
1
samba 3.2.6 - Does locking.tdb has a maximum size?
...tdb file grows over time. This happened while running the following test:
- delete locking.tdb and restart samba
- connect a linux client using cifs mount
-run the following script on the client:
#!bin/bash
for i in `seq 1 130000`;do
echo $i
echo ===
KB_rand=$(((RANDOM % 300 + 1)*(1000))
dd if=/dev/urandom of=/mnt/cifs/files/smallfile$i bs=$KB_rand count=1
done
So there's only one client writing many files.
The locking.tdb file grew to 2 megs, at which point space was exhausted (I put the temp files in tmpfs, perhaps a mistake :))....