I'm running on a windows system using INAP/SS7/DTC/DTS (host) with dual SIU's
So I'm using GCTLOAD -m4000 but what I've seen if my application gets too slow (or the CPU on the computer slows down) the number of allocated messages gets to high the application can't keep up and the buffer will run out.
I would like to either
1. somehow query the gctload message buffer - if greater then X - I will not accept any more INAP calls and continue to process all the current messages.
or
2. configure the congestion to somehow help with this? How does the congestion work.
Is there anyway to query the gctload message buffer in 'code' (instead of running gctload -t1)
Thanks for your help!
Paul
Hi,
You can nominate your application as congestion module id (use of GCTLOAD -Ci option) , this will cause the congestion onset notifications to be sent to your application, should GCT congestion occur . it is then up to your application to process it AND make sure your application will forward the congestion messages (onset , abbate) to RSI (0xb0)
GCT congestion indications are provided with the following message:
Thank you!
I'll give that a try - but I'm using Septel 401 - which looks like has these functions:
int GCT_cong_status(unsigned int partition_id); int GCT_partition_congestion(int cclass);
I assume I should use the GCT_cong_status (because the argument is partition_id)
Does that sound right?
Thanks
If you're looking in the sysgct.h then the prototype for GCT_partition_congestion is misleading. It does expect to get the partition id. I'd recommend you use that one.