nmbd fork-bombed my server

Dejan Ilic svedja at lysator.liu.se
Wed Sep 16 09:12:05 GMT 1998


Downloaded yesterdays CVS-code and installed it on my server.
Until yesterday the code worked mostly fine, at least non-fatal.

Yesterday night Samba suddenly fork-bombed my server. Of course not by
prupose, but the server effectivly was out of memory (& swap) to such
a degree that even a "reboot" was not possible. A "ps" succeded and it
showed the memory full off lots of nmbd's.

The system is a Solaris_x86 with all the newest patches and GCC-2.8.1
I have no idea what version samba is except that it is 2.0.0.alpha
A datestamp beside "2.0.0.alpha" whould be very usefull.

The nmb-logs show lots of messages like this:
1998/09/16 05:19:33, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(237) 
find_response_record: response packet id 30039 received with no 
matching record.
[1998/09/16 05:19:33, 0]
nmbd/nmbd_packets.c:find_subnet_for_nmb_packet(1408)  
find_subnet_for_nmb_packet: response record not found for response id
30039
[1998/09/16 05:19:48, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(237)  
find_response_record: response packet id 30124 received with no 
matching record.
[1998/09/16 05:19:48, 0]
nmbd/nmbd_packets.c:find_subnet_for_nmb_packet(1408)  
find_subnet_for_nmb_packet: response record not found for response id
30124
[1998/09/16 05:19:48, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(237)
  find_response_record: response packet id 30090 received with no 
matching record.
[1998/09/16 05:19:48, 0]
nmbd/nmbd_packets.c:find_subnet_for_nmb_packet(1408)
  find_subnet_for_nmb_packet: response record not found for response 
id 30090
[1998/09/16 05:19:58, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(237)
  find_response_record: response packet id 30124 received with no 
matching record.
[1998/09/16 05:19:58, 0]
nmbd/nmbd_packets.c:find_subnet_for_nmb_packet(1408)
  find_subnet_for_nmb_packet: response record not found for response 
id 30124
[1998/09/16 05:19:58, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(237) 
find_response_record: response packet id 30088 received with no
matching record.
[1998/09/16 05:19:58, 0]
nmbd/nmbd_packets.c:find_subnet_for_nmb_packet(1408)
  find_subnet_for_nmb_packet: response record not found for response 
id 30088
[1998/09/16 05:20:58, 0]
nmbd/nmbd_become_lmb.c:unbecome_local_master_success(156)

etc.etc.etc.

[1998/09/16 02:52:42, 0]
nmbd/nmbd_become_lmb.c:become_local_master_fail2(428)
  become_local_master_fail2: failed to register name KNUTPUNKTEN<1d>
on subnet 130.236.240.2. 
Failed to become a local master browser.


For more information contact me.

=====================================================================
Dejan Ilic, Tech Univ. of Linkoping, Sweden    Phone:+46-13-473 01 06
Email: svedja at lysator.liu.se   Web: http://www.lysator.liu.se/~svedja
=====================================================================
[finger -l svedja at lysator.liu.se for public PGP key]



More information about the samba-ntdom mailing list