No, what I'm saying is that the Java threads increase for the workload. The threads 
are automanaged, however, if you run a template that goes out and does 10 million 
long-running tasks that cause and error and never return, those threads will stick 
around for a long time.



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

> -----Original Message-----
> From: Simon Harper [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 20, 2002 9:49 AM
> To: CF-Linux
> Subject: RE: Increasingly numerous processes / RE: DoS attack
> circumvention
> 
> Thanks for this - I'll look into it.  Just to make sure I understand you
> correctly, are you saying that CF will spawn another thread/process when
> another has 'not returned', i.e. that in testing I'll see another
> thread/process start every time I hit the 'bad' template ?
> 
> Ta,
> 
> Simon
> 
> ---
> [EMAIL PROTECTED]
> Applications Development Manager
> Warwick Business School
> 
> >>> [EMAIL PROTECTED] 20/08/2002 14:34:43 >>>
> I would say run the test template per template, Ie: general application
> debugging, find out which template is the one causing the server to spin
> up
> 
> Jesse Noller
> [EMAIL PROTECTED]
> Macromedia Server Development
> Unix/Linux "special guy"
> 
> > -----Original Message-----
> > From: Simon Harper [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 20, 2002 9:31 AM
> > To: CF-Linux
> > Subject: RE: Increasingly numerous processes / RE: DoS attack
> > circumvention
> >
> > Sorry, didn't realise how similar my issue was.
> >
> > > I take it you are running under load Simon?
> >
> > Yes, this server is now in production.
> >
> > > If you are running our of memory, then something in your
> application
> > (got CFX?) is causing
> > > the child threads to increase dramatically until such time as the
> > server vomits and dies.
> >
> > We don't use CFX per se, but do spawn some external processes
> > (including virus checking of uploaded files).
> >
> > Are you suggesting that these [threads ?] may not be returning which
> > means that CF starts another in it's place ?.  There's nothing in
> the
> > logs to investigate - is there somewhere else I should look ?
> >
> > Thanks,
> >
> > Simon.
> >
> >
> > ---
> > [EMAIL PROTECTED]
> > Applications Development Manager
> > Warwick Business School
> >
> > >>> [EMAIL PROTECTED] 20/08/2002 13:36:25 >>>
> > On linux, right?
> >
> > Welcome to the wonderful world of Linux "threading" Linux does not
> have
> > threading itself, instead, it has threading "emulation". This means
> that
> > a parent and children threads display as single processes instead of
> > thread -> child (as on solaris).
> >
> > What you are seeing is normal, it's Java starting the parent and
> > forking the children. This is not a DoS attack.
> >
> > I take it you are running under load Simon? If you are running our
> of
> > memory, then something in your application (got CFX?) is causing the
> > child threads to increase dramatically until such time as the server
> > vomits and dies.
> >
> > Jesse Noller
> > [EMAIL PROTECTED]
> > Macromedia Server Development
> > Unix/Linux "special guy"
> >
> > Jesse Noller
> > [EMAIL PROTECTED]
> > Macromedia Server Development
> > Unix/Linux "special guy"
> >
> > > -----Original Message-----
> > > From: Simon Harper [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, August 20, 2002 8:25 AM
> > > To: CF-Linux
> > > Subject: Increasingly numerous processes
> > >
> > > CFMX
> > > RedHat 7.2
> > > Apache 1.3.2.2
> > >
> > > Further investigation has revealed that no processes are
> > dissappearing,
> > > but a new one pops up every 2 or 3 minutes.  There are now 150
> > processes
> > > after running for two hours and I assume that, as before, this
> > number
> > > will continue to grow until we run out of memory again.
> > >
> > > I'm sure I must have missed a setting in the Administrator but
> can't
> > > work out which one (perhaps the memory allowed for the JVM ?).
> > >
> > > If anyone's got any ideas I'd love to try them.
> > >
> > > Thanks,
> > >
> > > Simon.
> > >
> > >
> > >
> >
> >
> 
> 
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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