Mailinglist Archive: opensuse-de (1905 mails)
| < Previous | Next > |
Re: NFS: Probleme mit lockd
- From: Lars Ziegler <lziegler@xxxxxxxxx>
- Date: Thu, 24 Jan 2008 19:53:00 +0100
- Message-id: <4798DE8C.4090007@xxxxxxxxx>
Sandy Drobic schrieb:
nfsserver unter dem root-Benutzer.
In Datei steht eigentliche nur auskommentiertes drin:
/# /etc/security/limits.conf/
/#/
/#Each line describes a limit for a user in the form:/
/#/
/#<domain> <type> <item> <value>/
/#/
/#Where:/
/#<domain> can be:/
/# - an user name/
/# - a group name, with @group syntax/
/# - the wildcard *, for default entry/
/# - the wildcard %, can be also used with %group syntax,/
/# for maxlogin limit/
/#/
/#<type> can have the two values:/
/# - "soft" for enforcing the soft limits/
/# - "hard" for enforcing hard limits/
/#/
/#<item> can be one of the following:/
/# - core - limits the core file size (KB)/
/# - data - max data size (KB)/
/# - fsize - maximum filesize (KB)/
/# - memlock - max locked-in-memory address space (KB)/
/# - nofile - max number of open files/
/# - rss - max resident set size (KB)/
/# - stack - max stack size (KB)/
/# - cpu - max CPU time (MIN)/
/# - nproc - max number of processes/
/# - as - address space limit (KB)/
/# - maxlogins - max number of logins for this user/
/# - maxsyslogins - max number of logins on the system/
/# - priority - the priority to run user process with/
/# - locks - max number of file locks the user can hold/
/# - sigpending - max number of pending signals/
/# - msgqueue - max memory used by POSIX message queues (bytes)/
/# - nice - max nice priority allowed to raise to/
/# - rtprio - max realtime priority/
/#/
/#<domain> <type> <item> <value>/
/#/
/#* soft core 0/
/#* hard rss 10000 /
/#@student hard nproc 20/
/#@faculty soft nproc 20/
/#@faculty hard nproc 50/
/#ftp hard nproc 0/
/#@student - maxlogins 4/
/# End of file/
Kann das denn dazu führen, dass der lockd abstürzt, wenn keine file
handles mehr angelegt werden dürfen?
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@xxxxxxxxxxxx
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: opensuse-de+help@xxxxxxxxxxxx
Lars Ziegler wrote:Also wenn mich nicht alles täuscht läuft lockd zusammen mit dem
Hallo alle zusammen,
ich hab einen Server mit Opensuse 10.3 (inkl. aller Updates) laufen. Der
Server ist NFS-Server, Mail-Server, Proxy-Server und Anmelde-Server
(Openldap). Im Netzwerk befinden sich ca. 70 Linux-Clients (OpensSuSE
10.3).
Wenn sich zu viele Benutzer anmelden (KDE), reagiert plötzlich kein
Linux-Client mehr und man kann auf der Konsole ein Timeout für lockd
sehen. Der Fehler ist nur zu beheben, wenn man den Server neu starten,
oder den NFS-Server stoppt, die Module nfsd und lockd neu lädt und den
NFS-Server wieder startet. Allerdings ist der Erfolg immer nur von
kurzer Dauer.
Die Meldungen auf dem Server lauten
lockd: couldn't create rpc handle
kernel: statd: server localhost not responding, timed out
Der Befehl rpcinfo -u localhost 100021 ergibt dann einen Timout-Error.
Ich hab auch schon einen neuen Kernel aus der OS-Factory-Version
probiert, aber es hat nichts geholfen.
Wahrscheinlich hat der lockd keine file handles mehr anlegen dürfen.
Was steht den in /etc/security/limits.conf?
Unter welchem User läuft lockd?
nfsserver unter dem root-Benutzer.
In Datei steht eigentliche nur auskommentiertes drin:
/# /etc/security/limits.conf/
/#/
/#Each line describes a limit for a user in the form:/
/#/
/#<domain> <type> <item> <value>/
/#/
/#Where:/
/#<domain> can be:/
/# - an user name/
/# - a group name, with @group syntax/
/# - the wildcard *, for default entry/
/# - the wildcard %, can be also used with %group syntax,/
/# for maxlogin limit/
/#/
/#<type> can have the two values:/
/# - "soft" for enforcing the soft limits/
/# - "hard" for enforcing hard limits/
/#/
/#<item> can be one of the following:/
/# - core - limits the core file size (KB)/
/# - data - max data size (KB)/
/# - fsize - maximum filesize (KB)/
/# - memlock - max locked-in-memory address space (KB)/
/# - nofile - max number of open files/
/# - rss - max resident set size (KB)/
/# - stack - max stack size (KB)/
/# - cpu - max CPU time (MIN)/
/# - nproc - max number of processes/
/# - as - address space limit (KB)/
/# - maxlogins - max number of logins for this user/
/# - maxsyslogins - max number of logins on the system/
/# - priority - the priority to run user process with/
/# - locks - max number of file locks the user can hold/
/# - sigpending - max number of pending signals/
/# - msgqueue - max memory used by POSIX message queues (bytes)/
/# - nice - max nice priority allowed to raise to/
/# - rtprio - max realtime priority/
/#/
/#<domain> <type> <item> <value>/
/#/
/#* soft core 0/
/#* hard rss 10000 /
/#@student hard nproc 20/
/#@faculty soft nproc 20/
/#@faculty hard nproc 50/
/#ftp hard nproc 0/
/#@student - maxlogins 4/
/# End of file/
Kann das denn dazu führen, dass der lockd abstürzt, wenn keine file
handles mehr angelegt werden dürfen?
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@xxxxxxxxxxxx
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: opensuse-de+help@xxxxxxxxxxxx
| < Previous | Next > |