Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Something strange happened in my computer. Everything was fine until a few days ago. I made an update of aMule, and after i rebooted, the computer started working very slow (and i mean very very slow). Already uninstalled aMule, but it's the same. And it's not just the computer, the web pages take years to open (have a cable connection).
Yesterday i tried to deactivate the eth0 device, and then rebooted, and everything was working at the normal speed. Tried activating again, and it returned to the slow motion speed.
What's happening? I can't work like this. Does anyone has a clue of what's the problem?
I don't know if this helps, but found this error in the security log:
"sshd[2011]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use."
Hi Mr. Pulka,
You need to see if slow is the net or your computer. The message you got in the log is sshd (the ssh server) being restarted. How often this message appears? If is just one occurrence it may be of no significance, but if it happens each second, probably you are on the track. To see the load on your system, in a console, enter
Code:
top
It will give the process list classified by the need for processing as well as average load in the last 3 seconds.
In the third line you will see "CPU states %user %system %nice %iowait %idle". Normally, the idle percentage is very high. If there is a task processor intensive it starts to drain the resources and you will see it normally in the user column or the system column. If you see a high user column, you have an application program which got your system. If is the system column which is high, it is the kernel which is consuming the resources. Under this resume, you will see the tasks which are executing, the most famine for computer resources first. This program will refresh your screen every 3 seconds until you enter "q" or "^C". If you find some program always on top of the list, and you don't know why it is so hungry, go behind it, to see what it does. If you donīt discover any news about it, you have to kill it. First try gently
Code:
kill -HUP <PID>
If it refused to go to heaven, be more enfatic
Code:
kill -TERM <PID>
If it refused to go to purgatory, send it to the hell
Code:
kill -9 <PID>
. After this, see the behavior of your system. PS. there are cases in which the program doesn't die even with "kill -9". But in these circumstances, normally it is comatose or, it is a zombie and will not be the eater of your resources.
As you said the problem occurs when your ethernet card is enabled, enter
Code:
ifconfig eth0 down
to disable temporarily it and see if your system behavior changes. To re enable it
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.