openSUSE 12.3 network traffic

after a series of updates during the last days i noticed a dramendeous increase of outgoing network traffic on my system. Today i found more than 500 MiB in both incomming and outgoing traffic using KNemo.

Apparently java is (verified with “top”) reading and sending my disk. A reboot doesn’t change a thing: java is using up to 50% CPU-time.

Does anybody know what’s going on here ? Thanks a lot.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4828 root 20 0 101m 44m 28m S 8,9 4,5 0:13.77 Xorg
4697 $USER 30 10 398m 152m 8960 S 5,6 15,2 1:56.66 java
5701 $USER 20 0 136m 30m 21m S 4,6 3,1 0:02.96 konsole
5926 $USER 20 0 70220 20m 15m S 3,0 2,0 0:05.11 knemo
5538 $USER 20 0 179m 44m 27m S 1,3 4,4 0:04.75 kwin
5693 $USER 20 0 141m 36m 26m S 0,7 3,6 0:01.48 konsole
5569 $USER 20 0 349m 89m 41m S 0,3 8,9 0:08.30 plasma-desktop
6596 $USER 20 0 4792 1412 956 R 0,3 0,1 0:00.46 top
1 root 20 0 5636 3468 2052 S 0,0 0,3 0:01.18 systemd

4697 $USER 30 10 399m 146m 3712 S 42,1 14,6 2:45.55 java
4828 root 20 0 110m 36m 24m R 42,1 3,7 0:55.66 Xorg
5701 $USER 20 0 140m 24m 15m S 6,0 2,4 0:11.12 konsole
1 root 20 0 5636 1900 1316 S 0,0 0,2 0:01.19 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:00.08 ksoftirqd/0

Schnittstellenstatus eth0 - KNemo
Schnittstellen-Datenverkehr
Pakete 10152 9957
Bytes 5.9 MiB 4.7 MiB

after killing java “kill -9 4697” a new java-job 7902 is started immediately

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7902 $USER 30 10 420m 83m 8844 S 77,9 8,3 0:09.05 java
4828 root 20 0 106m 28m 15m S 5,3 2,9 2:49.28 Xorg
6986 $USER 20 0 1198m 248m 25m S 5,0 24,8 6:22.98 firefox
5926 $USER 20 0 70352 10m 7300 S 2,3 1,1 1:03.43 knemo

Gesendet Empfangen
37,5 MiB 38,1 MiB
Geschwindigkeit 17.4 KiB/s 3.2 KiB/s

When you post terminal output, such as your output from “top”, please enclose in CODE tags. You can click the “#” button to generate those tags. It is difficult to read in the form in which you posted, because it is not lined up in columns.

As for why it is happening - hard to say. I sometimes see looping java, and have to kill it. It usually happens to me when running a java applet from firefox. If the java applet hangs, and I reload the page, it loops. I usually have to close the browser to recover from that. If the applet hangs, and I close the browser tab and kill the java process, then I can try loading that web page again and it usually works the second time. But if I don’t first close the browser tab, I will have problems.

In your case: rebooting will probably solve the problem.

Alternatively, use:


ps -fp process-id

for the java process, to find the parent process ( the PPID column ). You might need to identify and close that parent process.

i have pulled the eth-plug and java goes down to 1% CPU usage, after reconnecting java resumes its work. Currently i am at 52.9 MiB sent an 51.2 MiB received within some 30 minutes after reboot.

Please, always copy/paste computer text between CODE tags. Use the # button in the tool bar of the post editor to get them. That will show clearly what is your story telling and what are computer facts. It will also preserve the column output of many tools and it wil prevent smileys.

And when you show output, also copy/paste not only the output, but also the prompt (begin and end) and the command. Then everybody can see what you did, where you were and who you were. Else there is to much guessing.

And when that process starts “spontaniously” and you do not know why, try to find out what it’s parent is with e.g.

pstree

Thanks @nrickert, i give it a try.

Firstly the parent process reads


linux:~> ps -fp 8898
UID        PID  PPID  C STIME TTY          TIME CMD
$USER  8898  4695 10 21:54 ?        00:02:43 java -Dnetworkaddress.cache.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -enableassertions:freenet -Djava.net.preferIPv4Stack=true -Xms60m -Xmx192m -Djava.library.path=lib -classpath freenet-ext.jar:freenet.jar:bcp

Needless to say: I have nothing to do with freenet !!

Secondly, java starts up at boot time independently of a browser.

Thirdly, rebooting does not solve anything; java pops up and the network traffic goes on (currently at 60 MiB).

Sorry chaps, I have problems connecting to the internet: pages are not loaded (waiting …) regardless of the URL (heise.de, sz.de, https://forums.opensuse.org/). Furthermore, i cannot edit my previous postings annymore.


linux:~> pstree
systemd-+-acpid
        |-agetty
        |-auditd---{auditd}
        |-avahi-daemon
        |-console-kit-dae---64*{console-kit-dae}]
        |-cron
...
        |-start_kdeinit
        |-systemd-journal
        |-systemd-logind
        |-systemd-udevd
        |-udisksd---3*{udisksd}]
        |-upowerd---2*{upowerd}]
        |-wrapper-linux-x-+-java---108*{java}]
        |                 `-{wrapper-linux-x}
        `-xinetd

so i have redirected the output into a file to get the full picture

linux:~> ps -fp 8898
UID PID PPID C STIME TTY TIME CMD
$USER 8898 4695 7 21:54 ? 00:04:51 java -Dnetworkaddress.cache.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -enableassertions:freenet -Djava.net.preferIPv4Stack=true -Xms60m -Xmx192m -Djava.library.path=lib -classpath freenet-ext.jar:freenet.jar:bcprov-jdk15on-147.jar -Dwrapper.key=y7h1yPCfn6933MHa -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=4695 -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper -Dwrapper.ignore_signals=TRUE -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=3 freenet.node.NodeStarter freenet.ini

Well, that’s the Freenet client.
Uninstall it if you don’t want it. I can’t tell you how though, never stumbled upon that.
See here: https://freenetproject.org/index.html

And here are the install instructions for POSIX systems:
https://wiki.freenetproject.org/Installing/POSIX
Maybe you can deduce a way to uninstall it from there.

thanks @wolfi323, in the meantime a found the $HOME/Freenet directory. I remember i had a look at it some days ago. I will delete this directory alltogether.

Apparently, there’s an uninstaller

linux:~> l Freenet/Uninstaller/
insgesamt 200
drwxr-xr-x 2 $USER users 4096 14. Jun 11:34 ./
drwxr-xr-x 12 $USER users 4096 22. Jun 23:25 …/
-rw-r–r-- 1 $USER users 2913 14. Jun 11:34 install.log
-rw-r–r-- 1 $USER users 100 25. Apr 2009 show_uninstall_survey.sh
-rw-r–r-- 1 $USER users 187721 14. Jun 11:34 uninstaller.jar

linux:~> java -jar Freenet/Uninstaller/uninstaller.jar

The website https://freenetproject.org/whatis.html says

Users contribute to the network by giving bandwidth and a portion of their hard drive (called the “data store”) for storing files.

I was not aware that i was becomming a part of the network without actually using it myself.

OK, well, I guess that clears it up then…:wink:

thanks wolfi323 and good night.:slight_smile: