restart multipathd automatically
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
I am not sure whether the daemon has any dependencies to make it not OK to start/restart this way.
Thanks
Mike
Quoted 8 lines · Stephen Mike
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.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
Quoted 9 lines · Luca Berra
Quoted 7 lines · Stephen Mike
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 startno, 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
[email protected]