Samba running on s390 system stops responding and needs to be restarted

This document (7015515) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)

Kernel: 3.0.93-0.8-default s390x

Product: samba-3.6.3-0.42.1 Sun Nov 3 08:00:08 2013


Samba shares become unavailable.
A LAN trace during the outage shows an NT Create AndX Request being TCP ACK'd by the server but Samba never responds.
A restart of Samba resolves the issue for a while.


In the [global] section of the /etc/smb.conf set add the line:
use mmap = no
Save the change
Restart Samba (rcsmb restart)


The cached tdb files were being corrupted.
The restart of Samba recreated them and Samba worked until the next instance of the corruption.

Here is the mmap setting as described in the man page for the smb.conf file.

This global parameter determines if the tdb internals of Samba can depend on mmap working correctly on the running system. Samba requires a coherent mmap/read-write system memory cache. Currently only HPUX does not have such a coherent cache, and so this parameter is set to no by default on HPUX. On all other systems this parameter should be left alone. This parameter is provided to help the Samba developers track down problems with the tdb internal code.

Default: use mmap = yes


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7015515
  • Creation Date: 12-Aug-2014
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center