[ic] How to not log nsession in usertrack?

Bryan Gmyrek bryangmyrek at yahoo.com
Mon Dec 11 00:20:06 EST 2006


> >
> > Come to think of it maybe I should turn of usertrack logging entirely. 
> Anyone
> > know how to do this and/or how to not log nsession?
> > 
> Usertrack won't have any effect on performance, as it's just a file
> that Interchange appends to.  If the file is big then you could
OK, I'm not a file-access guru but couldn't that affect performance if the
usertrack file is on the order of a GB?

> rotate it and, perhaps, delete old rotated files to save disk space.
Will do this.

> Appending to the usertrack file will have no noticeable effect on
> your CPU usage.
> 
> I imagine your problem could be something to do with session expiry.
> Are you regularly deleting expired session files?  I suspect that you
> are not.  A huge sessions directory will have a direct impact on your
> website's performance, so it must be regularly cleaned.  Deleting old
> temporary files in your ScratchDir directory (defaults to "tmp") is
> also a good idea.
> 
I do both of these nightly in a cron job, so you suspect wrong ;)  But thanks
for the tips.  I was only not rotating usertrack since I thought perhaps it was
used in some of the reporting and shouldn't be rotated.

So... it isn't possible to turn off logging to usertrack?  Any tips on where I
could look in the code to comment out the line/routine that does the logging?

Thanks,
Bryan

New England Art Express - Art Prints, Posters and Framing
http://www.neartexpress.com/


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


More information about the interchange-users mailing list