Starting and Stopping the Server
160
Netscape Enterprise Server Administrator’s Guide
Starting and Stopping the Server
Once the server is installed, it runs constantly, listening for and accepting HTTP
requests. The status of the server appears in the Server On/Off page. You can
start and stop the server using one of the following methods:
•
Click the Server On or Server Off in the Server On/Off page.
•
Use the Services window in the Control Panel (Windows NT)
•
Use
start.
If you want to use this script with
init
, you must include the
start command
http:2:respawn:
server_root
/
type-identifier
/
start -start -i
in
/etc/inittab
. (Unix)
•
Use
stop
, which shuts down the server completely, interrupting service
until it is restarted. If you set the
etc/inittab
file to automatically restart
(using “
respawn
”), you must remove the line pertaining to the web server
in
etc/inittab
before shutting down the server; otherwise, the server
automatically restarts. (Unix)
After you shut down the server, it may take a few seconds for the server to
complete its shut-down process and for the status to change to “Off.”
If your machine crashes or is taken offline, the server stops and any requests it
was servicing may be lost.
Setting the Termination Timeout
When the server is off, it stops accepting new connections. Then it waits for all
outstanding connections to complete. The time the server waits before timing
out is configurable in the
magnus.conf
file. By default it is set to 3 seconds.
To change the value, add the following line to
magnus.conf
:
TerminateTimeout seconds
where
seconds
represents the number of seconds the server will wait before
timing out.
The advantages to configuring this value is that the server will wait longer for
connections to complete. However, because servers often have connections
open from nonresponsive clients, increasing the termination timeout may
increase the time it takes for the server to shut down.
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...