Bug 13180 - acpid logs overflow
Summary: acpid logs overflow
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: acpid (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Valery Inozemtsev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-22 14:35 MSD by ildar
Modified: 2008-12-13 13:59 MSK (History)
1 user (show)

See Also:


Attachments
попытка запатчить (1.11 KB, patch)
2007-10-22 14:38 MSD, ildar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ildar 2007-10-22 14:35:24 MSD
acpid ненормально сильно переполняет логи. Сообщения вида:
Oct 21 21:38:16 ildar acpid: received event "processor CPU0 00000080 00000003"
Oct 21 21:38:16 ildar acpid: notifying client 7029[0:0]
Oct 21 21:38:16 ildar acpid: notifying client 6626[0:0]
Oct 21 21:38:16 ildar acpid: completed event "processor CPU0 00000080 00000003"
Oct 21 21:38:16 ildar acpid: received event "processor CPU1 00000080 00000003"
Oct 21 21:38:16 ildar acpid: notifying client 7029[0:0]
Oct 21 21:38:16 ildar acpid: notifying client 6626[0:0]
Oct 21 21:38:16 ildar acpid: completed event "processor CPU1 00000080 00000003"

сыплются с интервалом в 2 секунды. (!)

Полагаю, что подобные сообщения нужны только для отладки демона.
Comment 1 ildar 2007-10-22 14:38:07 MSD
Created attachment 2231 [details]
попытка запатчить
Comment 2 ildar 2007-10-22 14:41:07 MSD
патч, который я прислал частично решает проблему: теперь
/var/log/syslog/messages  не "гадится", но в файл /var/log/daemons/info
сообщения продолжают падать. Мои возможности на этом заканчиваются, но кто
знаком с syslog, несомненно сможет довести этот патч до ума.
Comment 3 Andrey Rahmatullin 2008-12-13 13:59:48 MSK
  - Add -l (--logevents) option to enable logging of all events.  Due to a
    number of reports of log flooding (bad ACPI BIOS?) The new default is to
    NOT log events. (acpid.c acpid.h event.h acpid.8)