[Samba] smbd Crash

Bruno MACADRE bruno.macadre at univ-rouen.fr
Fri Oct 2 02:43:07 MDT 2009


	I don't stop to have problems with samba :s ...

	Now after having workaround the bug of scanning all LDAP users for each
connexion... smbd crash very often.

	In some workstation log files i can see something like this :

[2009/10/01 16:28:12,  2] smbd/open.c:580(open_file)
  baala opened file .profiles/firefox/cookies.sqlite-journal read=No
write=No (numopen=20)
[2009/10/01 16:28:12,  2] smbd/close.c:612(close_normal_file)
  baala closed file .profiles/firefox/cookies.sqlite-journal
(numopen=19) NT_STATUS_OK
*** glibc detected *** /usr/sbin/smbd: realloc(): invalid next size:
0x0955c5c8 ***
======= Backtrace: =========
======= Memory map: ========

The problem is when this event appear, the smbd of the user crash and
put the smbd service in a unusable state... All users already connected
can continue to work but no more connexion are allowed, and i see lot of
"smbd <defunct>" process apprearing.

At this time the samba 3.4.1 (and 3.4.2) are unusable at all beacause
this behavior appears many dozens time per day... I've tested all the
hardware of the server and no problem. The server was equiped with 2
QuadCore E5430 @ 2.66 and 4Gb of memory. I've got 64 Workstations into
the domain (all workstation have dual-boot WinXP Pro / Ubuntu 9.04), and
about 600 users.

Any idea ?



 Ingénieur Systèmes et Réseau     | Systems and Network Engineer
 Département Informatique         | Department of computer science
 Responsable Réseau et Téléphonie | Telecom and Network Manager
 Université de Rouen              | University of Rouen
Coordonnées / Contact :
	Université de Rouen
	Faculté des Sciences et Techniques - Madrillet
	Avenue de l'Université - BP12
	76801 St Etienne du Rouvray CEDEX

	Tél : +33 (0)2-32-95-51-86
	Fax : +33 (0)2-32-95-51-87

More information about the samba mailing list