Skip to contentSkip to conversation

Max. open files?

DISCUSSION Paul van der Vlis 2 participants 6 messages Jan 15, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

Is there in nfs-kernel-server a maximum on the open files?

If yes, what's the correct way to change that maximum?

Do I get errors in the logs when the maximum is reached?

With regards,
Paul van der Vlis.

Signature · 2 lines
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl/
#1 lore raw

Hi Paul van der Vlis,

I don't think there's a NFSD limit on open files, but you'd be subject to VFS' file-max.

http://lxr.free-electrons.com/source/Documentation/sysctl/fs.txt#L91

Ben

Quoted 21 lines · Paul van der Vlis

Hello,

Is there in nfs-kernel-server a maximum on the open files?

If yes, what's the correct way to change that maximum?

Do I get errors in the logs when the maximum is reached?

With regards,
Paul van der Vlis.

--
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl/

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

Hi Ben and others,

The problem what I see, is that I sometimes cannot do a "ls" in a directory. It just gives no output and the terminal does not respond anymore. No errors in the logs.

I've seen it in the firefox profile, like this:
/home/paul/.mozilla/firefox/0k48lsbe.default/
The browser hangs then.

No problems in other directories of the same user.

I am using homedirs on NFS4 with LDAP and MIT Kerberos on Debian Wheezy with a 3.16 kernel. sec=krb5i.

With regards,
Paul .

Op 15-01-15 om 14:13 schreef Benjamin Coddington:

Quoted 37 lines

Hi Paul van der Vlis,

I don't think there's a NFSD limit on open files, but you'd be subject to VFS' file-max.

http://lxr.free-electrons.com/source/Documentation/sysctl/fs.txt#L91

Ben

Quoted 12 lines · Paul van der Vlis

Hello,

Is there in nfs-kernel-server a maximum on the open files?

If yes, what's the correct way to change that maximum?

Do I get errors in the logs when the maximum is reached?

With regards,
Paul van der Vlis.

Quoted 9 lines

--
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl/

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl/
#3 lore raw

Can you provide a network capture of the problem?

Ben

Quoted 70 lines · Paul van der Vlis

Hi Ben and others,

The problem what I see, is that I sometimes cannot do a "ls" in a directory. It just gives no output and the terminal does not respond anymore. No errors in the logs.

I've seen it in the firefox profile, like this:
/home/paul/.mozilla/firefox/0k48lsbe.default/
The browser hangs then.

No problems in other directories of the same user.

I am using homedirs on NFS4 with LDAP and MIT Kerberos on Debian Wheezy with a 3.16 kernel. sec=krb5i.

With regards,
Paul .

Op 15-01-15 om 14:13 schreef Benjamin Coddington:

Quoted 32 lines

Hi Paul van der Vlis,

I don't think there's a NFSD limit on open files, but you'd be subject to VFS' file-max.

http://lxr.free-electrons.com/source/Documentation/sysctl/fs.txt#L91

Ben

Quoted 12 lines · Paul van der Vlis

Hello,

Is there in nfs-kernel-server a maximum on the open files?

If yes, what's the correct way to change that maximum?

Do I get errors in the logs when the maximum is reached?

With regards,
Paul van der Vlis.

Quoted 9 lines

--
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl/

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl/

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

Hello Ben and others,

Op 15-01-15 om 14:53 schreef Benjamin Coddington:

Quoted 1 line

Can you provide a network capture of the problem?

Not at the moment.

Do you think it's good to make a tcpdump as root on the client when the problem is there?

tcpdump -nw /path/filename

With regards,
Paul van der Vlis

Quoted 74 lines

Ben

Quoted 70 lines · Paul van der Vlis

Hi Ben and others,

The problem what I see, is that I sometimes cannot do a "ls" in a directory. It just gives no output and the terminal does not respond anymore. No errors in the logs.

I've seen it in the firefox profile, like this:
/home/paul/.mozilla/firefox/0k48lsbe.default/
The browser hangs then.

No problems in other directories of the same user.

I am using homedirs on NFS4 with LDAP and MIT Kerberos on Debian Wheezy with a 3.16 kernel. sec=krb5i.

With regards,
Paul .

Op 15-01-15 om 14:13 schreef Benjamin Coddington:

Quoted 32 lines

Hi Paul van der Vlis,

I don't think there's a NFSD limit on open files, but you'd be subject to VFS' file-max.

http://lxr.free-electrons.com/source/Documentation/sysctl/fs.txt#L91

Ben

Quoted 12 lines · Paul van der Vlis

Hello,

Is there in nfs-kernel-server a maximum on the open files?

If yes, what's the correct way to change that maximum?

Do I get errors in the logs when the maximum is reached?

With regards,
Paul van der Vlis.

Quoted 9 lines

--
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl/

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl/

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl
#5 lore raw
Quoted 7 lines · Paul van der Vlis

Hello Ben and others,

Op 15-01-15 om 14:53 schreef Benjamin Coddington:

Quoted 1 line

Can you provide a network capture of the problem?

Not at the moment.

Quoted 7 lines

Do you think it's good to make a tcpdump as root on the client when the problem is there?

tcpdump -nw /path/filename

With regards,
Paul van der Vlis

If you know you can reliably produce the problem, something like tcpdump -s0 -w /tmp/capfile host <address of server> started before you produce the problem and interrupted a few moments later should be sufficient.

Ben

Quoted 84 lines
Quoted 75 lines

Ben

Quoted 70 lines · Paul van der Vlis

Hi Ben and others,

The problem what I see, is that I sometimes cannot do a "ls" in a directory. It just gives no output and the terminal does not respond anymore. No errors in the logs.

I've seen it in the firefox profile, like this:
/home/paul/.mozilla/firefox/0k48lsbe.default/
The browser hangs then.

No problems in other directories of the same user.

I am using homedirs on NFS4 with LDAP and MIT Kerberos on Debian Wheezy with a 3.16 kernel. sec=krb5i.

With regards,
Paul .

Op 15-01-15 om 14:13 schreef Benjamin Coddington:

Quoted 32 lines

Hi Paul van der Vlis,

I don't think there's a NFSD limit on open files, but you'd be subject to VFS' file-max.

http://lxr.free-electrons.com/source/Documentation/sysctl/fs.txt#L91

Ben

Quoted 12 lines · Paul van der Vlis

Hello,

Is there in nfs-kernel-server a maximum on the open files?

If yes, what's the correct way to change that maximum?

Do I get errors in the logs when the maximum is reached?

With regards,
Paul van der Vlis.

Quoted 9 lines

--
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl/

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl/

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl