Multumesc foarte mult pentru observatie. Era ntop-ul care papa ramul.=20
Intr-adevar, ceva scrie foarte mult in loguri. In 24 de ore 60% din
spatiul total al unui HDD de 120G au fost scrise.
Cum imi dau seama ce aplicatie scri in log-uri? Sau ce sa schimb in syslog.=
conf?
cat /etc/syslog.conf
# Various entry
auth,authpriv.* =20
/var/log/auth.log
*.*;auth,authpriv.none -/var/log/s=
yslog
user.* =20
-/var/log/user.log
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;;news.none;authpriv.none =20
-/var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/se=
cure
# Mail logging
mail.=3Ddebug;mail.=3Dinfo;mail.=3Dnotice =20
-/var/log/mail/info
mail.=3Dwarn =20
-/var/log/mail/warnings
mail.err =20
-/var/log/mail/errors
# Cron logging
cron.=3Ddebug;cron.=3Dinfo;cron.=3Dnotice =20
-/var/log/cron/info
cron.=3Dwarn =20
-/var/log/cron/warnings
cron.err =20
-/var/log/cron/errors
# Kernel logging
kern.=3Ddebug;kern.=3Dinfo;kern.=3Dnotice =20
-/var/log/kernel/info
kern.=3Dwarn =20
-/var/log/kernel/warnings
kern.err =20
/var/log/kernel/errors
# Lpr logging
lpr.=3Ddebug;lpr.=3Dinfo;lpr.=3Dnotice =20
-/var/log/lpr/info
lpr.=3Dwarn =20
-/var/log/lpr/warnings
lpr.err =20
-/var/log/lpr/errors
# News logging
news.=3Ddebug;news.=3Dinfo;news.=3Dnotice =20
-/var/log/news/news.notice
news.=3Dcrit =20
-/var/log/news/news.crit
news.=3Derr =20
-/var/log/news/news.err
# Daemons logging
daemon.=3Ddebug;daemon.=3Dinfo;daemon.=3Dnotice =20
-/var/log/daemons/info
daemon.=3Dwarn =20
-/var/log/daemons/warnings
daemon.err =20
-/var/log/daemons/errors
# Everybody gets emergency messages
*.emerg *
# Save mail and news errors of level err and higher in a
# special file.
uucp,news.crit =20
-/var/log/spooler
# Save boot messages also to boot.log
local7.* =20
-/var/log/boot.log
# Explanations from Mandrake Linux configuration tools
local1.* =20
-/var/log/explanations
kern.=3Ddebug -/var/log/bandwidth
Multumesc!
On 4/20/05, Tarhon-Onu Victor <[EMAIL PROTECTED]> wrote:
> On Tue, 19 Apr 2005, WiFi wrote:
>=20
> > ar trebui sa ma ingrijoreze faptul ca "syslogd" ia asa de multe resurse=
?
>=20
> Da si nu, inseamna ca cineva logheaza ca-n filme. Ar trebui sa
> te ingrijoreze enorm faptul ca masina respectiva are 1GB ram si totusi e
> cu 644MB in swap, ram-ul rezervat pentru cache se duce spre 0 iar i/o
> wait-ul e 78%!!
>=20
> --
> Any views or opinions presented within this e-mail are solely those of
> the author and do not necessarily represent those of any company, unless
> otherwise expressly stated.
>=20
> ---
> Detalii despre listele noastre de mail: http://www.lug.ro/
>=20
>
---
Detalii despre listele noastre de mail: http://www.lug.ro/