kded high cpu usage with knemo 0.4.6-2ubuntu1 with ppp conections

Bug #102742 reported by Silvije
4
Affects Status Importance Assigned to Milestone
KDE Network
Unknown
Medium
knemo (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: knemo

it happens only with ppp connections, I use feisty ;)

Revision history for this message
jcfp (jcfp) wrote :

Confirming, same issue here. When knemo is installed, and a ppp(oe) connection exists, 'kded [kdeinit] --new-startup' process takes cpu usage to 100%. Problem does not occur when either knemo is not installed or no ppp connection exists.

Feisty with knemo 0.4.6-2ubuntu1

Changed in knemo:
status: Unconfirmed → Confirmed
Revision history for this message
Alexey_A (alexeya) wrote :

Confirming. Feisty, knemo 0.4.6-2ubuntu1

Revision history for this message
In , yamal (kubuntu-uhn-noc) wrote :

Version: 0.4.6 (using KDE KDE 3.5.6)
Installed from: Ubuntu Packages
OS: Linux

When knemo is used while a ppp (or pppoe) connection exist, cpu usage of kded is 100% all the time. Without the ppp connection, the problem does not occur; other types of interfaces work fine. Other than the high cpu usage, knemo appears to function orrectly even for the ppp interface.

Reported in Ubuntu as https://bugs.launchpad.net/ubuntu/+bug/102742 against knemo 0.4.6

Revision history for this message
In , Percy Leonhardt (percy-o) wrote :

Hi,

there is already a ticket (https://bugs.kde.org/show_bug.cgi?id=138182) about the high CPU load with the sysbackend. I still cannot reproduce it, some say it depends on VPN connections, others like you say it happens with PPP. I personally can only test PPP and ETH and it works perfect for both types. There were also some suggestions that it only happens with certain (newer) kernels.

Could you please comment on this and maybe test if the current version 0.4.7 still has the bug?

Revision history for this message
In , yamal (kubuntu-uhn-noc) wrote :

Thank you for your quick reponse. I had noticed the other bug, but since it makes no mention of anything ppp/vpn related, and reports only 50-75% cpu usage, I assumed it was a different issue.

Bug still happens in 0.4.7, basically no difference at all; as soon as a ppp connection exists and knemo is running kded uses all cpu, even when there's little or no traffic. Doesn't matter which of the two is started first. Problem indeed only happens with "sys" backend, "nettools" seems fine with very low cpu usage.

System is a 32 bit install on AMD64 with 2 ethernet cards (ppp on eth1) and one wireless network card; kernel is Ubuntu's 2.6.20-15, pppd version 2.4.4, KDE 3.5.6.

Also tried removing all the interfaces from knemorc that are (apparently) there by default but don't exist on my system like eth2,ra0,ra1,wlan1 without any result or effect whatsoever.

Changed in kdenetwork:
status: Unknown → Unconfirmed
Revision history for this message
In , Percy Leonhardt (percy-o) wrote :

Thanks also for your quick response! :-)

I think I will get a live CD of a distribution using a more recent kernel than my Mandriva does and see if I can reproduce this with a PPP connection...

Thanks again! Sometimes a quick and detailed response can push me more to fix a bug than a bunch of votes...

Revision history for this message
In , Percy Leonhardt (percy-o) wrote :

Could you please test

http://www.eris23.de/knemo/knemo-0.4.7-2.tar.bz2

It solves the issue for me.

jcfp (jcfp)
Changed in knemo:
status: Confirmed → Fix Committed
Revision history for this message
In , yamal (kubuntu-uhn-noc) wrote :

Seems to do the trick here too. When monitoring only the ppp connection, cpu usage of kded stays 0.0% most of the time.
For every other monitored interface (eth0, eth1, ath0, sit0) cpu usage increases by 1.5-2.0% per additional interface. Whether or not a ppp connection exists makes no difference anymore.

Job well done I'd say. Marking as resolved.

Changed in kdenetwork:
status: Unconfirmed → Rejected
Revision history for this message
In , Percy Leonhardt (percy-o) wrote :

Fixed in KNemo 0.4.8

Revision history for this message
jcfp (jcfp) wrote :

Fixed upstream in 0.4.8

Revision history for this message
Rich Johnson (nixternal) wrote :

Fixed with current sync from Debian (0.4.8-1).

Changed in knemo:
status: Fix Committed → Fix Released
Changed in kdenetwork:
importance: Unknown → Medium
Revision history for this message
In , Andrew-crouthamel (andrew-crouthamel) wrote :

Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I will be closing this bug.

Changed in kdenetwork:
status: Invalid → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.