[smartos-discuss] ipfilter, simple rdr not working

2016-02-02 Thread tom my
Hey all, i run small server at customer with few zones and kvms. One of the zones is router and nat for others and also for internal PCs. only ipnat rule: map net1 from 172.16.8.0/24 to any -> 0/32 Customer wanted to redirect Windows remote desktop to one of the PCs. Thought that simple rdr net1 /

[smartos-discuss] Cannot zlogin to LX zone when no gateway

2016-02-12 Thread tom my
Hi all, I'm running joyent_20151224T060557Z global zone, with several zones, most of them are LX brands with ubuntu. Default gateway is KVM zone with routeros. When I create new lx zone (no matter ubuntu version) with default gateway which doesn't exists yet, I cannot zlogin to that new zone. I tr

[smartos-discuss] physical conectivity dilema

2016-04-11 Thread tom my
Hi all, I have a production server (single) with 4 phys. NIC. located at provider and connected only with one NIC. One of the VM is router with NAT (running routerOS) with public IP from provider for all other VMs and GZ. Private network is 10.1.1.0. I'd like to test our application / environment

[smartos-discuss] LX zone vs. ngroups limit

2016-06-13 Thread tom my
Hi all, we run git server for few developers with several repositories, persmissions are based on unix groups. Long story short - Migrating git server to LX zone I hit a ngroup limit inherited from global zone (max is 16 groups per user). As linux itself doesn't have this limitation and it works

[smartos-discuss] Gitlab on LX zone - cannot allocate memory

2016-09-17 Thread tom my
Hey all, just a try. I installed Gitlab on LX zone (tested centos, ubuntu, debian) using Gitlab's recommended Omnibus installation. I configured lx-zone with 4GB memory. Installation went ok, however I can't access Gitlab's web, receiving error "Cannot allocate memory - fork(2) (Errno::ENOMEM)" ev

Re: [smartos-discuss] Gitlab on LX zone - cannot allocate memory

2016-09-17 Thread tom my
When I get some time I’ll try with less > memory and see if I can recreate the error - but in the interim you may > want to retry with a bigger package and see if that fixes things? > > Jay > > tom my wrote: > > Hey all, > just a try. > > I installed Gitlab on LX zon

Re: [smartos-discuss] Gitlab on LX zone - cannot allocate memory

2016-09-17 Thread tom my
There is missing Postgres extension pg_trgm. I tried it in native zone. On 18 September 2016 at 00:39, Daniel Carosone wrote: > I tried this a couple of weeks ago, with no luck either. I was getting > some (apparently random) SIGBUS backtraces from ruby in amongst the logs. > > I had no chance t

Re: [smartos-discuss] Gitlab on LX zone - cannot allocate memory

2016-09-17 Thread tom my
Update: I tried on newer Smartos - joyent_20160901T054050Z - and with 8G ram it works just ok. .tommy On 18 September 2016 at 00:45, tom my wrote: > There is missing Postgres extension pg_trgm. > I tried it in native zone. > > On 18 September 2016 at 00:39, Daniel Carosone >

Re: [smartos-discuss] Gitlab on LX zone - cannot allocate memory

2016-09-17 Thread tom my
Should be redis That sysctl vm.overcommit_memory is set to 0 is error message during redis start. .tommy On 18 September 2016 at 01:39, Joe Landman wrote: > > > On 09/17/2016 07:30 PM, Joshua M. Clulow wrote: > >> On 17 September 2016 at 15:39, Daniel Carosone >> wrote: >> >>> I tried this a co

Re: [smartos-discuss] Gitlab on LX zone - cannot allocate memory

2016-09-18 Thread tom my
Hey all, thanks for exaplanation and solving this issue. .tommy On 19 September 2016 at 08:47, Daniel Carosone wrote: > That was definitely it - despite that it says it's *using* 0 swap :) > > Thanks again. > > On 19 September 2016 at 09:18, Daniel Carosone > wrote: > >> On 18 Sep 2016 11:47, "