Displaying 20 results from an estimated 547 matches for "gencache".
2018 Aug 29
2
gencache.tdb size and cache flush
On Wed, Aug 29, 2018 at 03:36:23PM +0200, Peter Eriksson via samba wrote:
> For what it’s worth you are not alone in seeing similar problems with Samba and gencache.
>
> Our site has some 110K users (university with staff & students (including former ones), and currently around 2000 active (SMB) clients connecting to 5 different Samba servers (around 400-500 clients per server). When we previously just let things “run” gencache.tdb would grow forev...
2017 Dec 04
2
gencache.tdb growing and growing and...
Is it normal that the gencache.tdb should grow and grow “forever” and fill up with “RA/<hex>” posts?
I’ve been investigating why our Samba 4.7.3 servers (happened with older version 4 servers too) would use such insane amounts of memory on our FreeBSD 11.1 servers (we see smbd processes using hundreds of megabytes of RAM...
2018 Aug 30
0
gencache.tdb size and cache flush
Unfortunately I didn’t seem to have saved one of those big gencache.tdb files (we don’t currently see them). Or at least I can’t seem to find them now…
A while ago when we first discovered this I posted a message:
https://lists.samba.org/archive/samba/2017-December/212577.html <https://lists.samba.org/archive/samba/2017-December/212577.html>
I now notice...
2018 Aug 29
6
gencache.tdb size and cache flush
...and have smooth performance I delete cache:
systemctl stop samba
net cache flush
systemctl start samba
First of all, is it needed a samba stop to flush the cache?
Even if cache flush does the job to restore performance, I am clueless
about the root cause of the problem. Before flushing cache the
gencache.tdb had 15k entries. Is it large? Do you think is it worth time
to investigate why it grows so much or is it just normal?
thank you,
franz
2018 Sep 04
0
gencache.tdb size and cache flush
Hi!
Technical description below, but the exec summary is: Yes, we have a
performance problem with gencache.
On Wed, Aug 29, 2018 at 10:28:05AM +0200, Francesco Malvezzi via samba wrote:
> Hi all,
>
> I have a midsize AD domain with some 50k users but only 100 workstations
> joined.
>
> Sometimes I find server CPU throttling at 100%. In order to let it drop
Can you find out where *e...
2005 Oct 12
1
permissions error: /var/run/samba/gencache.tdb
...ication 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:-
my_netbios_names[0]="MPINAS1"
Client started (version 3.0.14a-Debian).
Opening cache file at /var/run/samba/gencache.tdb
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/gencache.tdb: Permission denied
Attempt to open gencache.tdb has failed.
resolve_hosts: Attempting host lookup for name localhost<0x20>
Opening cache file at /var/run/samba/gencache.tdb
tdb(unnamed): tdb_open_ex: could not open...
2024 Mar 18
0
smbd rejects all and any authentication attempts due to a corrupted "gencache.tdb"
...config). Recently my server was abruptly
restarted due to a power outage. Upon the restart it was able to successfully start the container, but the shares became inaccessible
due to smbd rejecting all authentication attempts. In the logs I found:
[2024/03/18 08:22:50.790021, 5] ../../source3/lib/gencache.c:89(gencache_init)
Opening cache file at /var/cache/samba/gencache.tdb
[2024/03/18 08:22:50.790204, 1] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
tdb(/var/cache/samba/gencache.tdb): tdb_mutex_open_ok[/var/cache/samba/gencache.tdb]: Mutex size changed from 458752 to 401408
.Opening /var/cac...
2008 Aug 21
2
nmbd Hogging CPU on Mac OSX (10.5.4)
...Mac is on my corporate network which is 99% Windows, if that matters...?
Any thoughts or comments appreciated as this is getting quite frustrating
now.
Thanks,
Mark
[2008/08/21 09:09:28, 0, pid=118]
/SourceCache/samba/samba-187.4/samba/source/lib/util_tdb.c:tdb_log(662)
tdb(/private/var/samba/gencache.tdb): tdb_rec_read bad magic 0xd9fee666 at
offset=2592
[2008/08/21 09:09:33, 0, pid=118]
/SourceCache/samba/samba-187.4/samba/source/lib/util_tdb.c:tdb_log(662)
tdb(/private/var/samba/gencache.tdb): tdb_rec_read bad magic 0xd9fee666 at
offset=2592
[2008/08/21 09:09:33, 0, pid=118]
/SourceCache/sa...
2019 Apr 19
1
winbind offline login - NT_STATUS_NO_SUCH_USER (0xc0000064)
...for your reply.
>
> > I personally would have used 'cache directory =' , see 'man
> > smb.conf' for the difference.
> From description based on man smb.conf I would absolutely agree.
> I have tried and set the "cache directory" option but still
> gencache.tdb (and all other files that were moved) left within
> the /run/samba (lock directory).
> Never the less I tried logging on "offline" after restart but then I
> get same error again.
Without 'gencache.tdb' offline logon will not work, well thats me stuck
on 4.9.x on thi...
2019 Apr 12
1
gencache.tdb: device busy
Hi Jeremy,
I got some info on that topic from the illumos devs:
> It's a sporadic issue, you're lucky enough to not encounter it on 4.9.5.
>
> I confirmed in 4.10.2, it happens:
>
> winbindd.log: tdb(/tmw-nas-3p/samba/var/lock/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /tmw-nas-3p/samba/var/lock/gencache.tdb: Device busy
>
> So either apply OS fix, or apply a software fix (zeroing pthread_mutex_t before pthread_mutex_init()).
This all should be based on the following issue:
https://www.illumos.org/issues/9959...
2007 Dec 04
0
keytab file issues
...for LOCALE
[2007/12/04 21:40:09, 5] lib/util.c:(287)
Netbios name list:-
my_netbios_names[0]="TESTY"
[2007/12/04 21:40:09, 2] lib/interface.c:(81)
added interface ip=128.118.89.246 bcast=128.118.89.255 nmask=255.255.255.0
Processing principals to add...
[2007/12/04 21:40:09, 5] lib/gencache.c:(61)
Opening cache file at /var/samba/locks/gencache.tdb
[2007/12/04 21:40:09, 10] lib/gencache.c:(226)
Returning valid cache entry: key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU,
value = Default-First-Site, timeout = Tue Jan 19 04:14:07 2038
[2007/12/04 21:40:09, 5] libads/dns.c:(677)
sitename_fe...
2006 Sep 06
1
Problems with ADS join after Samba update on FC4
...nect(123)
- ads_try_connect: trying ldap server 'SRV_SIRIO' port 389
-[2006/07/31 17:34:44, 3] libads/ldap.c:ads_connect(285)
+[2006/07/31 17:43:26, 5] libads/ldap.c:ads_try_connect(127)
+ ads_try_connect: sending CLDAP request to SRV_SIRIO (realm: EDUCATION)
+[2006/07/31 17:43:26, 5] lib/gencache.c:gencache_init(60)
+ Opening cache file at /var/cache/samba/gencache.tdb
+[2006/07/31 17:43:26, 3] libads/ldap.c:ads_connect(287)
Connected to LDAP server 192.168.0.2
...
-[2006/07/31 17:34:44, 3] libads/ldap.c:ads_server_info(2469)
- got ldap server name srv_sirio@EDUCATION, using bind path:...
2008 Jun 27
0
Windows 2008 + FreeBSD 7.0 & Samba
...ROLE_DOMAIN_MEMBER
[2008/06/27 09:09:42, 5] lib/util.c:init_names(287)
Netbios name list:-
my_netbios_names[0]="SAMBA"
[2008/06/27 09:09:42, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.124.26 bcast=192.168.124.255 nmask=
255.255.255.0
[2008/06/27 09:09:42, 5] lib/gencache.c:gencache_init(61)
Opening cache file at /var/db/samba/gencache.tdb
[2008/06/27 09:09:42, 10] lib/gencache.c:gencache_get(226)
Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value =
Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038
[2008/06/27 09:09:42, 5] libads/dn...
2019 Apr 01
1
gencache.tdb: device busy
On a fresh installed Illumos/Solaris in a VirtualBox Guest I get the following error after starting up samba 4.10:
[2019/04/01 09:51:41.112485, 0] ../../lib/tdb_wrap/tdb_wrap.c:64(tdb_wrap_log)
tdb(/var/samba/lock/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/samba/lock/gencache.tdb: Device busy
[2019/04/01 09:51:41.141396, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
I compiled samba-4.10.0 on my own, because...
2024 Nov 19
1
tdb_expand overflow detected
...>
> The following is just one of the 343,930 log entries over a one hour period (about 95 messages per second).
>
> Nov 18 12:00:00 tm smbd[70983]: [2024/11/18 12:00:00.027823, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
> Nov 18 12:00:00 tm smbd[70983]: tdb(/var/db/samba4/gencache.tdb): tdb_expand overflow detected current map_size[4294967295] size[128]!
Is the file system size of /var/db/samba4/gencache.tdb also 4294967295?
I think something outside of tdb must be causing this to go haywire.
What are the last messages before this starts happening?
Douglas
2018 Aug 29
0
gencache.tdb size and cache flush
For what it’s worth you are not alone in seeing similar problems with Samba and gencache.
Our site has some 110K users (university with staff & students (including former ones), and currently around 2000 active (SMB) clients connecting to 5 different Samba servers (around 400-500 clients per server). When we previously just let things “run” gencache.tdb would grow forever and aut...
2006 Dec 06
2
Samba + Win2k works, Win2003 fails
...=192.168.103.255
nmask=255.255.252.0
[2006/12/06 11:08:39, 6] libads/ldap.c:ads_find_dc(224)
ads_find_dc: looking for realm 'TREMONT.LOCAL'
[2006/12/06 11:08:39, 8] libsmb/namequery.c:get_sorted_dc_list(1551)
get_sorted_dc_list: attempting lookup using [ads]
[2006/12/06 11:08:39, 5] lib/gencache.c:gencache_init(61)
Opening cache file at /var/run/samba/gencache.tdb
[2006/12/06 11:08:39, 5] tdb/tdbutil.c:tdb_log(783)
tdb(unnamed): tdb_open_ex: could not open
file /var/run/samba/gencache.tdb: Permission denied
[2006/12/06 11:08:39, 5] lib/gencache.c:gencache_init(70)
gencache_init: Open...
2018 Sep 04
3
gencache.tdb size and cache flush
Il 04/09/18 06:00, Volker Lendecke ha scritto:
> Hi!
>
> Technical description below, but the exec summary is: Yes, we have a
> performance problem with gencache.
>
> On Wed, Aug 29, 2018 at 10:28:05AM +0200, Francesco Malvezzi via samba wrote:
>> Hi all,
>>
>> I have a midsize AD domain with some 50k users but only 100 workstations
>> joined.
>>
>> Sometimes I find server CPU throttling at 100%. In order to let it...
2018 Sep 04
3
authentication performance with 4.7.6 -> 4.7.8 upgrade (was: Re: gencache.tdb size and cache flush)
On Wed, 2018-08-29 at 15:36 +0200, Peter Eriksson via samba wrote:
> For what it’s worth you are not alone in seeing similar problems with Samba and gencache.
>
> Our site has some 110K users (university with staff & students (including former ones), and currently around 2000 active (SMB) clients connecting to 5 different Samba servers (around 400-500 clients per server). When we previously just let things “run” gencache.tdb would grow forev...
2018 Aug 30
0
gencache.tdb size and cache flush
> For what it’s worth you are not alone in seeing similar problems with Samba and gencache.
>
> Our site has some 110K users (university with staff & students (including former ones), and currently around 2000 active (SMB) clients connecting to 5 different Samba servers (around 400-500 clients per server). When we previously just let things “run” gencache.tdb would grow forev...