[Samba] samba_spnupdate invoked oom-killer

Chan Min Wai dcmwai at gmail.com
Thu Sep 18 22:21:02 MDT 2014


Dear Louis,

Thank You for the correction.

I'm sorry as I didn't notice the different :)

Thank again

On Tue, Sep 16, 2014 at 9:48 PM, L.P.H. van Belle <belle at bazuin.nl> wrote:

>  Hello Chan
>
> Ah, yes i see,
>
> rsync -XAavz --log-file /var/log/sysvol-sync.log --delete-after -f"+ */"
> -f"- *"  /var/lib/samba/sysvol root at server02:/var/lib/samba/  &&
> /usr/bin/unison
> This is the correct line.  ^^
>
> You did add sysvol in the destination of server02 and it only need its
> base path. ( aka /var/lib/samba )
> The unison config  does need /var/lib/samba
> like  :
> root = /var/lib/samba
> root = root at server02:/var/lib/samba
> AND
> path = sysvol
>
> which make it all work.
> Can you check and test above?
>
>
> Greetz,
>
> Louis
>
>
>  ------------------------------
> *Van:* Chan Min Wai [mailto:dcmwai at gmail.com]
> *Verzonden:* dinsdag 16 september 2014 15:31
> *Aan:* L.P.H. van Belle
>
> *CC:* samba at lists.samba.org
> *Onderwerp:* Re: [Samba] samba_spnupdate invoked oom-killer
>
>  Dear Louis,
>
> Finally I found my issue, Gentoo need to go eselest unison to choose the
> current running version so it will make a link on unison to that version.
>
> However, it seem to kept creating the sysvol dir....
>
> Rsync Command
> # rsync -XAavz --log-file /var/log/sysvol-sync.log --delete-after -f"+ */"
> -f"- *"  /var/lib/samba/sysvol root at server02:/var/lib/samba/sysvol &&
> /usr/bin/unison
>
>  sysvol/sysvol/lost+found/
>
> sent 55380 bytes  received 1475 bytes  37903.33 bytes/sec
> total size is 0  speedup is 0.00
> Contacting server...
> Connected [//server01//var/lib/samba -> //server02//var/lib/samba]
> Looking for changes
>   Waiting for changes from server
> Reconciling changes
>          <---- new dir    sysvol/sysvol/sysvol
> Propagating updates
> UNISON 2.40.102 started propagating changes at 21:24:47.36 on 16 Sep 2014
> [BGN] Copying sysvol/sysvol/sysvol from //server02//var/lib/samba to
> /var/lib/samba
> [END] Copying sysvol/sysvol/sysvol
> UNISON 2.40.102 finished propagating changes at 21:24:47.42 on 16 Sep 2014
> Saving synchronizer state
>
>
>
>
>
> default.prf
>
>  root = /var/lib/samba
> root = ssh://root@server02//var/lib/samba
>
> # Paths to synchronize
> path = sysvol
>
> #ignore = Path stats    ## ignores /var/www/stats
> auto=true
> batch=true
> perms=0
> rsync=true
> maxthreads=1
> retry=3
> confirmbigdeletes=false
> servercmd = /usr/bin/unison
> copythreshold=0
> copyprog = /usr/bin/rsync -XAavz --rsh='ssh -p 22' --inplace --compress
> copyprogrest = /usr/bin/rsync -XAavz --rsh='ssh -p 22' --partial --inplace
> --compress
> copyquoterem = true
> copymax = 1
> logfile = /var/log/sysvol-sync.log
>
>
> On Wed, Sep 10, 2014 at 6:59 PM, L.P.H. van Belle <belle at bazuin.nl> wrote:
>
>> Hai Chan,
>>
>> sorry for the late reaction, i've been ill .. still a bit..
>> you can safely disable : copythreshold in you config if needed.
>> this is only for speeding up copying of big files.
>> for example.
>> Unison internal file transfer is 5 MB/s
>> and the alternative copy method does : 20 MB/s
>>
>> these numbers are fictional, you need to mesure that for yourself.
>> but for sysvol, wel.. the internal is suffician.
>> I have that option enabled, because of some testing with automated
>> installations
>> and there are some big files in these shares.
>>
>> Greetz,
>>
>> Louis
>>
>>
>> >-----Oorspronkelijk bericht-----
>> >Van: dcmwai at gmail.com [mailto:samba-bounces at lists.samba.org]
>> >Namens Chan Min Wai
>> >Verzonden: maandag 8 september 2014 2:30
>> >Aan: steve
>> >CC: samba at lists.samba.org
>> >Onderwerp: Re: [Samba] samba_spnupdate invoked oom-killer
>>  >
>> >Hi Steve,
>> >
>> >Ya, can't get it work...
>> >with this error.
>> >I wonder Should I just comment the copythreshold line?
>> >
>> >sent 44886 bytes  received 1470 bytes  92712.00 bytes/sec
>> >total size is 0  speedup is 0.00 (DRY RUN)
>> >Fatal error: File "default", line 7: `copythreshold' is not a
>> >valid option
>> >
>> >
>> >
>> >
>> >On Sun, Sep 7, 2014 at 3:41 PM, steve <steve at steve-ss.com> wrote:
>> >
>> >> On Sun, 2014-09-07 at 15:31 +0800, Chan Min Wai wrote:
>> >> > Dear Steve,
>> >> >
>> >> > Ah no more drbd.
>> >> > I move to Rsync +unison.
>> >>
>> >> Hi Chan
>> >> Ah, I see, but did you get it working? We couldn't.
>> >> Cheers,
>> >> Steve
>> >>
>> >>
>> >>
>>  >--
>> >To unsubscribe from this list go to the following URL and read the
>> >instructions:  https://lists.samba.org/mailman/options/samba
>> >
>> >
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
>
>


More information about the samba mailing list