Uhh.. I think he _is_ using sessions.  Take a look at the snippet from
top:  158MB of RAM for the cfserver process.  That isn't normal for
anything I run.  Mine sits at around 22MB.

Stefan:
You said you set session variables to be cleared out after 2 days?  Bad,
default is about 20 minutes; for good reason.

When you've got 2 days worth the session variables held in memory like
that it has to hash through quite a bit of memory to find out the value
for a given session variable -- which explains the bloated memory usage
_and_ the high CPU time.

Justin Buist


On Mon, 19 Feb 2001, Matt Liotta wrote:

> I think you are confusing issues here. All session data is stored in RAM.
> Client variables are the only scope that gets stored in the registry. Are
> you working with client or session variables?
> 
> -Matt
> 
> > -----Original Message-----
> > From: Stefan Verstege [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, February 19, 2001 3:05 PM
> > To: CF-Linux
> > Subject: Problems with registry
> > 
> > 
> > Hi there,
> > 
> > Im running CF for linux SP2 and have a big problem.. I 
> > developed a Forums
> > system in CF (http://beta.newmedia.nl/openforums/openforums) 
> > which uses
> > sessions to store informatie about the board and users.
> > 
> > What i notice it that ALL CF actions are getting slower and 
> > slower on my
> > dual-p3 machine (with lost of memory and wide-scsi diskspace so that
> > should not be the problem).
> > 
> > When i look at the services with top i see 1 cfserver process 
> > is around the
> > 100%
> > 8 of the 10 times i check. (and it aint hanging, i checked  
> > !!). Like this:
> >  5684 nobody     2   0  158M 150M  6660 S    90.0 39.8  1210m cfserver
> >  5685 nobody     0   0  158M 150M  6660 S     0.0 39.8   0:08 cfserver
> >  5686 nobody     0   0  158M 150M  6660 S     0.0 39.8   0:00 cfserver
> >  5667 nobody     0   0  134M 127M  1028 T     0.0 33.6  18:53 cfexec
> >  5668 nobody     0   0  134M 127M  1028 S     0.0 33.6 307:24 cfexec
> >  5669 nobody     0   0  158M 150M  6660 S     0.0 39.8   0:59 cfserver
> > 
> > i'm wondering if it has to do with the session storing. The 
> > registry file
> > has
> > grown to 30Mb or more. And it isn't shrinking (i configured 
> > CF to remove
> > session variables 2 days and older)..
> > 
> > It looks like CF ain't removing the session from the registry 
> > file and that
> > it's slowing down the CF processes..
> > 
> > What can i do about this ??
> > 
> > --
> > NewMedia, Web & ColdFusion Projects
> > http://www.newmedia.nl
> > Tel : 023 - 545 07 89
> > Fax: 023 - 545 07 90
> > 
> > E-commerce: Zinloos besteld.
> > 
> > --------------------------------------------------------------
> > ----------------
> > Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
> > To Unsubscribe visit 
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
> s/cf_linux or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.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