Roger Bull wrote:
> I am using Analog 5.0 on a Redhat 6.2 box w/ 1GB RAM. It has been
> running fine but is now failing with the following message:
>
> analog: Fatal error: Ran out of memory: cannot continue: exiting
See docs/lowmem.html for help on dealing with memory issues.
> I suspect that part of the problem is the size of my log files. I
> am serving banners for my affiliate program from this server and all of
> these are being logged by Apache. I am using FILEEXCLUDE so these are
> not showing up in the report. I am keeping 180 days of logs and one
> month of this gives me almost 10 million Unwanted logfile entries!
>
> Here is a sample logfile line from one of the banner calls that I
> would prefer not to log at all:
>
> 61.135.90.13 - - [20/May/2001:02:04:08 -0500] "GET
>
>/cgi-bin/advertpro/plugins/affiliate/banners.fpl?region=72&affID=Zif1eZdX&refresh=&bust=317670&keyword=NULL
>
> HTTP/1.1" 200 444
>
> If anyone can tell me how to prevent Apache from logging these
> banner calls I would really appreciate it. It might solve my problem.
> Also I probably need to somehow process these files to remove these
> lines if that is possible. Any suggestions on this?
You can use grep to remove them from your logs:
grep -v '/cgi-bin/advertpro/plugins/affiliate/banners.fpl' > logfile.fixed
--
Jeremy Wadsack
Wadsack-Allen Digital Group
+------------------------------------------------------------------------
| This is the analog-help mailing list. To unsubscribe from this
| mailing list, go to
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| List archives are available at
| http://www.mail-archive.com/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
| http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------