Product Documentation

Installing FairCom Products

Previous Topic

Next Topic


In the /tools folder, run the command-line ctstop -AUTO to immediately shut down the FairCom Server.

Stopping the FairCom Server in Windows

To shut down the FairCom Server when it was started manually in Windows, you can click the Shutdown menu item in the FairCom Control Window.

This approach is normally used in demo and some development environments. In production environments, the FairCom Server runs as a Windows Service.

Stopping the FairCom Server Running as a Windows Service

The FairCom service can be stopped by using either the Microsoft sc.exe command or the Windows Services Control Panel applet, or the net stop command.

  • The service stops automatically when Windows signals the operating system itself is shutting down. A clean shutdown of Windows should result in a clean shutdown of the c-tree service. However, since Windows only allows a 20 second delay for service shutdown, FairCom recommends all files be maintained under transaction processing to allow automatic recovery if cache cannot be safely flushed to prevent data corruption. The default 20 second delay can be adjusted using the WaitToKillServiceTimeout registry key, found in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\, when present.
  • Windows Vista and later allow a new Service PRESHUTDOWN notification, which gives the service extra time to complete its shutdown. This can help to avoid a lengthy auto recovery if the server has too many cache pages to flush within the SHUTDOWN limit.

See Starting for information about scripting the startup and shutdown operations on Linux.