Jillian/All-

        I noticed that the JDK 1.3.1_05 release notes mention a known bug that could 
potentially be the cause of our "out of control threads" problem.  This bug basically 
indicated that if a socket is closed while waiting on a read, the socket may not ever 
timeout.  

        This *could* be what is causing the out of control processes you are seeing, 
more can be found at:
 
http://developer.java.sun.com/developer/bugParade/bugs/4344135.html
 
 
The workaround that can be used is documented as follows:
On Linux platforms, a thread that is waiting on an I/O operation will not wake up if a 
file involved in the I/O operation is closed. This problem is being tracked as bug 
4344135. To avoid this problem, set the J2SE_PREEMPTCLOSE environment variable to 1. 

J2SE_PREEMPTCLOSE=1
export J2SE_PREEMPTCLOSE

How can you test this workaround out?

Open /bin/coldfusion, find the section:

[note the below is line-wrapped]

Linux)
 OS=Linux
   CFSTART='su $RUNTIME_USER -s /bin/sh -c "export LD_ASSUME_KERNEL=2.2.9; export 
PATH=$PATH:$CF_DIR/runtime/bin; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH; nohup 
$CF_DIR/bin/cfusion -autorestart -start default &"'

Change the above to:

Linux)
 OS=Linux
   CFSTART='su $RUNTIME_USER -s /bin/sh -c "export J2SE_PREEMPTCLOSE=1; export 
LD_ASSUME_KERNEL=2.2.9; export PATH=$PATH:$CF_DIR/runtime/bin; export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH; nohup $CF_DIR/bin/cfusion -autorestart -start 
default &"'

Save the file, and restart CFMX

Let me know if this helps.

Jesse Noller
[EMAIL PROTECTED]
Macromedia Server Development
Unix/Linux "special guy" 

"But I neeeeed tacos! I need them or I will
explode! That happens to me sometimes!" -GIR

> -----Original Message-----
> From: Jillian Carroll [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 07, 2002 10:56 AM
> To: CF-Linux
> Subject: RE: CFMX Linux Madness
> 
> I have no problem with that actually... however, upgrading to 7.2 did not
> fix my problems.
> 
> The answer I keep getting from MM is 'upgrade to Apache 2'... which just
> isn't an option for people who make extensive use of PHP as well.
> 
> --
> Jillian
> 
> -----Original Message-----
> From: Jesse Noller [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 07, 2002 7:39 AM
> To: CF-Linux
> Subject: RE: CFMX Linux Madness
> 
> 
> I would not call nut supporting $RAND number of .X Red Hat releases as
> Boneheaded, especially as seeing that Red Hat tends to drop support for
> the
> older .rev releases.
> 
> Ie: they release 7.2, and drop support for 7.0 and 7.1
> 
> Why? Red Hat 7.2 contains all of the bug fixes, and is the "final" .rev
> for
> the 7.x line.
> 
> Installing "brand new" releases of Red Hat is not pleasant, I assure you,
> however, we do most of our platform support at the behest of the Platform
> vendor.
> 
> Jesse Noller
> [EMAIL PROTECTED]
> Macromedia Server Development
> Unix/Linux "special guy"
> 
> "But I neeeeed tacos! I need them or I will
> explode! That happens to me sometimes!" -GIR
> 
> > -----Original Message-----
> > From: Steve Johnson [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, October 05, 2002 10:59 PM
> > To: CF-Linux
> > Subject: RE: CFMX Linux Madness
> >
> > >What frustrates me the most about that 'solution' is that my setup (Red
> > Hat
> > >7.1, Apache 1.3.22 and 512 MB of RAM) not only meets the supported
> > minimum
> > >requirements... but also meets all of the recommended requirements.
> >
> > i'm hoping that Jesse is just trying to be helpful in letting us know
> > some possible workarounds and isn't intimating that the next release
> > of CFMX will no longer support RH 7.1 or Apache 1.3.  to me that
> > would seem to be a pretty boneheaded move on Macromedia's part...
> >
> > steve
> >
> 
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to