To Start, Stop, and Check Status on UNIX
On UNIX, you start or stop IBM® SPSS® Modeler Server by running the modelersrv.sh script in the IBM SPSS Modeler Server installation directory.
- Change to the IBM SPSS Modeler Server installation directory.
For example, at a UNIX command prompt, type
cd /usr/modelersrv
where modelersrv is the IBM SPSS Modeler Server installation directory.
- To start the server, at the command prompt, type
./modelersrv.sh start
- To stop the server, at the command prompt, type
./modelersrv.sh stop
- To check the status of IBM SPSS Modeler Server, at a UNIX command prompt,
type
./modelersrv.sh list
and look at the output, which is similar to what the UNIX
ps
command produces. The first process in the list is the IBM SPSS Modeler Server daemon process, and remaining processes are IBM SPSS Modeler sessions.
The IBM SPSS Modeler Server installation program includes a script (auto.sh) that configures your system to start the server daemon automatically at boot time. If you have run that script and then stop the server, the server daemon will restart automatically when the computer is rebooted. See the topic Automatically Starting and Stopping IBM SPSS Modeler Server for more information.
UNIX kernel limits
You must ensure that kernel limits on the system are sufficient for the operation of IBM SPSS Modeler Server. The data, memory, file, and processes ulimits are particularly important and should be set to unlimited within the IBM SPSS Modeler Server environment. To do this:
- Add the following commands to
modelersrv.sh:
ulimit –d unlimited
ulimit –m unlimited
ulimit –f unlimited
In addition, set the stack limit to the maximum allowed by your system (ulimit –u unlimited
ulimit -s XXXX
), for example:ulimit -s 64000
- Restart IBM SPSS Modeler Server.