- Integrated Systems
- About Us
- Integrated Systems
- About Us
10-05-2011 02:47 AM
CIFS-Server core dump
HI, I've installed (updated) CIFS-Server A.03.01.01 on an 11.23 IA machine.
I get a core dump on accessing any shares unless I add
use mmap = no
to the smb.conf file.
The logs show this
[2011/10/05 09:37:10, 0] param/loadparm.c:3304(map_parameter) Cannot use "fixed mmap size" parameter on IA machine [2011/10/05 09:37:10, 0] param/loadparm.c:4403(lp_do_parameter) Ignoring unknown parameter "fixed mmap size" [2011/10/05 09:38:00, 0] lib/util_tdb.c:552(tdb_wrap_log) tdb(/var/opt/samba/locks/messages.tdb): tdb_expand: ERROR. Abort due to tdb_mmap failure. [2011/10/05 09:38:00, 0] lib/fault.c:46(fault_report) =============================================================== [2011/10/05 09:38:00, 0] lib/fault.c:47(fault_report) INTERNAL ERROR: Signal 6 in pid 23623 (3.4.3 based HP CIFS Server A.03.01.01) Please read the Trouble-Shooting section of the Samba3-HOWTO [2011/10/05 09:38:00, 0] lib/fault.c:49(fault_report) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2011/10/05 09:38:00, 0] lib/fault.c:50(fault_report) =============================================================== [2011/10/05 09:38:00, 0] lib/util.c:1479(smb_panic) PANIC (pid 23623): internal error [2011/10/05 09:38:00, 0] lib/util.c:1634(log_stack_trace) unable to produce a stack trace on this platform [2011/10/05 09:38:00, 0] lib/fault.c:326(dump_core)
The PDF mentions MPAS for IA instead of MMAP but nothing further.
1. Should I be concerned at dropping MMAP?
2. If so then how do I get it to work?
10-06-2011 01:41 AM
Re: CIFS-Server core dump
From the CIFS Server A.03.01.01 Release Notes:
Known issues and workarounds Issue HP CIFS Server does not function on HP-UX 11i v2 IA/PA without the "use mmap=no" parameter. Workaround The default value of the "use mmap" parameter is "yes". As the "fixed mmap size" parameter does not exist in the HP CIFS Server version A.03.01.01 on HP-UX 11i v2 IA/PA, the "use mmap=yes" parameter cannot function. This issue will be addressed in future release, until then, set the default value of the "use mmap" parameter as "no" for HP-UX 11i v2 IA/PA.
In other words, your only options are "set use mmap=no", "update to 11.31" or "wait for the next release and hope it will be fixed".
On my Debian Linux, "man smb.conf" says that HP-UX does not have a coherent mmap/read-write system memory cache, so Samba cannot use mmap on HP-UX and defaults automatically to "use mmap=no".
I expect this information is somewhat obsolete, and HP-UX 11.31's cache is in fact usable with mmap by CIFS Server A.03.01.01 (since one of the big features of 11.31 was the new cache implementation). But if this is correct, this only means the "use mmap = no" setting has been the default on HP-UX until now, and the people making the CIFS Server A.03.01.01 at HP just changed the default setting without realizing that the new performance-enhancing mmap feature is only usable on 11.31.
So it's not like you're "dropping" mmap: rather, you're telling the CIFS server to stop trying to use a feature it previously could not use at all, and now could (if you had a 11.31 system).