error message from pkg on HEAD

2014-01-13 Thread John-Mark Gurney
So, now when I run pkg I get the following:
pkg: Ignoring bad configuration entry in /usr/local/etc/pkg/repos/FreeBSD.conf: 
"URL: http://pkg.freebsd.org/${ABI}/latest";
pkg: Ignoring bad configuration entry in /usr/local/etc/pkg/repos/FreeBSD.conf: 
true
pkg: Ignoring bad configuration entry in /usr/local/etc/pkg/repos/FreeBSD.conf: 
"SRV"

pkg does seem to work so I'm not sure what I need to do.  I think I was
told to add these lines to the file, though I'm not sure, so I don't want
to delete them.

Thanks for help in letting me know what the solution is.

# pkg -v
1.2.4_1
# uname -a
FreeBSD carbon.funkthat.com 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r260082M: Wed 
Jan  1 12:08:41 PST 2014 
j...@carbon.funkthat.com:/usr/obj/usr/src/sys/lockprof  amd64
# cat /usr/local/etc/pkg/repos/FreeBSD.conf 
FreeBSD:
  URL: http://pkg.freebsd.org/${ABI}/latest
  ENABLED: YES
  MIRROR_TYPE: SRV

-- 
  John-Mark Gurney  Voice: +1 415 225 5579

 "All that I will do, has been done, All that I have, has not."
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: error message from pkg on HEAD

2014-01-13 Thread Glen Barber
On Mon, Jan 13, 2014 at 08:15:34PM -0800, John-Mark Gurney wrote:
> So, now when I run pkg I get the following:
> pkg: Ignoring bad configuration entry in 
> /usr/local/etc/pkg/repos/FreeBSD.conf: "URL: 
> http://pkg.freebsd.org/${ABI}/latest";
> pkg: Ignoring bad configuration entry in 
> /usr/local/etc/pkg/repos/FreeBSD.conf: true
> pkg: Ignoring bad configuration entry in 
> /usr/local/etc/pkg/repos/FreeBSD.conf: "SRV"
> 
> pkg does seem to work so I'm not sure what I need to do.  I think I was
> told to add these lines to the file, though I'm not sure, so I don't want
> to delete them.
> 
> Thanks for help in letting me know what the solution is.
> 
> # pkg -v
> 1.2.4_1
> # uname -a
> FreeBSD carbon.funkthat.com 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r260082M: 
> Wed Jan  1 12:08:41 PST 2014 
> j...@carbon.funkthat.com:/usr/obj/usr/src/sys/lockprof  amd64
> # cat /usr/local/etc/pkg/repos/FreeBSD.conf 
> FreeBSD:
>   URL: http://pkg.freebsd.org/${ABI}/latest
>   ENABLED: YES
>   MIRROR_TYPE: SRV
> 

The file format is incorrect.

FreeBSD: {
url: "http://pkg.freebsd.org/${ABI}/latest";,
enabled: yes,
mirror_type: "srv"
}

Glen



pgpIE3sTUerRe.pgp
Description: PGP signature


Re: error message from pkg on HEAD

2014-01-13 Thread John-Mark Gurney
Glen Barber wrote this message on Mon, Jan 13, 2014 at 23:22 -0500:
> On Mon, Jan 13, 2014 at 08:15:34PM -0800, John-Mark Gurney wrote:
> > So, now when I run pkg I get the following:
> > pkg: Ignoring bad configuration entry in 
> > /usr/local/etc/pkg/repos/FreeBSD.conf: "URL: 
> > http://pkg.freebsd.org/${ABI}/latest";
> > pkg: Ignoring bad configuration entry in 
> > /usr/local/etc/pkg/repos/FreeBSD.conf: true
> > pkg: Ignoring bad configuration entry in 
> > /usr/local/etc/pkg/repos/FreeBSD.conf: "SRV"
> > 
> > pkg does seem to work so I'm not sure what I need to do.  I think I was
> > told to add these lines to the file, though I'm not sure, so I don't want
> > to delete them.
> > 
> > Thanks for help in letting me know what the solution is.
> > 
> > # pkg -v
> > 1.2.4_1
> > # uname -a
> > FreeBSD carbon.funkthat.com 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r260082M: 
> > Wed Jan  1 12:08:41 PST 2014 
> > j...@carbon.funkthat.com:/usr/obj/usr/src/sys/lockprof  amd64
> > # cat /usr/local/etc/pkg/repos/FreeBSD.conf 
> > FreeBSD:
> >   URL: http://pkg.freebsd.org/${ABI}/latest
> >   ENABLED: YES
> >   MIRROR_TYPE: SRV
> > 
> 
> The file format is incorrect.
> 
> FreeBSD: {
> url: "http://pkg.freebsd.org/${ABI}/latest";,
> enabled: yes,
> mirror_type: "srv"
> }

For the archives.

Glen helped me in IRC, it turns out that this file was no longer
necessary.  I beileve I was told to add it at one point to make pkg
work, but the correct solution was to remove the file...

Thanks Glen.

-- 
  John-Mark Gurney  Voice: +1 415 225 5579

 "All that I will do, has been done, All that I have, has not."
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re[2]: ARC "pressured out", how to control/stabilize ? (reformatted to text/plain)

2014-01-13 Thread Vladimir Sharun
Dear Andriy and FreeBSD community,

> I am not sure if the buffers are leaked somehow or if they are actually in 
> use.
> It's one of the very few places where data buffers are allocated without
> charging ARC.  In all other places it's quite easy to match allocations and
> deallocations.  But in L2ARC it is not obvious that all buffers get freed or
> when that happens.

After one week under load I think we figure out the cause: it's L2ARC. 
Here's the top's header for 7d17h of the runtime:

last pid: 46409;  load averages:  0.37,  0.62,  0.70 up 7+17:14:01  07:24:10
173 processes: 1 running, 171 sleeping, 1 zombie
CPU:  2.0% user,  0.0% nice,  3.5% system,  0.4% interrupt, 94.2% idle
Mem: 8714M Active, 14G Inact, 96G Wired, 1929M Cache, 3309M Buf, 3542M Free
ARC: 85G Total, 2558M MFU, 77G MRU, 28M Anon, 1446M Header, 4802M Other

ARC related tunables:

vm.kmem_size="110G"
vfs.zfs.arc_max="90G"
vfs.zfs.arc_min="42G"

For more than 7 days of hard runtime the picture clearly shows: 
Wired minus ARC = 11..12Gb, ARC grow and shrinks in 80-87Gb range and the
system runs just fine.

So what shall we do with L2ARC leakage ?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


buildworld fails with "Zero byte read from file, skipping rest of line"

2014-01-13 Thread Jeremie Le Hen
Hi,

I have a FreeBSD -CURRENT in Virtualbox (running on Linux).  I have been
unable to buildworld for a while.

I suspect this is not a problem with the source because I didn't see any
report so far, whereas I've been experiencing this for a month or more.
Thus I naturally suspected it was a binary problem, so I've upgraded
to the latest snapshot, but the problem still exists.

  ===> gnu/usr.bin/groff/src/libs/libgroff (all)
  make[6]: 
"/usr/obj/usr/src.svn/tmp/usr/src.svn/gnu/usr.bin/groff/src/libs/libgroff/.depend"
 line 3: warning: Zero byte read from file, skipping rest of line.
  make[6]: 
"/usr/obj/usr/src.svn/tmp/usr/src.svn/gnu/usr.bin/groff/src/libs/libgroff/.depend"
 line 3: Need an operator
  make[6]: 
"/usr/obj/usr/src.svn/tmp/usr/src.svn/gnu/usr.bin/groff/src/libs/libgroff/.depend"
 line 4: Need an operator
  make[6]: Fatal errors encountered -- cannot continue
  make[6]: stopped in /usr/src.svn/gnu/usr.bin/groff/src/libs/libgroff
  *** [all] Error code 1

Typscript available here:
http://people.freebsd.org/~jlh/typescript.buildworld.txt

Any ideas?

Cheers,
-- 
Jeremie Le Hen

Scientists say the world is made up of Protons, Neutrons and Electrons.
They forgot to mention Morons.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"