Hi Ryan,

I had a samilar problem and it turned out to be the settings mentioned
below... not sure if it's the same thing, but basically CF became very
unstable with the wrong combination of settings. The JRun error would
appear, and i'd have to restart the process.

I found this somewhere on the macromedia site... dont ask me where, i just
pasted this in from an old email from our sysadmin.

Hope this helps

Gav


ColdFusion MX will become unstable when activeHandlerThreads <
minHandlerThreads. activeHandlerthreads is the same as the [Simultaneous
Requests] setting in the ColdFusion MX Administrator. The jrun.xml file
is located in cf_root/runtime/servers/default/SERVER-INF/jrun.xml.

      minHandlertheads has a default of 20 and is not editable via the
ColdFusion MX administrator.

      Note: The default setting for minHandlerThreads in ColdFusion MX
6.1 has been changed to 1, making the following change unnecessary.

      The typical scenario of modifying the "[Simultaneous requests]"
setting in the ColdFusion Administrator modifies the
activeHandlerThreads parameter in the jrun.xml configuration file for
WebService and ProxyService but does not modify the minHandlerThreads
parameter. With these two parameters out of sync, it is possible the
minHandlerThreads (default 20) is higher than activeHandlerThreads
(default 10 for ColdFusion MX) causing the unstable condition.



----- Original Message ----- 
From: "Ryan Sabir" <[EMAIL PROTECTED]>
To: "CFAussie Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 06, 2003 3:07 PM
Subject: [cfaussie] "JRun closed connection" errors


>
> Hi all,
>
> I'm still getting JRUN errors on a high volume site and am trying to
> get to the bottom of them. Basically, at peak periods, about every
> second request will leave the user at a page that looks like this:
>
> ---------------
> Server Error
> The server encountered an internal error and was unable to complete your
request.
> JRun closed connection.
> ---------------
>
> Thats not what I call a terribly useful message... what has JRUN
> closed the connection from/to?
>
> Is it the JDBC driver?
> IIS?
> The CF process itself?
>
> I've tried playing with various performance settings. I read that the
> 'Number of Simultaneous Requests' settings should be set to about 3 -
> 4 times the number of CPUs in the system. The error was happening when
> I had set it to '4', I also tried setting it down to '2', but it
> didn't make the error go away. Are the numbers too low? Should they be
> higher? The RAM and CPU are hardly being used...
>
> Has anyone seen this error in a load testing or production
> environment, and managed to narrow it down to a specific sub-system?
>
> The environment I'm running it in is:
>
> Win 2000 Server
> CFMX 6.1
> Microsoft JDBC Drivers (I was also getting the error with the supplied
> drivers)
> 1 GB RAM
> The SQL 2000 DB is on a shared service provided by the hosting company
>
> Thanks for any help, bye
>
> -----------------------
> Ryan Sabir
> Newgency Pty Ltd
> 2a Broughton St
> Paddington 2021
> Sydney, Australia
> Ph (02) 9331 2133
> Fax (02) 9331 5199
> Mobile: 0411 512 454
> http://www.newgency.com/index.cfm?referer=rysig
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
>
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to