The Samba-Bugzilla – Attachment 4301 Details for
Bug 6476
more then 3000 smbd-zomies in memory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for 3.4.0
look (text/plain), 817 bytes, created by
Jeremy Allison
on 2009-06-17 15:33:00 UTC
(
hide
)
Description:
Fix for 3.4.0
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-06-17 15:33:00 UTC
Size:
817 bytes
patch
obsolete
>diff --git a/source3/smbd/server.c b/source3/smbd/server.c >index a022f3e..d3ce4b6 100644 >--- a/source3/smbd/server.c >+++ b/source3/smbd/server.c >@@ -1055,6 +1055,11 @@ extern void build_options(bool screen); > BlockSignals(False, SIGUSR1); > BlockSignals(False, SIGTERM); > >+ /* Ensure we leave no zombies until we >+ * correctly set up child handling below. */ >+ >+ CatchChild(); >+ > /* we want total control over the permissions on created files, > so set our umask to 0 */ > umask(0); >@@ -1221,6 +1226,13 @@ extern void build_options(bool screen); > /* close our standard file descriptors */ > close_low_fds(False); /* Don't close stderr */ > >+#ifdef HAVE_ATEXIT >+ atexit(killkids); >+#endif >+ >+ /* Stop zombies */ >+ smbd_setup_sig_chld_handler(); >+ > smbd_process(); > > exit_server_cleanly(NULL);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6476
:
4296
| 4301 |
4303