Date: Mon, 31 Dec 2001 09:17:49 -0500 From: "Robert Blayzor" <rblayzor@inoc.net> To: <freebsd-questions@freebsd.org> Subject: Samba on FreeBSD 4.4+ Message-ID: <006b01c19205$ed6bc7c0$6f00000a@z0.inoc.net>
next in thread | raw e-mail | index | archive | help
I'm running into a problem with Samba and memory allocation. I have a box that is running FreeBSD-4.5PRE, 2 CPU's and a Gig of RAM. The box is nothing more than a SMB and NFS file server. I have the following kernel options set: maxusers 256 options SYSVSHM #SYSV-style shared memory options NMBCLUSTERS=16384 options QUOTA options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O I am contemplating adding: options MAXDSIZ="(256*1024*1024)" # Is the maximum limit options DFLDSIZ="(256*1024*1024)" # Is the default value for the limit But I don't think that is the problem since the actual SMB processes never reach over 4MB in size. I installed the port for Samba 2.2.2 (from ports-stable) and I'm seeing the smb logs littered with the following, and then the processes eventually coring out. Whe this happenes the box has TONs of free memory available (>500M)... I read BUGS.txt and found nothing. [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] passdb/passdb.c:pdb_init_sam(115) pdb_init_sam: error while allocating memory [2001/12/31 05:20:11, 0] lib/util.c:Realloc(654) Memory allocation error: failed to expand to 4096 bytes [2001/12/31 05:20:11, 0] lib/fault.c:fault_report(40) =============================================================== [2001/12/31 05:20:11, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 99496 (2.2.2) Please read the file BUGS.txt in the distribution [2001/12/31 05:20:11, 0] lib/fault.c:fault_report(43) =============================================================== [2001/12/31 05:20:11, 0] lib/util.c:smb_panic(1055) PANIC: internal error -- Robert Blayzor, BOFH INOC, LLC rblayzor@inoc.net Memory dump: Amnesia... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006b01c19205$ed6bc7c0$6f00000a>