LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-28-2015, 11:31 AM   #1
ron7000
Member
 
Registered: Nov 2007
Location: CT
Posts: 248

Rep: Reputation: 26
sm-notify delay how to disable?


i use nfs, server and client, between a few linux systems.
I notice on boot and shutdown the process will sometimes hang on sm-notify. And actually most times if everything is working fine sm-notify will take around 30 seconds before the boot process continues.

For instance i was booting up a system and it hung on sm-notify, and this system only mounts a folder it does not export anything, and then i realized i forgot to plug in the network cable.
But let's say I was doing... whatever, and decided to take the machine off the network and simply set the ip address to static something or deleted all the network ports and nothing was configured, but I left NFS client enabled which means it tries to mount /data from some other machine and it can't.

Is there a way to make sm-notify less of a pain, like a 10 second timeout then move on?
Or is it supposed to hang... forever... for what reason? and it's all my fault for not undoing NFS server/client ?
 
Old 10-05-2015, 12:02 PM   #2
tsgomez
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Rep: Reputation: Disabled
The -m option to sm-notify allows you to set the time (in minutes) "to continue retrying notifications to unresponsive hosts". I haven't personally tried it, but you could always try to set -m 0.16.

If the -m option isn't set, it will retry for 15 minutes. If it's set to 0, it will continue sending notifications until it's manually stopped.

http://linux.die.net/man/8/sm-notify

Last edited by tsgomez; 10-05-2015 at 12:05 PM. Reason: Added additional info and link to man page
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Notifications don't show up (notify-send notify-osd) michal017 Linux - Desktop 0 05-06-2014 03:44 PM
how2 disable 30 sec shutdown delay Mint 15 xfce 64bit starkadder Linux Mint 7 12-17-2013 02:26 PM
using notify-send ashikahamed Ubuntu 0 05-02-2008 06:09 AM
Would you notify the BSA scott_R General 17 11-24-2003 01:11 AM
Notify No Nezar Linux - Networking 0 08-05-2001 03:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration