Page 1 of 1

ESME_RMSGQFUL When recieving Messages from Clients

Posted: Fri Jan 12, 2018 10:54 am
by zaffarowais
Hi,

We are using your server library to provide SMPP connections to our customers, We had set the buffer size to be around 30 MB , but the client is getting ESME_RMSGQFUL from us,

The client is sending at a speed of less than 50 SMS per sec

Code: Select all

                        //Setup Client Paramters
                        client.EnquireLinkInterval = TimeSpan.FromSeconds(60);
                        client.ConnectionTimeout = TimeSpan.FromSeconds(180);
                        data.Response.Status = CommandStatus.ESME_ROK;
                        ////Change number of threads that process received messages. Dafault is 3
                        client.WorkerThreads = 10;
                        ////Change receive buffer size for client socket
                        client.ReceiveBufferSize = 30 * 1024 * 1024;
                        ////Change send buffer size for client socket
                        client.SendBufferSize = 30 * 1024 * 1024;
                        ////Don't allow this client to send more than one message per second
                        client.ReceiveSpeedLimit = SMPPAccount.SpeedLimit;
                        ////Set maximum number of unhandled messages in the receive queue for this client
                        client.ReceiveQueueLimit = SMPPAccount.SpeedLimit;
 

Kindly Advice

Re: ESME_RMSGQFUL When recieving Messages from Clients

Posted: Mon Jan 15, 2018 6:02 pm
by alt
Hi zaffarowais,

You should increase value in the property client.ReceiveQueueLimit. It depends on how fast your application can process received PDU and how many memory your app can consume.
Try to set 500-1000 messages in the queue.

Re: ESME_RMSGQFUL When recieving Messages from Clients

Posted: Wed Jan 17, 2018 11:15 am
by zaffarowais
We had already tried setting that up between 500 to 1000, we tried with 600, 500 etc, Same issue again.

Please note that this only happens when a client sends Bulk amount of Messages

Re: ESME_RMSGQFUL When recieving Messages from Clients

Posted: Wed Jan 17, 2018 4:50 pm
by alt
Do you really need queue limit for each client?
Server won't send ESME_RMSGQFUL status when client.ReceiveQueueLimit = 0;