[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [Raq4] low memory everyday. A logs rotation trouble you can't solve?



I had the same problem.

I set up a cron job running 4 times a day to reboot the server.  That helped but the system still ran low on memory every morning. It turned out that analog was consuming over 70% of the memory when it ran as part of the split_logs daily cron job.

Yesterday I modified the /usr/local/split_logs and commented out the following routines:

analyze_logs
generate_tabs
create_reports

to turn off analog being run.  We don't use the built in statistics anyway on the box.

This morning where I usually have 2000 free I had 260000+ free.

Paul


At 12:04 AM 4/11/2002 +0200, you wrote:

>We have a Raq4 running smoothly for more than a year,
>all patches installed, 512 MB RAM. No particular
>software except Sane's NetTracker (and this is not the
>responsible).
>
>Everyday, at the same hour, the server freezes: we got
>the low memory message by e-mail, the FTP stop working
>for some minutes,
>then the sites are offline for few minutes. Then the
>server works again and the memory is lightly used during
>all the day.
>
>Reading previous postings about this item in newsgorups,
>we found out that this trouble is related to a too large
>logs file rotation. In fact we made a test running a
>split logs manually by telnet and this problem
>disappeared for some days.
>
>It seems that this could be a general bug of Cobalt
>software (or perhaps of Apache) and I suppose that
>everybody could face it if you're going to have
>succesful traffic to your sites. Did you have
>experiences to share? Suggestions are gladly welcome.
>
>Best regards
>
>Lolli
>REMOVESPAMp.lolli@xxxxxxxxxxxxxxx
>
>Ingegneria Multimediale s.r.l.
>Roma (Italy)
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To Subscribe or Unsubscribe, please go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users