You are not logged in.

#1 2012-10-31 16:03:14

exterm
Member
Registered: 2011-05-01
Posts: 17

[Solved] something consuming too much cpu after switching to systemd

Hey everybody,

I just switched to pure systemd but now after starting i have /sbin/init and systemd-journald both consuming 100% cpu.
journalctl says syslog-ng.service start request repeated too quickly.

can anybody help me with this?

Best Regards
exterm

Last edited by exterm (2012-11-01 17:27:34)

Offline

#2 2012-10-31 16:16:42

exterm
Member
Registered: 2011-05-01
Posts: 17

Re: [Solved] something consuming too much cpu after switching to systemd

deactivating syslog-ng helps. But why?

Offline

#3 2012-10-31 16:16:54

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,984

Re: [Solved] something consuming too much cpu after switching to systemd

Now that syslog-ng isn't there, what does journalctl say?

Last edited by Scimmia (2012-10-31 16:17:44)

Offline

#4 2012-10-31 16:54:00

exterm
Member
Registered: 2011-05-01
Posts: 17

Re: [Solved] something consuming too much cpu after switching to systemd

what do you want to know, the whole journalctl -a output?

Offline

#5 2012-10-31 17:26:56

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,984

Re: [Solved] something consuming too much cpu after switching to systemd

Maybe I misunderstood, you said deactivating syslog-ng helped, did it lessen the problem or fix it? If it fixed it, nevermind. If it just helped, what is still going on in journalctl?

Offline

#6 2012-11-01 16:05:08

exterm
Member
Registered: 2011-05-01
Posts: 17

Re: [Solved] something consuming too much cpu after switching to systemd

OK, sorry, thanks for asking. The problem was *solved* by deactivating syslog-ng. Still don't know why though.

Offline

#7 2012-11-01 16:08:52

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,984

Re: [Solved] something consuming too much cpu after switching to systemd

Check etc/syslog-ng/, see if there's a syslog-ng.conf.pacnew. syslog-ng.conf needs updated for systemd.

Offline

#8 2012-11-01 16:20:36

exterm
Member
Registered: 2011-05-01
Posts: 17

Re: [Solved] something consuming too much cpu after switching to systemd

Thanks, it was because i changed syslog-ng.conf before I transitioned to systemd. Undid the change and everything works now.

change was to this section:

source src {
  unix-dgram(*here*);

Last edited by exterm (2012-11-01 17:26:42)

Offline

Board footer

Powered by FluxBB