-
1. Re: Jboss AS7.1.1 Concurrent request
nickarls Oct 25, 2012 1:54 AM (in response to hrudayk16)If you are talking about http requests, check out max-connections in http://docs.jboss.org/jbossweb/7.0.x/config/http.html
I'm note sure what happens when the limit is hit (block, drop or exception)
-
2. Re: Jboss AS7.1.1 Concurrent request
wdfink Oct 25, 2012 4:58 AM (in response to hrudayk16)The number of requests depend on the application and the system.
If there are not enough resources (threads, connections) the server block the incomming request until a resource is free.
Unfortunately there in some cases the system become instable, this will be the case if the file handler limit is reached or the amount of memory.
-
3. Re: Jboss AS7.1.1 Concurrent request
erasmomarciano Oct 25, 2012 6:32 AM (in response to wdfink)Hi
I don't think that if is good server
1. Env: Windows
2. Processor 1
3. RAM : 1 GB
With RAM 1GB you could have easily a OUT.OF.MEMORY
With Windows you coutld have an block system
At any rate the number request depends on your application.
-
4. Re: Jboss AS7.1.1 Concurrent request
ctomc Oct 25, 2012 6:43 AM (in response to erasmomarciano)1 of 1 people found this helpfulerasmo2 marciano2 wrote:
Hi
I don't think that if is good server
1. Env: Windows
2. Processor 1
3. RAM : 1 GB
With RAM 1GB you could have easily a OUT.OF.MEMORY
With Windows you coutld have an block system
At any rate the number request depends on your application.
that is just wrong asumpsion
depends on what kind of cpu, how fast ram, what version of windows (i hope that windows server) and what architecture, for 64bit 1gb would be too low.
In many cases windows server can perform as fast or even faster than linux conterparts, but it really depends on application and how you configure your server.
I had a chance to stess tests some software that was runing with 512mb of jvm heap in windows & linux server with 2vcpu (xeon x series 2.8ghz) and 1gb of ram and i could get 100K+ req/sec
all that was done on 32bit systems with 32bit jvm
but then again, it all comes down to your application.
--
tomaz
-
5. Re: Jboss AS7.1.1 Concurrent request
hrudayk16 Oct 25, 2012 8:31 PM (in response to ctomc)Thanks Tomaz, The input was very helpful.
The exact server configuration is
Windows NT 2008 server (64 bit) with 1core CPU of 2.8GHZ
Following is the JVM configuration : -Xms128M -Xmx512M -XX:MaxPermSize=256M.
I have apache 2.2.22 connected with jboss using mod_jk and apache maxClient configuration 150
My implementation is to process webservice request, do some processing with request XML string and send response back(total time to process is 200 milliseconds). With Apache MaxClient config set to 150 and ThreadPerChild = 25, does this mean that jboss can receive max 150 concurrent webservice request and it will process the request as resources are available.
Thanks
Hruday