Juan I agree, that's a good article, and we have used it when we were with JRun 3.1. With JRun3.1 we never actually scaled that far, though. We are now using JRun4 sp1 and cannot get passed 1000 concurrent threads/sockets.
Thanks for your advice, BenG. Juan Camacho wrote: >We were having the same problem, we found a very good article that helped us >to solve the problem, check it out, I hope it helps: > >http://www.macromedia.com/devnet/server_archive/articles/performance_tuning_jrun31.html > >Juan > > > >>From: Ben Groeneveld <[EMAIL PROTECTED]> >>Reply-To: [EMAIL PROTECTED] >>To: JRun-Talk <[EMAIL PROTECTED]> >>Subject: High Traffic JRun4 Settings >>Date: Wed, 20 Aug 2003 18:07:20 -0700 >> >>JRun fans, I am experimenting with high volume settings for JRun under >>IIS. I seem to bump up against a limit of 1000 user threads open. I >>have configured the default server SERVER-INF/jrun.xml as follows: >> >> <service class="jrun.servlet.jrpp.JRunProxyService" name="ProxyService"> >> <!--<attribute name="activeHandlerThreads">25</attribute>--> >> <attribute name="activeHandlerThreads">1005</attribute> >> <attribute name="backlog">500</attribute> >> <attribute name="deactivated">false</attribute> >> <attribute name="interface">*</attribute> >> <!--<attribute name="maxHandlerThreads">1000</attribute>--> >> <attribute name="maxHandlerThreads">1005</attribute> >> <attribute name="minHandlerThreads">1</attribute> >> <attribute name="port">51000</attribute> >> <attribute name="threadWaitTimeout">20</attribute> >> <attribute name="timeout">300</attribute> >> >>At 1000 concurrent connections the jrun server will start complaining >>that I need to configure it for more threads. I can set the active and >>or max handler threads higher, e.g., 2000, and it has no effect. When I >>experimented with low numbers, these params normally allow me (N-1) >>concurrent connections, where N is the HandlerThread param. Now from >>what I understand, each socket connection will hold onto one thread, and >>a VM on NT should be able to handle 2048 threads or so. Anyone have any >>idea what I am missing? >> >>I don't think IIS is the issue. But for what it's worth, I have JRun >>connected to IIS5 on win2k server, which is configured to as follows: >> >>100,000 hits per day >>ListenBackLog 500 >>AcceptExOutstanding 200 >>MaxPoolThreads 20 >>PoolThreadLimit 2000 >>ServerListenBackLog 2000 >>MaxEndPointConnections 2000 >> >>Thanks for any advice. BenG. >> >>-- >>Ben Groeneveld >>Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 >>Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:541.420.6246 >> >> >> >> >> >> >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:8 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=<:emailid:>.<:userid:>.<:listid:> Get the JRun Web Application Construction Kit - the only book written specifically for JRun developers. http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion
