You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sa...@ril.com on 2014/11/28 07:34:31 UTC

Tomcat giving more request to my application.

Hello,
I am using apache-tomcat-7.0.53 for my application (which is working on multithreading environment).
To generate 100000 requests with 500 concurrent, I am trying to use following command on my linux server:

ab -n 100000 -c 500 "http://localhost:30080/ESME/StartupServlet?Source_Addr=%2B918895267182&Destination_Addr=121&short_message=recharge+111+asdrfgtyhu12+222&SMS_ID=042040f1-a309-4901-b9f1-3e47bf41c7c2&Received_Time=1416404203&SmscID=smpp-NVMBD01VSR551&MsgCode=0&MsgChar=UTF-8&MsgUDH="

But at the output side, my application is receiving more than 100000 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."

Re: Tomcat giving more request to my application.

Posted by Hassan Schroeder <ha...@gmail.com>.
On Thu, Nov 27, 2014 at 10:34 PM,  <Sa...@ril.com> wrote:

> following command on my linux server:

> ab -n 100000 -c 500
> "http://localhost:30080/ESME/StartupServlet?Source_Addr=%2B918895267182&Destination_Addr=121&short_message=recharge+111+asdrfgtyhu12+222&SMS_ID=042040f1-a309-4901-b9f1-3e47bf41c7c2&Received_Time=1416404203&SmscID=smpp-NVMBD01VSR551&MsgCode=0&MsgChar=UTF-8&MsgUDH=”

> But at the output side, my application is receiving more than 100000
> 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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

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


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

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Ameer,

On 11/29/14 4:45 AM, Ameer Mawia wrote:
> On Nov 28, 2014 12:08 PM, <Sa...@ril.com> wrote:
>> 
>> Hello,
>> 
>> I am using apache-tomcat-7.0.53 for my application (which is
>> working on
> multithreading environment).
>> 
>> To generate 100000 requests with 500 concurrent, I am trying to
>> use
> following command on my linux server:
>> 
>> 
>> 
>> ab -n 100000 -c 500 "
> http://localhost:30080/ESME/StartupServlet?Source_Addr=%2B918895267182&Destination_Addr=121&short_message=recharge+111+asdrfgtyhu12+222&SMS_ID=042040f1-a309-4901-b9f1-3e47bf41c7c2&Received_Time=1416404203&SmscID=smpp-NVMBD01VSR551&MsgCode=0&MsgChar=UTF-8&MsgUDH=
>
> 
”
>> 
>> 
> 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat giving more request to my application.

Posted by Ameer Mawia <am...@gmail.com>.
On Nov 28, 2014 12:08 PM, <Sa...@ril.com> wrote:
>
> Hello,
>
> I am using apache-tomcat-7.0.53 for my application (which is working on
multithreading environment).
>
> To generate 100000 requests with 500 concurrent, I am trying to use
following command on my linux server:
>
>
>
> ab -n 100000 -c 500 "
http://localhost:30080/ESME/StartupServlet?Source_Addr=%2B918895267182&Destination_Addr=121&short_message=recharge+111+asdrfgtyhu12+222&SMS_ID=042040f1-a309-4901-b9f1-3e47bf41c7c2&Received_Time=1416404203&SmscID=smpp-NVMBD01VSR551&MsgCode=0&MsgChar=UTF-8&MsgUDH=
”
>
>
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 100000
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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org