[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] restart multipathd automatically



Luca Berra <bluca comedia it> wrote:
> On Mon, Jan 21, 2008 at 03:54:02PM +0100, Stephen Mike wrote:
>> Hi,
>>
>> To restart multipathd automatically after it dies, is it ok to put, in
>> /etc/inittab, a line like this? 
>> # run multipathd at level 4 (restart)
>> mphd:4:respawn:/etc/rc.d/init.d/multipathd start
>>
> no, it is not.

To add a little (hopefully)...

If multipathd is dieing it is better to determine why it is dieing.

Running multipathd in foreground mode with verbosity may provide info.
"/sbin/multipathd -d -v4"

If the issue is multipathd causing a segfault you would need to build a
non-strip version and then use ulimit -c unlimited to allow creation of a
core file.

You could then use gdb post getting a segfault to run "bt full" on the
core file to hopefully determine the area of the problem.

-andmike
--
Michael Anderson
andmike linux vnet ibm com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]