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 (refer to man nice
). Priorities on Linux and UNIX usually run from -20
(the highest priority) to 19
(the lowest priority). By default, most processes start up with a priority of 0. To reduce the priority, you set the process priority to a higher number. For example, when the default is 0
, setting the priority to 5
lowers the process priority.
To do this for all ODBC-ODBC Bridge server processes, edit /usr/local/easysoft/oob/server
and prefix the last line:
./esoobserver inetd
with a nice
command to reduce the priority (refer to the man
page for your nice
command as they are not all the same). An example for Linux is:
nice -n5 ./esoobserver inetd