Easysoft ODBC-ODBC Bridge

How do I run an OOB Server on UNIX at reduced priority?

Article:
00923
Last Reviewed:
28th October 2008
Revision:
3

Firstly we should say that this is not a recommendation to run the OOB Server at a reduced priority but we have been asked this question. Usually the best course of action is to let the operating system work out the scheduling.

By default, the OOB Server on UNIX runs under inetd. The inetd configuration runs the script /usr/local/easysoft/oob/server when a client connects to the OOB Server port. This script runs the esoobserver program.

If you want to reduce the priority of the OOB Server you can "nice" the esoobserver process in this script (see man nice). Priorities on UNIX usually run from -20 (the highest priority to 19 (the lowest priorty). By default, most processes will start up with the default priority of 0. To reduce the priority you set the process priority to a higher number. e.g. when the default is 0, setting the priority to 5 lowers the process priority.

To do this for all OOB Server processes you need to edit the file /usr/local/easysoft/oob/server and prefix the last line:

./esoobserver inetd

with a nice command to reduce the priority (see the man page for your nice command as they are not all the same). An example for Linux is:

nice -n5 ./esoobserver inetd

Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)


Oracle is a registered trademark of Oracle Corporation and/or its affiliates.