Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jan 2002 15:39:41 +0100
From:      "Rogier R. Mulhuijzen" <drwilco@drwilco.net>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Running out of bufferspace
Message-ID:  <5.1.0.14.0.20020101153934.01de0038@mail.drwilco.net>

next in thread | raw e-mail | index | archive | help

>[ root@hera:~ ] # truss mount -t smbfs //drwilco@ceres/D$ /ceres/d_drive/
>readlink("/etc/malloc.conf",0xbfbffa94,63)       ERR#2 'No such file or 
>directory'

--SNIP--

>fork()                                           = 3331 (0xd03)
>smbfs: can't get server address: syserr = No buffer space available
>SIGNAL 20
>wait4(0xd03,0xbfbff088,0x0,0x0)                  = 3331 (0xd03)
>exit(0x1)                                       process exit, rval = 256

This of course is useless, since mount fork()s and mount_smbfs does the 
real stuff which isn't visible....

So here's the real deal. (After using my device once and not running out of 
bufferspace on that run)

[ root@hera:~ ] # truss mount_smbfs //drwilco@ceres/C$ /ceres/c_drive/
---SNIP---
ioctl(3,SIOCGIFADDR,0x8051440)                   = 0 (0x0)
ioctl(3,SIOCGIFNETMASK,0x8051440)                = 0 (0x0)
ioctl(3,SIOCGIFFLAGS,0x8051460)                  ERR#6 'Device not configured'
ioctl(3,SIOCGIFFLAGS,0x8051480)                  ERR#6 'Device not configured'
ioctl(3,SIOCGIFFLAGS,0x80514a0)                  ERR#6 'Device not configured'
ioctl(3,SIOCGIFFLAGS,0x80514c0)                  ERR#6 'Device not configured'
ioctl(3,SIOCGIFFLAGS,0x80514e0)                  ERR#6 'Device not configured'
close(3)                                         = 0 (0x0)
socket(0x2,0x2,0x0)                              = 3 (0x3)
setsockopt(0x3,0xffff,0x20,0xbfbfeef8,0x4)       = 0 (0x0)
bind(0x3,{ AF_INET 192.168.0.1:0 },16)           = 0 (0x0)
sendto(0x3,0x8050010,0x32,0x0,0x804f024,0x10)    = 50 (0x32)
select(0x4,0xbfbfee8c,0xbfbfee0c,0xbfbfed8c,0xbfbfed74) = 0 (0x0)
sendto(0x3,0x8050010,0x32,0x0,0x804f024,0x10)    = 50 (0x32)
select(0x4,0xbfbfee8c,0xbfbfee0c,0xbfbfed8c,0xbfbfed74) = 0 (0x0)
sendto(0x3,0x8050010,0x32,0x0,0x804f024,0x10)    = 50 (0x32)
select(0x4,0xbfbfee8c,0xbfbfee0c,0xbfbfed8c,0xbfbfed74) = 0 (0x0)
sendto(0x3,0x8050010,0x32,0x0,0x804f024,0x10)    = 50 (0x32)
select(0x4,0xbfbfee8c,0xbfbfee0c,0xbfbfed8c,0xbfbfed74) = 0 (0x0)
close(3)                                         = 0 (0x0)
socket(0x2,0x2,0x0)                              = 3 (0x3)
setsockopt(0x3,0xffff,0x20,0xbfbfeef8,0x4)       = 0 (0x0)
bind(0x3,{ AF_INET 192.168.0.1:0 },16)           = 0 (0x0)
sendto(0x3,0x8050010,0x32,0x0,0x804f024,0x10)    = 50 (0x32)
select(0x4,0xbfbfee8c,0xbfbfee0c,0xbfbfed8c,0xbfbfed74) = 0 (0x0)
sendto(0x3,0x8050010,0x32,0x0,0x804f024,0x10)    ERR#55 'No buffer space 
available'
close(3)                                         = 0 (0x0)
mount_smbfs: write(2,0xbfbfe884,13)                              = 13 (0xd)
can't get server addresswrite(2,0xbfbfe8a4,24)                           = 
24 (0x18)
: syserr = No buffer space available
write(2,0xbfbfe874,37)                           = 37 (0x25)
sigprocmask(0x1,0x2805cbe0,0xbfbff0ac)           = 0 (0x0)
sigprocmask(0x3,0x2805cbf0,0x0)                  = 0 (0x0)
exit(0x1)                                       process exit, rval = 256


So again... which buffer(s) could this be, and how do I check its/their status?

         Doc


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020101153934.01de0038>