GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SEARCHMONITOR (8)

NAME

searchmonitor - SWISH++ search daemon monitor

CONTENTS

Synopsis
Description
     Restartable Conditions
     Unrestartable Conditions
Options
Files
See Also
Author

SYNOPSIS

searchmonitor [ -c conf_file ] [ -s search_path ]

DESCRIPTION

searchmonitor is a process monitor for search(1) when it is running as a daemon. If the process exits because of a condition that restarting might cure, it will automatically be restarted.

searchmonitor is typcially called from a system start script such as searchd(8) (for SysV-like systems) or rc.local (for BSD-like systems).

    Restartable Conditions

The following conditions will cause a restart:
o A create, bind, or listen to a TCP or Unix domain socket fails.
o A select or an accept on a socket fails.
o Creating or detaching a thread fails.
o Initializing a thread mutex or condition fails.
o Any unaccounted-for exit status.
Restartable conditions are logged via syslogd(8) at the ERR level. There is a 5-second sleep before the process is restarted to prevent tight loops.

    Unrestartable Conditions

The following conditions will not cause a restart:
o Error in configuration file.
o Error in command-line.
o Reading the index file fails.
o Writing the PID file fails.
o Deleting an old Unix domain socket file fails.
o Changing directory to / fails.
o The user or group the process is attempting to change its user and group ID to does not exist.
o The process received a USR2 signal in response to a manual shutdown request.
With the exception of USR2, unrestartable conditions are logged via syslogd(8) at the ALERT level.

OPTIONS

-cconf_file The name of the configuration file, f, to use. If none is given, swish++.conf is tried both in the current directory and in /etc.
-ssearch_path The full path to the location of search(1). (Default is whereever it was installed. The default for that is /usr/local/bin/search.)

FILES

swish++.conf default configuration file
/usr/local/bin/search Default location for search(1)

SEE ALSO

search(1), swish++.conf(4), searchd(8), syslogd(8)

AUTHOR

Paul J. Lucas <pauljlucas@mac.com>
Search for    or go to Top of page |  Section 8 |  Main Index


SWISH++ F3SEARCHMONITORFP (8) November 11, 2001

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.