Re: Random freezes of my FreeBSD droplet (DigitalOcean)

2017-11-22 Thread Stefan Lambrev
Thanks all. I have replaced the swap and optimized few apps that were using
too much memory when idle :)
Hopefully this was the issue.

On Wed, Nov 22, 2017 at 4:17 PM, Karl Denninger  wrote:

> Yeah, don't do that.  I have a DO Zfs-enabled FreeBSD deployment and I
> have the swap on /dev/gpt/swap0 (a regular slice)... no problems.
>
> $ uptime
>  9:17AM  up 174 days,  2:06, 1 users, load averages: 0.89, 0.80, 0.83
> $
>
>
> On 11/22/2017 08:15, Stefan Lambrev wrote:
> > Hi,
> >
> > Thanks for this idea.
> >
> > Device  1K-blocks UsedAvail Capacity
> > /dev/zvol/zroot/swap   2097152   310668  178648415%
> >
> > Will check why at all swap is used when the VM is not used. But yes - as
> > it's a image provided by DO the swap is on the zvol...
> >
> > On Wed, Nov 22, 2017 at 4:08 PM, Adam Vande More 
> > wrote:
> >
> >> On Wed, Nov 22, 2017 at 7:17 AM, Stefan Lambrev 
> >> wrote:
> >>
> >>> Greetings,
> >>>
> >>> I have a droplet in DO with very light load, currently
> >>> running 11.0-RELEASE-p15 amd64 GENERIC kernel + zfs (1 GB Memory / 30
> GB
> >>> Disk / FRA1 - FreeBSD 11.0 zfs)
> >>>
> >>> I know ZFS needs more memory, but the load is really light.
> Unfortunatelly
> >>> last few weeks I'm experiencing those freezes almost every second day.
> >>> There are no logs or console messages - just freeze. Networks seems to
> >>> work, but nothing else.
> >>>
> >>> Is there anyone with similar experience here?
> >>> Are there any updates in 11.1 that may affect positively my experience
> in
> >>> the digital ocean cloud?
> >>>
> >> It's entirely possible to run a stable VM using that configuration so
> you
> >> haven't provided enough details to give any real help.  A common foot
> >> shooting method is putting swap on zvol, but the possibilities are
> endless.
> >>
> >> --
> >> Adam
> >>
> > ___
> > freebsd-stable@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org
> "
>
> --
> Karl Denninger
> k...@denninger.net 
> /The Market Ticker/
> /[S/MIME encrypted email preferred]/
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Random freezes of my FreeBSD droplet (DigitalOcean)

2017-11-22 Thread Eugene Grosbein
22.11.2017 21:08, Adam Vande More wrote:

>> I have a droplet in DO with very light load, currently
>> running 11.0-RELEASE-p15 amd64 GENERIC kernel + zfs (1 GB Memory / 30 GB
>> Disk / FRA1 - FreeBSD 11.0 zfs)
>>
>> I know ZFS needs more memory, but the load is really light. Unfortunatelly
>> last few weeks I'm experiencing those freezes almost every second day.
>> There are no logs or console messages - just freeze. Networks seems to
>> work, but nothing else.
>>
>> Is there anyone with similar experience here
>> Are there any updates in 11.1 that may affect positively my experience in
>> the digital ocean cloud?
>>
> 
> It's entirely possible to run a stable VM using that configuration so you
> haven't provided enough details to give any real help.  A common foot
> shooting method is putting swap on zvol, but the possibilities are endless.

ZFS ARC greedy growth can easily knock FreeBSD 11 kernel down
as vfs.zfs.arc_max limit seems to be broken since 10.x.

I ran 9.x versions with ZFS within 1G RAM virtual machine non-stop
with only vfs.zfs.arc_max="40M" and vfs.zfs.vdev.cache.size="5M".

After upgrade to 10.x and than to 11.x, ARC grows upto hundreds of megabytes 
here
in spite of same settings and easily overflow default 512M KVA limit of i386 
system
forcing hard reset of the VM. So, I was forced to increase it using
vm.kmem_size="768M" and vm.kmem_size_max="768M" to keep VM stable.



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Random freezes of my FreeBSD droplet (DigitalOcean)

2017-11-22 Thread Karl Denninger
Yeah, don't do that.  I have a DO Zfs-enabled FreeBSD deployment and I
have the swap on /dev/gpt/swap0 (a regular slice)... no problems.

$ uptime
 9:17AM  up 174 days,  2:06, 1 users, load averages: 0.89, 0.80, 0.83
$


On 11/22/2017 08:15, Stefan Lambrev wrote:
> Hi,
>
> Thanks for this idea.
>
> Device  1K-blocks UsedAvail Capacity
> /dev/zvol/zroot/swap   2097152   310668  178648415%
>
> Will check why at all swap is used when the VM is not used. But yes - as
> it's a image provided by DO the swap is on the zvol...
>
> On Wed, Nov 22, 2017 at 4:08 PM, Adam Vande More 
> wrote:
>
>> On Wed, Nov 22, 2017 at 7:17 AM, Stefan Lambrev 
>> wrote:
>>
>>> Greetings,
>>>
>>> I have a droplet in DO with very light load, currently
>>> running 11.0-RELEASE-p15 amd64 GENERIC kernel + zfs (1 GB Memory / 30 GB
>>> Disk / FRA1 - FreeBSD 11.0 zfs)
>>>
>>> I know ZFS needs more memory, but the load is really light. Unfortunatelly
>>> last few weeks I'm experiencing those freezes almost every second day.
>>> There are no logs or console messages - just freeze. Networks seems to
>>> work, but nothing else.
>>>
>>> Is there anyone with similar experience here?
>>> Are there any updates in 11.1 that may affect positively my experience in
>>> the digital ocean cloud?
>>>
>> It's entirely possible to run a stable VM using that configuration so you
>> haven't provided enough details to give any real help.  A common foot
>> shooting method is putting swap on zvol, but the possibilities are endless.
>>
>> --
>> Adam
>>
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

-- 
Karl Denninger
k...@denninger.net 
/The Market Ticker/
/[S/MIME encrypted email preferred]/


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Random freezes of my FreeBSD droplet (DigitalOcean)

2017-11-22 Thread Stefan Lambrev
Hi,

Thanks for this idea.

Device  1K-blocks UsedAvail Capacity
/dev/zvol/zroot/swap   2097152   310668  178648415%

Will check why at all swap is used when the VM is not used. But yes - as
it's a image provided by DO the swap is on the zvol...

On Wed, Nov 22, 2017 at 4:08 PM, Adam Vande More 
wrote:

> On Wed, Nov 22, 2017 at 7:17 AM, Stefan Lambrev 
> wrote:
>
>> Greetings,
>>
>> I have a droplet in DO with very light load, currently
>> running 11.0-RELEASE-p15 amd64 GENERIC kernel + zfs (1 GB Memory / 30 GB
>> Disk / FRA1 - FreeBSD 11.0 zfs)
>>
>> I know ZFS needs more memory, but the load is really light. Unfortunatelly
>> last few weeks I'm experiencing those freezes almost every second day.
>> There are no logs or console messages - just freeze. Networks seems to
>> work, but nothing else.
>>
>> Is there anyone with similar experience here?
>> Are there any updates in 11.1 that may affect positively my experience in
>> the digital ocean cloud?
>>
>
> It's entirely possible to run a stable VM using that configuration so you
> haven't provided enough details to give any real help.  A common foot
> shooting method is putting swap on zvol, but the possibilities are endless.
>
> --
> Adam
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Random freezes of my FreeBSD droplet (DigitalOcean)

2017-11-22 Thread Adam Vande More
On Wed, Nov 22, 2017 at 7:17 AM, Stefan Lambrev 
wrote:

> Greetings,
>
> I have a droplet in DO with very light load, currently
> running 11.0-RELEASE-p15 amd64 GENERIC kernel + zfs (1 GB Memory / 30 GB
> Disk / FRA1 - FreeBSD 11.0 zfs)
>
> I know ZFS needs more memory, but the load is really light. Unfortunatelly
> last few weeks I'm experiencing those freezes almost every second day.
> There are no logs or console messages - just freeze. Networks seems to
> work, but nothing else.
>
> Is there anyone with similar experience here?
> Are there any updates in 11.1 that may affect positively my experience in
> the digital ocean cloud?
>

It's entirely possible to run a stable VM using that configuration so you
haven't provided enough details to give any real help.  A common foot
shooting method is putting swap on zvol, but the possibilities are endless.

-- 
Adam
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Random freezes of my FreeBSD droplet (DigitalOcean)

2017-11-22 Thread Stefan Lambrev
Greetings,

I have a droplet in DO with very light load, currently
running 11.0-RELEASE-p15 amd64 GENERIC kernel + zfs (1 GB Memory / 30 GB
Disk / FRA1 - FreeBSD 11.0 zfs)

I know ZFS needs more memory, but the load is really light. Unfortunatelly
last few weeks I'm experiencing those freezes almost every second day.
There are no logs or console messages - just freeze. Networks seems to
work, but nothing else.

Is there anyone with similar experience here?
Are there any updates in 11.1 that may affect positively my experience in
the digital ocean cloud?


Thanks!
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"