Interestingly enough, upgrading to 7.2 did fix my out of control processes
problem... what I can't seem to do is convince my CFMX server that it does
not need to 'pause for thought' on a regular basis.

It will just hang for 1, 2, 10 minute at a time... almost always recovers on
its own, but will stop responding for no apparent reason.  The processes
around out of control, load average is reasonable and memory usage isn't too
high.  This happens whether anybody is hitting the box or not.  No errors
are found in any of the logs.

We hypothesized that it was the apache connector, but it happens even when
using the internal CF web server.

Any ideas?

--
Jillian

-----Original Message-----
From: Jesse Noller [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 9:23 AM
To: CF-Linux
Subject: RE: CFMX Linux Madness - Out of Control Processes


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
> >
>
>

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
------------------------------------------------------------------------------
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