[79] in The Cryptographic File System users list

home help back first fref pref prev next nref lref last post

cmkdir problems

daemon@ATHENA.MIT.EDU (Brett Eldridge)
Wed May 27 13:48:17 1998

From owner-cfs-users@research.att.com Wed May 27 17:48:17 1998
Return-Path: <owner-cfs-users@research.att.com>
Delivered-To: cfs-mtg@bloom-picayune.mit.edu
Received: (qmail 27190 invoked from network); 27 May 1998 17:48:16 -0000
Received: from unknown (HELO rumor.research.att.com) (192.20.225.9)
  by bloom-picayune.mit.edu with SMTP; 27 May 1998 17:48:16 -0000
Received: from research.att.com ([135.207.30.100]) by rumor; Wed May 27 13:43:24 EDT 1998
Received: from amontillado.research.att.com ([135.207.24.32]) by research-clone; Wed May 27 13:46:55 EDT 1998
Received: from nsa.research.att.com (majordomo@nsa.research.att.com [135.207.24.155])
	by amontillado.research.att.com (8.8.7/8.8.7) with ESMTP id NAA05774;
	Wed, 27 May 1998 13:46:54 -0400 (EDT)
Received: (from majordomo@localhost) by nsa.research.att.com (8.7.3/8.7.3) id NAA04790 for cfs-users-list; Wed, 27 May 1998 13:42:06 -0400 (EDT)
X-Authentication-Warning: nsa.research.att.com: majordomo set sender to owner-cfs-users@nsa.research.att.com using -f
Received: from research.att.com (research-clone.research.att.com [135.207.30.100]) by nsa.research.att.com (8.7.3/8.7.3) with SMTP id NAA04786 for <cfs-users@nsa.research.att.com>; Wed, 27 May 1998 13:42:04 -0400 (EDT)
Received: from palrel1.hp.com ([156.153.255.242]) by research-clone; Wed May 27 13:43:57 EDT 1998
Received: from cup46ux.cup.hp.com (daemon@cup46ux.cup.hp.com [15.9.88.31])
	by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id KAA09146
	for <cfs-users@research.att.com>; Wed, 27 May 1998 10:43:52 -0700 (PDT)
Received: from tool2.home.com (sddm0043.sdd.hp.com) by cup46ux.cup.hp.com with SMTP
	(1.37.109.24/15.5+IOS 3.20+cup+OMrelay) id AA064561027; Wed, 27 May 1998 10:43:47 -0700
Date: Wed, 27 May 1998 10:43:41 -0700 (PDT)
From: Brett Eldridge <beldridg@cup.hp.com>
X-Sender: beldridg@tool2.home.com
Reply-To: Brett Eldridge <beldridg@cup.hp.com>
To: cfs-users@research.att.com
Subject: cmkdir problems
Message-Id: <Pine.LNX.3.96.980527084654.284K-100000@tool2.home.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-cfs-users@research.att.com
Precedence: bulk

Hi,

Everytime I try to cmkdir a directory, the process hangs and consumes all
of the cpu. Here are some details along with the output of top and the
output of strace on cmkdir. 


o RedHat 5.0 w/ patches
o Kernel 2.0.33
o cfsd starts okay and registers with the portmapper:
  
  [beldridg@tool2 beldridg]$ /usr/sbin/rpcinfo -p
     program vers proto   port
      100000    2   tcp    111  rpcbind
      100000    2   udp    111  rpcbind
      100005    1   udp    635  mountd
      100005    2   udp    635  mountd
      100005    1   tcp    635  mountd
      100005    2   tcp    635  mountd
      100003    2   udp   2049  nfs
      100003    2   tcp   2049  nfs
  1092830567    2   udp   3049

o the /crypt directory is mounted (I have also tried specifying nfsvers=2
and to use udp):

  [beldridg@tool2 beldridg]$ mount 
  localhost:/null on /crypt type nfs (rw,port=3049,intr,addr=127.0.0.1)

o top:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
 1359 beldridg  20   0   344  344   280 R       0 92.4  0.7   3:50 cmkdir


o strace output:

[beldridg@tool2 galicia]$ strace cmkdir test
execve("/usr/local/bin/cmkdir", ["cmkdir", "test"], [/* 23 vars */]) = 0
brk(0)                                  = 0x8071d28
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 7975, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4000b000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4000d000
munmap(0x4000d000, 4096)                = 0
mmap(0, 667860, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4000d000
mprotect(0x4009d000, 78036, PROT_NONE)  = 0
mmap(0x4009d000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x8f000) = 0x4009d000
mmap(0x400a5000, 45268, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400a5000
close(3)                                = 0
mprotect(0x4000d000, 589824, PROT_READ|PROT_WRITE) = 0
mprotect(0x4000d000, 589824, PROT_READ|PROT_EXEC) = 0
personality(0 /* PER_??? */)            = 0
getpid()                                = 1359
open("/dev/tty", O_RDWR)                = 3
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
brk(0)                                  = 0x8071d28
brk(0x8071da8)                          = 0x8071da8
brk(0x8072000)                          = 0x8072000
fstat(3, {st_mode=S_ISGID|0400, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x400b1000
ioctl(3, TCGETS, {B9600 opost isig icanon echo ...}) = 0
lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
munmap(0x400b1000, 4096)                = 0
sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}) = 0
ioctl(3, TCGETS, {B9600 opost isig icanon echo ...}) = 0
ioctl(3, SNDCTL_TMR_CONTINUE, {B9600 opost isig icanon -echo ...}) = 0
write(2, "Key:", 4Key:)                     = 4
read(3, "t", 1)                         = 1
read(3, "h", 1)                         = 1
read(3, "i", 1)                         = 1
read(3, "s", 1)                         = 1
read(3, " ", 1)                         = 1
read(3, "i", 1)                         = 1
read(3, "s", 1)                         = 1
read(3, " ", 1)                         = 1
read(3, "a", 1)                         = 1
read(3, " ", 1)                         = 1
read(3, "t", 1)                         = 1
read(3, "e", 1)                         = 1
read(3, "s", 1)                         = 1
read(3, "t", 1)                         = 1
read(3, " ", 1)                         = 1
read(3, "k", 1)                         = 1
read(3, "e", 1)                         = 1
read(3, "y", 1)                         = 1
read(3, "\n", 1)                        = 1
write(2, "\n", 1
)                       = 1
ioctl(3, SNDCTL_TMR_CONTINUE, {B9600 opost isig icanon echo ...}) = 0
sigaction(SIGINT, {SIG_DFL}, {SIG_IGN}) = 0
close(3)                                = 0
open("/dev/tty", O_RDWR)                = 3
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fstat(3, {st_mode=S_ISGID|0400, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x400b1000
ioctl(3, TCGETS, {B9600 opost isig icanon echo ...}) = 0
lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
munmap(0x400b1000, 4096)                = 0
sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}) = 0
ioctl(3, TCGETS, {B9600 opost isig icanon echo ...}) = 0
ioctl(3, SNDCTL_TMR_CONTINUE, {B9600 opost isig icanon -echo ...}) = 0
write(2, "Again:", 6Again:)                   = 6
read(3, "t", 1)                         = 1
read(3, "h", 1)                         = 1
read(3, "i", 1)                         = 1
read(3, "s", 1)                         = 1
read(3, " ", 1)                         = 1
read(3, "i", 1)                         = 1
read(3, "s", 1)                         = 1
read(3, " ", 1)                         = 1
read(3, "a", 1)                         = 1
read(3, " ", 1)                         = 1
read(3, "t", 1)                         = 1
read(3, "e", 1)                         = 1
read(3, "s", 1)                         = 1
read(3, "t", 1)                         = 1
read(3, " ", 1)                         = 1
read(3, "k", 1)                         = 1
read(3, "e", 1)                         = 1
read(3, "y", 1)                         = 1
read(3, "\n", 1)                        = 1
write(2, "\n", 1
)                       = 1
ioctl(3, SNDCTL_TMR_CONTINUE, {B9600 opost isig icanon echo ...}) = 0
sigaction(SIGINT, {SIG_DFL}, {SIG_IGN}) = 0
close(3)                                = 0
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}) = 0
sigaction(SIGALRM, {SIG_IGN}, {SIG_DFL}) = 0
sigaction(SIGALRM, {0x804d62c, [], SA_NOMASK|0x487c4}, {SIG_IGN}) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 16665}}, NULL) =
0
--- SIGALRM (Alarm clock) ---
sigaction(SIGALRM, {0x804d62c, [], 0}, {0x804d62c, [],
SA_STACK|SA_NOCLDSTOP|0x5189a}) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 16665}}, NULL) =
0





home help back first fref pref prev next nref lref last post