Hi
Am 20.12.2013 um 16:29 schrieb Nicola Tiling <nti(at)w4w.net>:
>
> Danke für die Antwort. Ich werde es mal mit dem kTrace probieren.
Wenn ich ein ktrace auf den Prozess "samba: task[dcesrv] (Samba)“ loslasse kommt ein „ls -la“ überhaupt zu keiner Ausgabe mehr, der Cursor hängt quasi. Und im Ktrace Dump bekomme ich als Ergebnis nur endlos viel Zeilen dieser Art
80262 samba CALL fcntl(0xc,F_SETLKW,0xffffffffffffc4c0)
80262 samba RET fcntl 0
80262 samba CALL fcntl(0xc,F_SETLKW,0xffffffffffffc560)
80262 samba RET fcntl 0
80262 samba CALL fcntl(0xc,F_SETLKW,0xffffffffffffc560)
80262 samba RET fcntl 0
80262 samba CALL fcntl(0xc,F_SETLKW,0xffffffffffffc4c0)
80262 samba RET fcntl 0
80262 samba CALL fcntl(0xc,F_SETLKW,0xffffffffffffc560)
80262 samba RET fcntl 0
Erst wenn ich das ktrace abbreche, läuft das „ls -la“ weiter.
F_SETLKW This argument tells fcntl() to attempt to obtain the lock requested in the struct flock structure. If the lock cannot be obtained (since someone else has it locked already), fcntl() will wait (block) until the lock has cleared, then will set it itself. This is a very useful command. I use it all the time.
Kann das hier jmd. erklären?
Schöne Grüße
Nicola
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 21 Dec 2013 - 01:09:07 CET