On Fri, 6 Feb 2004, Bill Landry wrote:
|->----- Original Message -----
|->From: "Keith Woodworth" <[EMAIL PROTECTED]>
|->
|->> I guess my maillog is too big for pflogsumm to handle. Ive used 104 and
|->> 1.011 now and both give me out of memory errors on our maillogs for the
|->> last week that avg about 65-70+ megs a day.
|->
|->Hmmm, our logs run over 350mb, and we have only 256mb of RAM on the servers,
|->and we have no problem with pflogsumm parsing our log files daily, and then
|->parsing a full week of logs for our weekly reports.
|->
|->Here is the script we use for daily reports:
|->
|->pflogsumm -i -mailq --smtpd_stats --problems_first --iso_date_time -d
|->yesterday /var/log/maillog > /var/log/GW1-PostfixDailyReport.${day}
Ive tried that (not exactly that) but with the same switches at least and
out of mem came up again. Ive tried 4 or 5 variations of switches and I
just dont know what the heck is going on. Everyone of them ends in out of
memory being spit out.
There is 512megs of ram, top shows over 300megs free, swap never gets
touched on this machine.
Even if perl tried to slurp in the *whole* log file it should still be
able to take it.
Interstingly I just ran it on a 57meg file w/ no probs.
thanks for the help though.