[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Linux logging

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 20
Thread images: 1

File: 1452907106709.jpg (50KB, 640x640px) Image search: [Google]
1452907106709.jpg
50KB, 640x640px
Linux is dumping tens of gigs of logs every day because the CPU in overheating (I don't care)

Is there a way to stop this crazy logging? It's both in
 kern.log 
and
 syslog 
>>
>>52464336
cool the CPU properly
>>
>>52464364
Not an option. I just want turn off CPU warnings of the kind "WARNING: CPU: 0 PID: 0 at /build/linux..." (and continues with a page of text, repeated infinitely)
>>
>>52464364
a way to redefine "properly" would help, too.
>>
journald.conf
SystemMaxUse=50M
>>
buy a fan
>>
>>52465326
I don't have a 'journald.conf' on my system.

And it would be nicer to stop the logging, because it itself uses resources.
>>
>>52464336
ln -s /dev/null kern.log

do the same for syslog
>>
>>52465757
Thanks, I'll do it as a last resort. If there are no better options...
>>
>>52464336
>tens of gigs
wew

but um

buy a fan and put the fan on the cpu
>>
uninstall syslogd and other stuff (i got it down to just dmesg)
>>
It just werks
>>
>>52466319
for now I commented out these tow guys in /etc/rsyslog.conf

>#$ModLoad imuxsock # provides support for local system logging
>#$ModLoad imklog # provides kernel logging support

the logging seems to have stopped
>>
Fix your CPU, nigger.
>>
kill yourself
>>
>>52465662
he expected you to have systemd, what kind of a linux user are you if you don't have systemd as PID1
>>
>>52467990
PID1 is /sbin/init

rsyslogd does the logging
>>
>>52464336

maybe you could use sed in root's crontab

something like
 @hourly sed -i.bak '/"WARNING: CPU: 0 PID: 0 "/d' /var/log/kern.log 
>>
>>52468142
@hourly sed -i.bak '/WARNING: CPU: 0 PID: 0 /d' /var/log/kern.log 

i always forget about sed's syntax . this will werk
>>
>>52464336
hahahha, that caption
Thread posts: 20
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.