[Samba] sys_gethostbyname error causing large delay in session setup

Adam.Read at excellus.com Adam.Read at excellus.com
Mon Mar 25 09:13:03 GMT 2002


I am running Samba version 2.2.3-pre and have run into a slowdown.  This
doesn't seem to be a problem for my account (mapped as root), but it
creates a delay in the session setup for my users.  The delay can be
anywhere from 30 seconds to over a minute.  I cannot find a true cause, as
the computer name is resolved correctly.  These are NT4.0 clients, and they
are only in WINS, so no DNS entries for them or /etc/hosts / lmhosts
entries.
Consequently, I don't even have an lmhosts file.

Here is a snippet of the log @ level 3 (sorry, don't have too much disk
space, have 6 gigs of logs currently).
I have 900 users on this particular server, though load is low.  The only
similiar errors I could find where reported back in 1997.

Thanks for your help, and let me know if there is anything else needed.
Adam D. Read
Linux SA
SAMBA Team
IT, Univera HealthCare WNY


[2002/03/22 07:49:11, 3] smbd/sec_ctx.c:get_current_groups(162)
  get_current_groups: user is in 1 groups: 100
[2002/03/22 07:49:11, 3] smbd/password.c:register_vuid(320)
  uid 1129 registered to name smith_w
[2002/03/22 07:49:11, 3] smbd/password.c:register_vuid(322)
  Clearing default real name

[2002/03/22 07:49:11, 3] smbd/password.c:register_vuid(324)
  User name: smith_w  Real name: Samba smith_w
[2002/03/22 07:50:05, 0] lib/util_sock.c:matchname(939)
  sys_gethostbyname(bn006097): lookup failure.
[2002/03/22 07:50:05, 0] lib/util_sock.c:get_socket_name(1006)
  Matchname failed on bn006097 10.8.39.37

[2002/03/22 07:50:05, 3] smbd/process.c:chain_reply(1000)
  Chained message
[2002/03/22 07:50:05, 3] smbd/process.c:switch_message(662)
  switch message SMBtconX (pid 24412)





More information about the samba mailing list