similar to: Re: TDB locking overhead and performance...

Displaying 20 results from an estimated 2000 matches similar to: "Re: TDB locking overhead and performance..."

2006 Apr 22
2
Re: TDB locking overhead and performance...
On Sat, Apr 22, 2006 at 06:15:31PM +0100, Daniel J Blueman wrote: > As a test, I changed the opening of the locking.tdb and brlock.tdb > files to use the TDB_INTERNAL flag, avoiding use of the fcntl(F_SETLK) > syscall for locking individual database records. Performance was a lot > snappier, with quite a bit less system time used. > > What is the scope of implementing shared
2007 May 08
2
TDB functionality document
Hi, Does someone know a document which explains the TDB structure. functionalites, and format of the TDB files etc. I need to understand why some of the TDBs like messages.tdb, unexpected.tdb, brlock if not read_only, locking.tdb, session.tdb, wins.tdb are called with TDB_CLEAR_IF_FIRST tdb flags. Why some TDBs are opend with O_RDWR|O_CREAT flags viz. gencache.tdb, group_mapping.tdb,
2002 Jun 20
1
brlock.tdb and locking.tdb always missing on RH 7.2
Hi! I've been fighting with Samba for over a week now and I can't seem to work it out. It all started when I installed the standard samba (2.2.1a-4) which came with RH7.2. I ran "smbstatus" and got the following error: Failed to open byte range locking database ERROR: Failed to initialise locking database Can't initialise locking module - exiting. I've tried the
2005 Mar 21
2
what are *.tdb files?
In /varcache/samba/ I have several .tdb files. Like brlock.tdb, locking.tdb, ntdrivers.tdb, etc. Excusing my ignorance, what are these files, and what do they do? And why must they be copied when migrating from one samba server to a new one?
2004 Oct 03
0
brlock.tdb/locking.tdb permissions problem?
I'm running 2.11, and I've noticed a number of log entries that look like so: angie.log: tdb(/usr/local/samba/var/locks/locking.tdb): expand_file ftruncate to 8192 failed (Permission denied) [2004/10/03 15:14:36, 0] tdb/tdbutil.c:tdb_log(531) tdb(/usr/local/samba/var/locks/brlock.tdb): expand_file ftruncate to 8192 failed (Permission denied) The files in question look like this:
2002 Feb 20
0
Need help with Brlock.tdb and Locking.tdb
Hi all, i am trying to run Samba 2.2.3a under a RedHat 7.2 i386 machine. After i compiled and installed the packages, i made a smb.conf up. Just some standard stuff nothing special. Now, when i start smbd and then check it with smbstatus it gives me this error : Samba version 2.2.3a Service uid gid pid machine ---------------------------------------------- tdb((null)): tdb_open_ex: could not
2009 Oct 23
3
tdb locking issue - Solaris 10 and Samba 3.0.33
(Yes, I should upgrade Samba to 3.0.35). We're running the Sun provided Samba daemon (SUNWsmbau and friends) on Solaris 10 Generic_138888-08 (sparc). Lots of Windows clients (mixed XP, 2003, 2008) hit this server and periodically we'll start seeing smbd processes begin piling up. These processes can't be killed with a normal kill -- only kill -9 will do the trick. In the past
2002 Aug 27
1
tdb failure when attempting to use Samba
I have successfully implemented Samba in the past but I am now perplexed by a new installation which fails smbstatus with the message: "tdb((null)): tdb_open_ex: could not open file /var/cache/samba/brlock.tdb: No such file or directory Failed to open byte range locking database "tdb((null)): tdb_open_ex: could not open file /var/cache/samba/locking.tdb: No such file or directory ERROR:
2004 Jun 29
2
tdb lock failures
We've just gone live with a file & print server, and are having major problems with Samba. When used out of hours, with all PCs switched on and connected to the domain, everything works fine. However, during the day, we have problems where users can't print to any samba-hosted printer, Access database applications (where the database is held on the server) won't work, or work
2004 Oct 17
0
*.tdb permissions
I'm running 2.11, and I've noticed a number of log entries that look like so: angie.log: tdb(/usr/local/samba/var/locks/locking.tdb): expand_file ftruncate to 8192 failed (Permission denied) [2004/10/03 15:14:36, 0] tdb/tdbutil.c:tdb_log(531) tdb(/usr/local/samba/var/locks/brlock.tdb): expand_file ftruncate to 8192 failed (Permission denied) The files in question look like this:
2001 Apr 30
1
Unresponsive samba and 2 gigabyte TDB files, OH MY!
Hello, I have been tracking this bug as much as possible, and it appears there is a severe problem in the code that deals with .tdb files. Lately our samba 2.2 testbed has been having painfully slow network responsiveness. It would go 30-60 seconds without a response to a client on many occasions (both browsing the network, and opening files/refreshing directories). Clients include Windows 98se,
2002 Jul 23
1
locking.tdb - Failed to open byte range locking database
i have taken a default intel redhat 7.2 machine which came with samba 2.2.1a and removed samba, samba-common, samba-client and samba-swat. i also removed /etc/samba and /var/lock/samba and all samba log files i then installed the samba RPM for samba 2.2.5 from: http://se.samba.org/samba/ftp/Binary_Packages/redhat/RPMS/7.2/samba-2.2.5- 1.i386.rpm i then installed this with rpm -ivh
2005 Oct 12
1
permissions error: /var/run/samba/gencache.tdb
i've been integrating a Samba server into a mixed windows 2000/2003 authentication environment for use as a NAS device. i finally have things working for the most part, but in the process of debugging authentication i noticed an error when performing the following command: hmason@mpinas1:~$ smbclient -L localhost the error shows up when loglevel = 5 in smb.conf: Netbios name list:-
2019 Apr 02
2
gencache.tdb: device busy
I added LOG statements to mutex.c printing the strerror from the return values.   From   ret = pthread_mutexattr_init(&ma); in line 570   I got errorno 16 --> device busy.   But due the manual of pthread_mutex_attr_init() there should only be ENOMEM and EINVAL...   Doing gdb smbd -> run Doe not reveal anything, but I never used gdb for debugging anything. I just gave it a shot...        
2004 Jul 20
3
Bug? 1.0.0-test28 NFS locking problems
Hi Slight problem - linux 2.4 running dovecot, Solaris 2.8 home directory server. Full lockd support etc. I had to make the following code patches (at end of mail for clarity) to get dovecot to read the users mbox files at all. 1) fcntl with F_SETLKW will not work against a Solaris 2.8 server as proved with a small test program. Other forms of fcntl (ie F_SETLK) are OK. I noticed there are
2004 Jan 08
0
tdb access problem - tdb_brlock failed
Hi I my smbd.log, I can find these lines. How to resolv this problem ? [2004/01/08 12:03:11, 5] lib/gencache.c:gencache_init(59) Opening cache file at /var/cache/samba/gencache.tdb [2004/01/08 12:03:11, 5] tdb/tdbutil.c:tdb_log(724) tdb(unnamed): tdb_brlock failed (fd=12) at offset 4 rw_type=1 lck_type=13: Ressource temporairement non disponible [2004/01/08 12:03:11, 5]
2005 Nov 16
2
which tdb holds privileges?
Hi @all, does anybody know, where privileges are stored? deveis # net rpc rights list 'Domain Power Users' -U root%password SeMachineAccountPrivilege SeBackupPrivilege SeRestorePrivilege SePrintOperatorPrivilege SeDiskOperatorPrivilege But: deveis # ls -l /var/lock/samba/*.tdb -rw------- 1 root root 8192 Nov 13 20:14 /var/lock/samba/account_policy.tdb -rw-r--r-- 1 root root 696 Nov
2007 Feb 27
0
Nmbd crash with failure to open wins.tdb
Hello, I've found this issue reported only once before but no real answer was provided/found. I am trying to migrate from an old 2.0.7 server, but the bundled install 3.0.24 on FC6 is giving me major pain. Putting aside the actual configuration and user migration which I need to figure out, the problem is that nmbd refuses to start with the following errors in the log: [2007/02/26 14:05:26,
2016 Dec 02
1
答复: Is it fine to store the tdb files in the shared directory to solve the ctdb data synchronization problem?
Thanks very much, Volker. I want to synchronize three tdb files(listed as below) which is relevant to the opened file: 1) brlock.tdb 2) locking.tdb 3) smbXsrv_open_global.tdb These three tdb files are used to realize the durable file handle feature. As what you have said, the performance will be affected if storing these three files in the shared storage. So can I realize the synchronization
1999 Aug 26
0
smbsh always segfaults
Version 2.0.5a (same prob w/2.0.4b, though). smbsh segfaults after I enter my password. As root, it just seg faults. As my login user, it dumps core. Attached is a script of an strace of it. Running RH 6.0, kernel 2.2.10, AMD K6-2/350, 64M RAM. Configure options were: CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{pref} --libdir=/etc \ --with-lockdir=/var/lock/samba