Re: Tomcat giving more request to my application.

2014-11-29 Thread Ameer Mawia
On Nov 28, 2014 12:08 PM, sarojkumar.ya...@ril.com wrote:

 Hello,

 I am using apache-tomcat-7.0.53 for my application (which is working on
multithreading environment).

 To generate 10 requests with 500 concurrent, I am trying to use
following command on my linux server:



 ab -n 10 -c 500 
http://localhost:30080/ESME/StartupServlet?Source_Addr=%2B918895267182Destination_Addr=121short_message=recharge+111+asdrfgtyhu12+222SMS_ID=042040f1-a309-4901-b9f1-3e47bf41c7c2Received_Time=1416404203SmscID=smpp-NVMBD01VSR551MsgCode=0MsgChar=UTF-8MsgUDH=
”


Excuse me for my ignorance. But what is ab. Your own custom client. In
any case I will first cindier your client to be culprit, generating more
request than you have expected.

 But at the output side, my application is receiving more than 10
requests.
 I have attached the configurations files.
 Kindly revert back if we are doing something wrong or if there is any
solution available.






 Confidentiality Warning: This message and any attachments are intended
only for the use of the intended recipient(s), are confidential and may be
privileged. If you are not the intended recipient, you are hereby notified
that any review, re-transmission, conversion to hard copy, copying,
circulation or other use of this message and any attachments is strictly
prohibited. If you are not the intended recipient, please notify the sender
immediately by return email and delete this message and any attachments
from your system.

 Virus Warning: Although the company has taken reasonable precautions to
ensure no viruses are present in this email. The company cannot accept
responsibility for any loss or damage arising from the use of this email or
attachment.



 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org


Re: Tomcat giving more request to my application.

2014-11-29 Thread Hassan Schroeder
On Thu, Nov 27, 2014 at 10:34 PM,  sarojkumar.ya...@ril.com wrote:

 following command on my linux server:

 ab -n 10 -c 500
 http://localhost:30080/ESME/StartupServlet?Source_Addr=%2B918895267182Destination_Addr=121short_message=recharge+111+asdrfgtyhu12+222SMS_ID=042040f1-a309-4901-b9f1-3e47bf41c7c2Received_Time=1416404203SmscID=smpp-NVMBD01VSR551MsgCode=0MsgChar=UTF-8MsgUDH=”

 But at the output side, my application is receiving more than 10
 requests.

Aside from not understanding what you mean by the output side,
that sounds unlikely. How are you determining this?

Can you provide a reproducible test case?

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org