You are not logged in.

#1 2009-10-28 19:36:16

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Disabling syslog-ng? (hdd power saving)

I have a laptop pc with laptop mode tools enabled. When my hdd's spin down after near 20min they spin up to write to /var/log because of syslog-ng daemon.

Disabling-it would be more energy eficient to me but do you think that can be done without any consequence?
Or would it bring me problems?
is syslog-ng used for anything more than writing log's in /var/log?

Thanks

Last edited by TigTex (2009-10-28 19:46:50)


.::. TigTex @ Portugal .::.

Offline

#2 2009-10-28 19:40:02

ugaciaka
Member
From: Italy
Registered: 2008-07-06
Posts: 140
Website

Re: Disabling syslog-ng? (hdd power saving)

you can mount a /var/log/ partition in RAM. See tmpfs

in fstab

none /var/log tmpfs mode=1777 0 0

EDIT: corrected line

Last edited by ugaciaka (2009-10-29 16:33:04)


I have never bought on ebay, the macbook I do not like, I do not need facebook or myspace or secondlife
I am not a nerd or lamer or troll or geek or hacker or cracker
and I have never voted to elect berlusconi

Offline

#3 2009-10-28 19:43:44

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: Disabling syslog-ng? (hdd power saving)

hum, a possible solution... In this laptop with raid0, avoiding using hdd's is the best way to save power

But without syslog daemon there would be no logging at all making this solution more efficient that a ramdisk no?

(it's /var/log in fstab no?)

Last edited by TigTex (2009-10-28 19:44:49)


.::. TigTex @ Portugal .::.

Offline

Board footer

Powered by FluxBB