ESME_RMSGQFUL When recieving Messages from Clients

.NET library for SMPP protocol
Post Reply
zaffarowais
Posts: 4
Joined: Tue Aug 22, 2017 8:31 am

ESME_RMSGQFUL When recieving Messages from Clients

Post by zaffarowais » Fri Jan 12, 2018 10:54 am

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

alt
Site Admin
Posts: 727
Joined: Tue Apr 25, 2006 9:45 am

Re: ESME_RMSGQFUL When recieving Messages from Clients

Post by alt » Mon Jan 15, 2018 6:02 pm

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.

zaffarowais
Posts: 4
Joined: Tue Aug 22, 2017 8:31 am

Re: ESME_RMSGQFUL When recieving Messages from Clients

Post by zaffarowais » Wed Jan 17, 2018 11:15 am

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

alt
Site Admin
Posts: 727
Joined: Tue Apr 25, 2006 9:45 am

Re: ESME_RMSGQFUL When recieving Messages from Clients

Post by alt » Wed Jan 17, 2018 4:50 pm

Do you really need queue limit for each client?
Server won't send ESME_RMSGQFUL status when client.ReceiveQueueLimit = 0;

Post Reply