Subject | give priority to connections |
---|---|
Author | Fabrice Aeschbacher |
Post date | 2004-05-26T09:14:05Z |
Hi,
[Firebird 1.5 CS / linux]
I have 2 connections to the DB:
- conn1 used to insert datas
- conn2 used to select datas
I want the instance of the fb_inet_server process associated with the
connection doing the SELECTs (conn2) to be started with a lower
priority (say: nice 10).
How can I achieve this, without having to renice manually the process?
Is it possible to have to use 2 communication ports (say, 3050 and
3051), and tell inetd to start fb_inet_sever with nice 10 when the
connection is opened on the port 3051?
Is there any other solution?
Best regards,
Fabrice Aeschbacher
[Firebird 1.5 CS / linux]
I have 2 connections to the DB:
- conn1 used to insert datas
- conn2 used to select datas
I want the instance of the fb_inet_server process associated with the
connection doing the SELECTs (conn2) to be started with a lower
priority (say: nice 10).
How can I achieve this, without having to renice manually the process?
Is it possible to have to use 2 communication ports (say, 3050 and
3051), and tell inetd to start fb_inet_sever with nice 10 when the
connection is opened on the port 3051?
Is there any other solution?
Best regards,
Fabrice Aeschbacher