[OpenIndiana-discuss] samba keeps dumping core on oi_147

Mike Gerdts mgerdts at gmail.com
Wed Oct 27 03:15:03 UTC 2010


On Tue, Oct 26, 2010 at 9:43 PM, Albert Lee <trisk at opensolaris.org> wrote:
> On Mon, Oct 25, 2010 at 11:53 PM, Christopher Chan
> <christopher.chan at bradbury.edu.hk> wrote:
>> So I ran truss on the master smbd process...
>>
>> It appears that something fired a SIGTERM arrow at it and then tried to
>> cancel it with a SIGCONT arrow or something?
>
> Not sure about the cause of the crash, but the truss output appears to
> be Samba trying to perform an orderly shutdown after it gets the first
> SIGTERM from the SMF stop method.

This is likely a result of SMF detecting that something in the service
is sick (dumped core) and as such is performing a restart.  The
default configuration of the apache22 service is smart enough to
delegate this work to httpd, which already knows how to deal with
children that core dump.  From
/lib/svc/manifest/network/http-apache22.xml:

                <property_group name='startd' type='framework'>
                        <!-- sub-process core dumps shouldn't restart
                                session -->
                        <propval name='ignore_error' type='astring'
                                value='core,signal' />
                </property_group>


Perhaps the samba smf service requires a similar configuration.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/



More information about the OpenIndiana-discuss mailing list