Samba-2.07pre2 still crashes under Linux and HP-UX

Jeremy Allison jeremy at valinux.com
Fri Mar 24 22:13:58 GMT 2000


David Collier-Brown - Sun Canada wrote:
> 
> Jason Haar <Jason.Haar at trimble.co.nz> wrote:
> | Well I've just had a crash last night, and I've copies the log files off.
> | But I see nothing to suggest what happened. Also I've enabled core-dumps,
> | and no core dump exits, even though smbd died...
> |
> | If you look at the smb.conf file, you'll see I've put in a HUGE sleep
> | statement to be called via "panic action". Well I can tell you there was no
> | left-over smbd process!!
> 
>         Cool!  That implies it tore down the connection "normally"...
> 
>         [For the readers of samba at samba.org: clients are failing
>         mysteriously on an otherwise stable server. This is repeatable
>         on Linux and HP/UX both]
> 
>         The log starts at [2000/03/23 13:54:11], and
>         at 15:02:38 we get a Gethostbyaddr failure. The sequence was:
> ---
> [2000/03/23 15:02:38, 0] lib/util_sock.c:client_name(999)
>   getpeername failed. Error was Bad file descriptor
> [2000/03/23 15:02:38, 0] lib/util_sock.c:client_name(999)
>   getpeername failed. Error was Bad file descriptor
> [2000/03/23 15:02:38, 1] lib/util_sock.c:client_name(1007)
>   Gethostbyaddr failed for 155.63.51.194
> ---
> then, a little later,
> ---
> [2000/03/23 15:03:44, 1] lib/util_sock.c:client_name(1007)
>   Gethostbyaddr failed for 155.63.51.52
> [2000/03/23 15:03:44, 1] lib/util_sock.c:client_name(1007)
>   Gethostbyaddr failed for 155.63.34.14


Looks like it might be a glibc issue.

Are you running out of file descriptors ? What do you
have the fd's per process set to ?

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba mailing list