Segfault from endless recursion

Bård Tesaker bt at chembio.ntnu.no
Fri Dec 8 14:56:08 GMT 2000


Hi!

The problem:
The "father" process of my samba server is core-dumping "spontanously",
normaliy after several hours (12 typicaly) of smooth running, resulting in
new requests beeing rejected. All the existing sessions and assosiated
"child" processes survives, but "fatherhood" is passed to the init
process.

The background (not the issue):
We have experienced hangs on our system leaving top display with
several hundred processes in "WAIT" state. We have seen the system
resolve the problem, which involv moving all the "WAIT"'ing processes to
"run". This takes so long that in workhour we prefer forcing a
reeboot. Our current theory is that the hangs is caused by our Raid
controller under heavy load.  

The issue:
Is there a chanse these problems are related: 
  Is our IO problem generating the recursion? 
  Does the "adaption" of childs generate activity in them?

Sorry for the size of this mail. It was intended for samba-bugs at samba.org,
but they seems to have "hung up". I know the problem:
	 To get things done - ignore the phone...

TIA BT.



OS:	Compaq Tru64 Ver 5.1 in cluster environment. No enhanced security.

Load:	average 400 processes, 500 connected services.

Samba:	ftp://www.bibsyst.no/pub/samba/samba-2.0.7.tar.gz
	Installed with:
		cd /usr/local/src/samba-2.0.7/source
		./configure
		make
		make install
	Started from rc with 
		/usr/local/samba/bin/smbd -D \
			-l/usr/local/samba/var/smb.log \
			-s/etc/smb.conf
		/usr/local/samba/bin/nmbd -D \
			-l/usr/local/samba/var/nmb.log \
			-s/etc/smb.conf
	...No errors reported so far.

cc:	$ /usr/bin/cc -V
	Compaq C V6.3-027 on Compaq Tru64 UNIX V5.1 (Rev. 732)
	Compiler Driver V6.3-026 (sys) cc Driver

core:	$ ladebug /usr/local/samba/bin/smbd core-20001207-smb
	Welcome to the Ladebug Debugger Version 4.0-58
	------------------ 
	object file name: /usr/local/samba/bin/smbd 
	core file name: core-20001207-smb
	Reading symbolic information ...done
	Core file produced from executable smbd
	Thread terminated at PC 0x3ff801a0618 by signal SEGV
	(ladebug) where
	>0  0x3ff801a0618 in UnknownProcedure2FromFile110(0x3ffc008e758,
0x140053d00, 0x64, 0x1400373f0, 0x140060060, 0x0) in /usr/shlib/libc.so
	#1  0x3ff800e2160 in __strftime_std(0x3ffc008e758, 0x140053d00, 0x64,
0x1400373f0, 0x140060060, 0x0) in /usr/shlib/libc.so
	#2  0x3ff800e18b0 in strftime(0x3ffc008e758, 0x140053d00, 0x64,
0x1400373f0, 0x140060060, 0x0) in /usr/shlib/libc.so
	#3  0x1200f3914 in timestring(0x3ffc008e758, 0x140053d00, 0x64,
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#4  0x1200eaa48 in dbghdr(0x3ffc008e758, 0x140053d00, 0x64, 
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#5  0x120108930 in client_name(0x3ffc008e758, 0x140053d00, 0x64,
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#6  0x120102d74 in standard_sub_basic(0x3ffc008e758, 0x140053d00, 
0x64, 0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#7  0x120070ebc in UnknownProcedure2FromFile30(0x3ffc008e758, 
0x140053d00, 0x64, 0x1400373f0, 0x140060060, 0x0) in
/usr/local/samba/bin/smbd
	#8  0x1200ea194 in reopen_logs(0x3ffc008e758, 0x140053d00, 0x64,
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#9  0x1200ea4d4 in check_log_size(0x3ffc008e758, 0x140053d00, 0x64,
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#10 0x1200ea768 in Debug1(0x3ffc008e758, 0x140053d00, 0x64, 
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#11 0x1200eaa78 in dbghdr(0x3ffc008e758, 0x140053d00, 0x64, 
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#12 0x120108930 in client_name(0x3ffc008e758, 0x140053d00, 0x64,
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	:
	:
	#19128 0x1200eaa78 in dbghdr(0x3ffc008e758, 0x140053d00, 0x64,
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#19129 0x120108930 in client_name(0x3ffc008e758, 0x140053d00, 0x64,
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#19130 0x120102d74 in standard_sub_basic(0x3ffc008e758, 0x140053d00, 
0x64, 0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#19131 0x120070ebc in UnknownProcedure2FromFile30(0x3ffc008e758,
0x140053d00, 0x64, 0x1400373f0, 0x140060060, 0x0) in
/usr/local/samba/bin/smbd
	#19132 0x1200ea194 in reopen_logs(0x3ffc008e758, 0x140053d00, 0x64,
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#19133 0x12001cbe8 in reload_services(0x3ffc008e758, 0x140053d00, 
0x64, 0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#19134 0x12006a714 in check_reload(0x3ffc008e758, 0x140053d00, 0x64,
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#19135 0x12001c7e0 in UnknownProcedure2FromFile1(0x3ffc008e758,
0x140053d00, 0x64, 0x1400373f0, 0x140060060, 0x0) in
/usr/local/samba/bin/smbd
	#19136 0x12001dc90 in main(0x3ffc008e758, 0x140053d00, 0x64, 
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	#19137 0x12001c188 in __start(0x3ffc008e758, 0x140053d00, 0x64,
0x1400373f0, 0x140060060, 0x0) in /usr/local/samba/bin/smbd
	(ladebug) 


Bård Tesaker                 "Are you satisfied with the backup" - vmsinstal
----------------------------------------------------------------------------
ED-tjenesten, Rom C2-116b, Realfagbygget                 phone: +47 73591798
NTNU, Fak. for Kjemi og biologi
N-7491 Trondheim                        E-mail: bard.tesaker at chembio.ntnu.no





More information about the samba mailing list