[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-984-gc192144

Stefan (metze) Metzmacher metze at samba.org
Thu Feb 19 03:17:50 MST 2009


Hi Todd, hi Steven,

> commit c441f58dedc465f59060296815a0bc7f9aeb743f
> Author: todd stecher <todd.stecher at gmail.com>
> Date:   Tue Feb 17 16:16:35 2009 -0800
> 
>     S3: Allow SMBD processes to survive in low memory condidtions
>     
>     This commit adds a configure argument which allows for setting MADV_PROTECT
>     in the madvise() API.  With this enabled the kernel won't kill SMBD when
>     it's running low on memory.
> 

wouldn't it make sense to add this call to become_daemon() so that
nmbd and winbindd also get the protection.

I'm also wondering if we really want that the child (per connection)
smbds are also protected.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20090219/9b2fd0be/signature.bin


More information about the samba-technical mailing list