|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
system slow when plugged to network
Hi,
Since yesterday night my system has been reacting very slowly without I could find out why. In fact, If I unplugged the network cable (leading to the Internet Box) or stop dhclient then everything is back to normal. For example, opening programms like Keepass, Terminal, Gvim may take up to 10s and surfing the Net is dead slow. The same thing happens with my netbook. I changed dhcp for statics address whithout any success. I thought it was due to my Internet Box, but my third netbook with FreeBSD is not affected by this behavior and I wonder why it affects programs that don't connect to Internet. Example while opening Keepass : Code:
$ keepassx & vmstat 2 10 [1] 8129 procs memory page disks traps cpu r b w avm fre flt re pi po fr sr sd0 sd1 int sys cs us sy id 2 1 0 349352 10955632 181 0 0 0 0 0 1 1 11 3156 340 1 1 98 0 1 0 353912 10950296 3191 0 0 0 0 0 0 0 9 12194 437 7 1 91 1 1 0 353928 10950280 42 0 0 0 0 0 0 0 4 1592 223 0 0 100 0 1 0 353912 10950296 45 0 0 0 0 0 0 0 16 1630 247 0 0 100 0 1 0 353920 10950288 41 0 0 0 0 0 0 0 6 1602 228 0 0 99 0 1 0 353912 10950296 41 0 0 0 0 0 0 0 4 1721 226 0 0 100 0 1 0 353936 10950272 45 0 0 0 0 0 0 0 15 1621 231 0 0 100 0 1 0 353948 10950260 44 0 0 0 0 0 0 0 3 1710 216 1 0 99 -> Keepass opens here 1 1 0 353928 10950280 40 0 0 0 0 0 0 0 0 1498 212 0 0 100 0 1 0 365496 10938340 4845 0 0 0 0 0 0 0 2 17389 1291 9 4 87 $ uname -a OpenBSD LNBoX.my.domain 5.4 GENERIC.MP#0 amd64 $ ifconfig re0 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 priority: 0 groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::1e6f:65ff:fe81:bfe4%re0 prefixlen 64 scopeid 0x1 inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 $ netstat -ni Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Colls lo0 33144 <Link> 14 0 14 0 0 lo0 33144 ::1/128 ::1 14 0 14 0 0 lo0 33144 fe80::%lo0/ fe80::1%lo0 14 0 14 0 0 lo0 33144 127/8 127.0.0.1 14 0 14 0 0 re0 1500 <Link> 24214 0 22226 0 0 re0 1500 fe80::%re0/ fe80::1e6f:65ff:f 24214 0 22226 0 0 re0 1500 192.168.0/2 192.168.0.10 24214 0 22226 0 0 enc0* 0 <Link> 0 0 0 0 0 pflog0 33144 <Link> 0 0 0 0 0 $ dmesg|grep re0 re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D (0x2800), apic 2 int 18, Any ideas ? Thank you |
|
|||
Quote:
I don't know why they patched the kernel as no security advisories has been made by OpenBSD. I didn't update my crapbook wich suffers the same problem though with its 5.4 GENERIC#37 i386 kernel. Now, I am getting IP conflict as my Internet box decided to give its own Internet adress to any other device instead of a local adress from class C ! A box reboot later, my computer is getting 192.168.0.x.x adress again... And reacts correctly. But I am sure that when it was slow there was no IP conflict at this time. looking at /var/log/messages I found these memory errors : Code:
# grep conflict messages Nov 10 23:04:47 LNBoX /bsd: 0:0:0: mem address conflict 0xe0000000/0x20000000 Nov 10 23:13:41 LNBoX /bsd: 0:0:0: mem address conflict 0xe0000000/0x20000000 Nov 10 23:29:39 LNBoX /bsd: 0:0:0: mem address conflict 0xe0000000/0x20000000 Nov 11 00:01:20 LNBoX /bsd: 0:0:0: mem address conflict 0xe0000000/0x20000000 To me, it looks like the problem comes from the Internet box, and for some reason, it affects OpenBSD and not FreeBSD |
|
||||
Without more information, I cannot provide any further analysis or even indications where to look to recreate or further isolate possible causes.
I would like to point out that there was a kernel patch this week that was both committed to 5.4-stable and published as a patch to 5.4-release, to eliminate a problem with the pflow(4) driver. |
|
|||
Quote:
In fact I found similar threads on OpenBSD 5.4 on the misc mailing list : Date: Tue, 05 Nov 2013 08:38:49 +0100 Subject: Problems receiving IP with dhclient Thanks I missed this. |
|
||||
Quote:
We here can only work from information you provide. These are the things I know about your problem:
Quote:
Last edited by jggimi; 11th November 2013 at 12:17 PM. Reason: clarity |
|
|||
Quote:
I pointed out whitch network card I used and not only its driver. The netbook shipped with a Realtek too but a 8139 instead of a 8168. Thanks for your suggestions though. |
|
||||
I'm sorry you have been having trouble. You might consider posting to the misc@ mailing list, as it reaches a much wider audience than here, and the misc@ audience includes approximately half of the OS developers. This forum has a much smaller reach, though we are newbie focused and the misc@ mailing list is not. At all.
If you were to post this same information there, it is possible that someone will recognize your symptoms and recommend a solution. It is far more likely that your post will be ignored for being incomplete. If you do get responses, these will invariably recommend -- with a range of civility betwen polite and very rudely -- that you post your dmesg, rather than excerpts. Without a complete dmesg, unless someone recognizes your particular issue, you won't get much help other than "try a recent snapshot". If you respond negatively there to requests for more information, no matter how rudely put, it is likely the only positive recommendations you will receive afterwards will be to please go use a different OS. If instead of misc@, you submit your limited problem report to bugs@, any responses received are likely to be even ruder, if that is possible. Though someone may just reply off list with a link to www.openbsd.org/report.html in an effort to help you restructure your report. Last edited by jggimi; 13th November 2013 at 11:38 AM. Reason: clarity of audience for misc@ |
|
|||
My systems have been working fine again for 2 days.
I understand that OpenBSD's users target is their own developers and that they don't feel like answering newbies questions which could be time consuming and not rewarding, fair enough. But this does not justify being rude to people. This is a shame because their site is welcoming with a nice and detailed FAQ and the man pages are great too. By the way I bought the book Absolute OpenBSD 2nd ed, so I hope not to have many questions. |
|
||||
It was not my intent to dissuade you from posting to a mailing list, only to set what I considered appropriate expectations should you post the same limited information there as you have here.
It has been my experience that newbie questions to misc@ or ports@ will be answered without rudeness when the newbies clearly show they've done their homework using official sources (FAQ / man pages / mailing list archives / source code). Newbie problems will be treated well when the homework includes problem reports that are as complete as the newbies can make them. Should you reconsider my recommendation and post... OpenBSD is source code maintained.Support from developers may include patches to source code for you to test. As an OpenBSD user, you are expected to know how to apply patches to OpenBSD source code and build and install the affected components in response to your support requests. You are using M:Tier binary packaging for maintenance, and I don't know your familiarity with source code for Unix and Unix-like systems. FAQ 5 and Absolute OpenBSD both will be of great value if you are unfamiliar with what to do with a patch you might receive in response to any problem report. If your problem is with a third party package, FAQ 15 will also help, as you may get patches to the associated port from the port's maintainer. Last edited by jggimi; 14th November 2013 at 08:05 PM. Reason: typo, added list archives to homework, clarity, grammar |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is my OpenBSD system abnormally slow? (Newbie / pretty old hardware) | Smith | OpenBSD General | 5 | 10th April 2012 03:10 AM |
Create MS/XP file system so it will be recognized on a XP system. | FBSD | Guides | 0 | 1st May 2010 06:49 AM |
slow io from hdd | knasbas | OpenBSD General | 3 | 25th July 2009 02:51 AM |
Which file system use to share data on Bsd system? | aleunix | Other BSD and UNIX/UNIX-like | 2 | 1st June 2008 04:14 PM |
Booting with external USB drive plugged in? | Bruco | FreeBSD General | 29 | 17th May 2008 05:39 PM |