2022.03.16 07:54 PM
Hello everyone,
I would like to ask how to start a q task/instance along with extra OS system command within KxPlatform.
Conventionally, after user right-click on a pre-defined q task/instance, platform launches the process like :
"/platForm_home/delta-bin/software/KDBPlus_version/l64/q q/prcl.q_ INSTANCE_NAME -prhost FQDN_of_CONTROL -prport PORT_of_CONTROL -name CentralConfig-PIDofControl -logfile /pathOfLogdir/... (blablabla....)".
so that the task/instance is fully managed by the platform.
In case that i would like to bind the task to a specified mem or cpu, like "numactl --cpubind=0 --membind=0,1 q blablabla...",
i would like to know how to make this work.
I tried in the way like what platform does: "numactl --cpubind=0 --membind=0,1 /platForm_home/delta-bin/software/KDBPlus_version/l64/.....(the rest is the same as above)"
but this did not work.
The result is: the task is seemingly up, cuz the port number is busy, however the task could not be managed by Control neither could be attached to.
Please give me some suggestions, thank you!
best,
leguan,
2022.03.20 10:06 PM
Hi leguan,
I believe you can un-mark the solution using the following option on the post you marked as the solution.
Kind regards,
David
2022.03.16 11:45 PM
Hi leguan,
Is this query in relation to your other thread: Re: questions about tuning a NUMA server - KX Community - 11554?
If so it may be best to continue that thread in case others search for this later to avoid fragments answers 🙂
Cheers,
David
2022.03.20 09:23 PM
Hello David,
thank you for responding!Yes this one is related to post 11554, but i have marked that one as solved. How to re-open that thread?
best,
leguan
2022.03.20 10:06 PM
Hi leguan,
I believe you can un-mark the solution using the following option on the post you marked as the solution.
Kind regards,
David
2022.03.21 02:12 AM
Hi David,
This is Marion from the account team.
My client, Leguan is waiting for a reply to post number 11554.
Appreciate if you can look into it soonest.
Many thx,
Marion
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.