Re: [OT] Tomcat giving more request to my application.

2014-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Ameer,

On 11/29/14 4:45 AM, Ameer Mawia wrote:
 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.

NB: ab is apachebench, a simple HTTP load-runner that comes with
Apache httpd.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJUe6zEAAoJEBzwKT+lPKRYsekQAJgNaQw/qNeEDR280n+6uisM
XgqZfk1Plgh4qXFwExYd+RydZjWu8vL7ZsDuWepJ5aKp8qiyINLcIIx8Zn0lnb+y
Dg091A0xkvGLxslqHlHaghDQ/sVFf3A0pbIhBtr1JWJeaGACKSmV97O/kxsNA/ZN
dsjzTxb6FQR0LFTPDD4pPNTAHbE+/X4h2mSUq2kQjNM4ZKAA4tg+z9v6+BAhfaEk
4RMU10BuKEZEhWVcS5kOLatN6rHLij77WP9cA28gJBpuuzaBI4RyB4SSrk+jMgsl
K9zOl8MInr0DKPtbQh5wz2d0FGC5ndQgNOeddGhAiGkm7bovsbLi4IIhY9EbTaNc
OWnNJ3jFXq5ygnAEMggFZWvsjo5B+k80ufTs3gP8SBBOBJbF6HpW/1sSk81/ExGi
HlAaecypgCawd07iI/g9bKrs/WVVm/602b6c4p4NCnQG3jWEZPLZVktD+KbYQL63
OEEwVjbd0H9OJ6kHn0LkMuQ0fZz93jkN2LdELWfyTEvpp5Um8iXUawq5BMR/I30Z
Uwwf2dJ9zA+12Oi9DM2JMMc46kVya+/gYcPTh70gF/oLa7rlkkNXdSB0k4gISaEW
6mdbghAiSNmHYNhWwjIURDj5F4OPHHAfKd9uKNDT9Qma+ivx6vkpBhD1QyEKXcVu
c9e90dR06sQLdrUDOa+W
=vBxS
-END PGP SIGNATURE-

-
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 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



Tomcat giving more request to my application.

2014-11-27 Thread Sarojkumar.Yadav
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=;

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.


server.xml
Description: server.xml

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