Displaying 4 results from an estimated 4 matches for "blocksignals".
Did you mean:
block_signals
1998 Sep 01
0
SOLARIS:SIGPIPE in nmbd (PR#8723)
appro@fy.chalmers.se wrote:
>
> No, it's not:-)
>
> static int sig_pipe(void)
> {
> BlockSignals( True, SIGPIPE );
>
> DEBUG( 0, ("Got SIGPIPE\n") );
> if ( !is_daemon )
> exit(1);
> BlockSignals( False, SIGPIPE );
> #ifndef DONT_REINSTALL_SIG
> signal(SIGHUP,SIGNAL_CAST sig_pipe);
> WOW!!! ---------...
2005 Mar 28
1
[BUG] Samba 3.0.11: nmbd forgets to close stderr
...trol back only after the
daemon is stopped. This looks like nmbd holds stderr opened after
fork or so. Then, this dummy patch cures all the things back:
--- nmbd/nmbd.c
+++ nmbd/nmbd.c
@@ -766,6 +766,7 @@ static BOOL open_sockets(BOOL isdaemon,
/* We can only take signals in the select. */
BlockSignals( True, SIGTERM );
+ close(2);
process();
if (dbf)
So, this confirms that stderr is left opened by the daemon.
I can't say when this bug has arisen exactly. All I know is that it
does not present in 3.0.4 and presents in 3.0.11.
1998 Aug 18
0
cannot compile samba-1.9.18p8 on SunOS 5.5.1 with gcc 2.7.2
.....
# make
Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb"
-DNMBLOGFILE="/us
Using LIBS = -lsocket -lnsl
Compiling util.c
util.c: In function `Get_Hostbyname':
util.c:4263: warning: initialization makes pointer from integer without
a cast
util.c: In function `BlockSignals':
util.c:4363: `sigset_t' undeclared (first use this function)
util.c:4363: (Each undeclared identifier is reported only once
util.c:4363: for each function it appears in.)
util.c:4363: parse error before `set'
util.c:4364: `set' undeclared (first use this function)
util.c: In funct...
2002 Oct 25
4
Samba 2.2.6 leaks file descriptions!
Hi
My server has ran out of file descriptors(FDs) a few times since 2.2.5 up to 2.2.6.
When looked into the problem I found a lot of smbd processes that had hundreds of open FDs.
I am on RH 7.2.
Any ideas?
I have compiled the sources form SAMBA_2_2 CVS branch from yesterday.
usally I just specify the --prefix= parameter to configure before I do make clean;make; make install
I also noticed