Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

forcedeth issue? [SOLVED]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
sleepy boy
n00b
n00b
Posts: 29
Joined: Wed May 03, 2006 7:06 pm
Location: Bruges, Belgium, earth
Contact:
Contact sleepy boy
Website

forcedeth issue? [SOLVED]

  • Quote

Post by sleepy boy » Sat Aug 19, 2006 1:21 am

hi,

I've got a FreeBSD server and and I daily upload a few gigs of backups to it.

Whenever I start the uploads from my (2 weeks old) gentoo system, to the nfs mounts of the fileserver, I'm getting strange problems after a few minutes of uploading.
The upload seems to stall.(no network data in or out of my system) but when I start to check, the strangest things happen. I can't kill processes(like the backup moves that are stalling) the mysql client seems to lose all connections with its database. And If I try to reboot after all this happened, NOTHING happens, except the warning messages on open consoles. Sometimes the system also hard-locks...

just for info: ssh connections to the same server stay open
I've checked my logs but nothing related is in there.

The system is:
amd x2 3800
msi k8n neo2-fx (nforce3 chipset)
agp nvidia 6600GT
1.5Gb Ram
WD 250Gb sata1 HD 7200RPM

I'm thinking this is a forcedeth bug or something. but I'm not sure.

Is there anyone with a clue about what is happening???
I've been researching this problem for a week now and I'm getting hopeless :cry:

Tnx in advance

Sleepy boy
Last edited by sleepy boy on Mon Aug 21, 2006 5:00 pm, edited 1 time in total.
To be or not to be, it's not a question. It's a choice :P
Top
Raffi
l33t
l33t
User avatar
Posts: 731
Joined: Mon Mar 17, 2003 1:32 am
Location: Moscow, Id.

  • Quote

Post by Raffi » Sat Aug 19, 2006 4:03 am

You don't say which kernel you are running. I have seen many problems with the forcedeth driver. You can try a later kernel (or maybe just a different one).
Top
James Wells
n00b
n00b
User avatar
Posts: 57
Joined: Fri Sep 10, 2004 4:26 pm

Re: forcedeth issue?

  • Quote

Post by James Wells » Sat Aug 19, 2006 4:22 am

Greetings,
sleepy boy wrote:Whenever I start the uploads from my (2 weeks old) gentoo system, to the nfs mounts of the fileserver, I'm getting strange problems after a few minutes of uploading.
The upload seems to stall.(no network data in or out of my system) but when I start to check, the strangest things happen.
A couple things I would suggest looking at;
  • Run iostat 2 on the server while performing an upload -- I suspect you are running into an IO overload on the NFS server. Once this happens, your client will lose connectivity to the NFS server and will block unless you have in configured in soft mode.
  • Run nfsstat on the client while performing an upload -- Check for NFS errors during the transfer.
  • Check your NFS mount options -- Ensure that your NFS mount is configured for soft mode, SYNC. SYNC will be slower than ASYNC, but it will give your server time to clear the buffers every few seconds.
  • Check memory utilization on the server and client during a transfer. If you are getting the NFS errors or the high IO listed above, you will most likely see the memory usage on the server start going through the roof if the issue is on the server side or extremely high cache usage on the client if it is a client issue.
Top
sleepy boy
n00b
n00b
Posts: 29
Joined: Wed May 03, 2006 7:06 pm
Location: Bruges, Belgium, earth
Contact:
Contact sleepy boy
Website

  • Quote

Post by sleepy boy » Sat Aug 19, 2006 12:53 pm

tnx for the replies,

as a first, I'm running the stock gentoo 2.6.17-r5 kernel


I've changed my nfs mount line to this:
192.168.1.3:/backups /mnt/backups nfs rw,sync,soft 0 0

And now it seems to be running stable,
but instead of the backups taking 20 minutes it's going to take around 2hours now.
The upload speed dropped from 6700kb/s to 1300kb/s approx. So is there any way to (safely) speed this up?

iostat: output was pretty calm, the server was still 60% idle and the hd throughput on the drive was around 10MB/s with still plenty of memory free
nfsstat didn't point to anything significant imho.

Thank's for the tips about nfs, they really helped :D
To be or not to be, it's not a question. It's a choice :P
Top
Raffi
l33t
l33t
User avatar
Posts: 731
Joined: Mon Mar 17, 2003 1:32 am
Location: Moscow, Id.

  • Quote

Post by Raffi » Sat Aug 19, 2006 2:52 pm

Using soft on nfs is probably not a great idea. At the very least, you will want to check the integrity of your backups. If soft sees an error, it will go on with your file corrupted.

Try an older kernel to see if the network driver is more stable. You can also try getting the latest nvidia net driver from nvidia and seeing if it works.
Top
sleepy boy
n00b
n00b
Posts: 29
Joined: Wed May 03, 2006 7:06 pm
Location: Bruges, Belgium, earth
Contact:
Contact sleepy boy
Website

  • Quote

Post by sleepy boy » Mon Aug 21, 2006 4:58 pm

On that I agree, I've been looking around at the different mount options for nfs filesystems, and now i'm going with:

Code: Select all

192.168.1.3:/data       /mnt/data       nfs             rw,sync         0 0
What I have noticed is when I ran with async, nfsstat showed thousands of retransmits, but on the server there didn't seem anything wrong...

so I'll look into that ...

Tnx for the help, :D

greets
To be or not to be, it's not a question. It's a choice :P
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic