LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-04-2008, 12:17 AM   #1
edenCC
Member
 
Registered: May 2006
Location: Gz,China
Distribution: RH,FB
Posts: 196
Blog Entries: 1

Rep: Reputation: 32
NFS issues: "File size limit exceeded"


Hi, list;
I'm using RH9, with a modified kernel 2.4.26.

when I mount a NFS partition locally, and copy some big files(larger then 2giga bytes) to it, I got an error message: "File size limit exceeded".

I searched around, and found some tips there:
1, NFS in TCP mode has good performance, while running in UDP mode very poor.
2, NFS v2 supports UDP only, while NFS v3 set TCP mode as its default.
3, NFS v2 may have "file size limit exceeded" issue.

When I'm coping files to the RH9, I got good performance, about 30MB/S, but faced the issue mentioned above.
I guess if I update NFS service from v2 to v3, the "file size limit exceeded" should be fixed. But indeed the v2 NFS supports TCP:

Code:
rh9# /usr/sbin/rpcinfo -p localhost
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100011    1   udp    665  rquotad
    100011    2   udp    665  rquotad
    100011    1   tcp    668  rquotad
    100011    2   tcp    668  rquotad
    100003    2   udp   2049  nfs
    100021    1   udp  32781  nlockmgr
    100021    3   udp  32781  nlockmgr
    100005    1   udp    682  mountd
    100005    1   tcp    685  mountd
    100005    2   udp    682  mountd
    100005    2   tcp    685  mountd
Did I get some wrong, and How can I fix the size exceeded issue please?
 
Old 03-04-2008, 01:16 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Wouldn't it be easier to upgrade to a less ancient edition of RH or Fedora Core?
Most distro's support NFS v4 now. Also look into the filesystem used and the version.
Some filesystems may have a 2 or 4 GB filesize limit with older versions of the filesystem.
 
Old 03-04-2008, 02:05 AM   #3
edenCC
Member
 
Registered: May 2006
Location: Gz,China
Distribution: RH,FB
Posts: 196
Blog Entries: 1

Original Poster
Rep: Reputation: 32
thanks for the reply
But we have many servers, and the good ones are mostly for online services.
Currently, it works fine on an RHEL AS3, with good performance.
 
Old 03-04-2008, 04:11 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Do use a user-level nfs server or the nfs-kernel-server? You may need to upgrade the kernel to retain the speeds you are getting, and build the cooresponding user-land tools. I still think an upgrade from RH9 would be a better idea. It could take care of upgrading nfs and you wouldn't have to worry as much about security vulnerabilities that you can't patch anymore using an unsupported and outdated version.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"File size limit exceeded" during copy h3xis Linux - Networking 2 06-17-2006 01:24 PM
NFS File size limit exceeded zeky Linux - Networking 1 01-16-2006 03:05 PM
"File size limit exceeded" Thinking Programming 11 12-12-2005 02:28 AM
"File size limit exceeded " pulikondarajesh Red Hat 5 06-17-2004 08:06 AM
child pid xxxxx exit signal File size limit exceeded (25)" problem. bisbane Linux - General 1 10-31-2002 04:35 AM


All times are GMT -5. The time now is 07:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration