[Remoting] - Re: Socket Read Timeout on stressing calls for validating pr
by ron.sigal@jboss.com
Hi Vinay,
You have described problems on this thread and two other threads, which is making it hard for me to get a unified picture of what's going on. To try to clarify things, I'm consolidating the discussions on this thread. Here, I believe, are the phenomena you have experienced:
1. This thread:
"vink" wrote :
| On increasing timeout value of ejb3 connector, this exception is not coming. But, on running my stress tests, my application is throwing java.lang.OutOfMemoryError: unable to create new native thread
|
Is it on the client side or the server side where you can't create a new thread? I believe the thread dumps you've shown me are from the server side, and I don't see anything particularly unusual.
"vink" wrote :
| And, number of such sockets increases as time passes by & it finally results into the following exception;
| ...
| java.net.BindException: Address already in use: connect
| ...
|
If you're running on a Windows machine, you could be running up against a configurable limit Windows puts on the number of open sockets. For example, the parameter "MaxUserPort", which defaults to 5000, limits the user ports to values between 1024 and 5000. You can read more at, for example, "Microsoft Windows 2000 TCP/IP Implementation Details" - http://technet.microsoft.com/en-us/library/bb726981.aspx#EDAA.
2. "JBREM-877: New Socket Connection is being Created for Every" - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=126382&start=10
"vink" wrote :
| On using invokerDestructionDelay in ejb3 connector configuration, my system goes slow & slow and run out of resources(native threads) in few minutes.
|
Again, client side or server side?
"vink" wrote :
| When removing this attribute, the system don't run out of resources, but many sockets are visible in TIME_WAIT state. As a result of this, my system run out of sockets & after a while I get sporadic disconnects.
|
Client side or server side? And, could you describe "sporadic disconnects" more precisely?
2. "Stream Corrupted Exception on Server side" - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147905
"vink" wrote :
| After several hours of running I'm getting following exception
| ...
| Caused by: java.io.StreamCorruptedException: invalid stream header: 77011679
|
Clearly, this exception is occurring on the server side, but the actual problem might be occurring on the client side. Do you see anything unusual happening on the client side when this exception is thrown?
===============================================
I have a couple of general questions.
1. Am I right in inferring that you're running a stress test and you're seeing performance deteriorating on the client side?
2. Can you create a simple version of your application that demonstrates the same problems and that I can run for myself?
Thanks,
Ron
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199374#4199374
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199374
17 years, 3 months
[Installation, Configuration & DEPLOYMENT] - Re: JBoss 5.0 Taking LONG Time to Start Up
by jaikiran
"ctf" wrote :
| 2009-01-03 13:49:12,640 DEBUG [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main) vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jmx-console.war/ endpoint mappings:
| |
| | 2009-01-03 13:49:12,640 DEBUG [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main) Processing unit=jmx-console.war, structure:
| | jmx-console.war
| |
| |
| | 2009-01-03 13:51:02,015 DEBUG [org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added Processor org.jboss.metadata.process.processor.ejb.jboss.SetDefaultLocalBusinessInterfaceProcessor@1e55518 to Chain org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain@135cde4
| |
|
| This piece takes almost 2 minutes. Is this normal?
My clean JBossAS "default" server profile takes under a minute to boot on RHEL5 Operating System. So i wouldn't say your startup time is normal. Without any of your applications deployed, how much time does the "default" server take to start? A;so please post the first few lines from the jboss console which shows the JDK version being used. Just want to make sure, the correct JDK is being used.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199371#4199371
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199371
17 years, 3 months