Easysoft ODBC-ODBC Bridge

How do I run an ODBC-ODBC Bridge Server on UNIX at reduced priority?

Article:
00923
Last Reviewed:
23rd January 2024
Revision:
3

Firstly, we should say that this is not a recommendation to run the Easysoft ODBC-ODBC Bridge Server at a reduced priority. Usually, the best course of action is to let the operating system work out the scheduling.

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

If you want to reduce the priority of the ODBC-ODBC Bridge 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 priority). 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 ODBC-ODBC Bridge 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)