Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-23 Thread Trev

Hans Petter Selasky wrote on 23/9/21 5:55 pm:
I've always used "tcsh" for root. The little help you get on the command 
line to search and repeat commands is very useful compared to plain "sh".


+1




Re: poudriere, swap full and top says memory is free ?

2019-09-15 Thread Trev

Don Lewis wrote on 15/09/2019 11:31:

On 14 Sep, John-Mark Gurney wrote:

Kurt Jaeger wrote this message on Sat, Sep 14, 2019 at 19:38 +0200:

- a poudriere build
- of a list of ports
- on 12.0-RELEASE-p10
- on a 4 core+4 hyperthreads CPU, an Intel(R) Xeon(R) CPU E3-1230 v6
   @ 3.50GHz
- with 32 GB RAM
- zpool with 2x 500 GB SSDs as a mirror

and right now, this can be seen:

last pid: 90922;  load averages:  5.02,  5.14,  5.73up 0+03:53:08  19:31:05
82 processes:  6 running, 76 sleeping
CPU: 60.6% user,  0.0% nice,  2.1% system,  0.0% interrupt, 37.3% idle
Mem: 4598M Active, 2854M Inact, 11G Laundry, 6409M Wired, 6375M Free
ARC: 3850M Total, 1721M MFU, 2090M MRU, 665K Anon, 19M Header, 19M Other
  3406M Compressed, 3942M Uncompressed, 1.16:1 Ratio
Swap: 18G Total, 18G Used, 396K Free, 99% Inuse, 68K In

So: Swap is full, approx. 6 GB memory is reported as free.

This is surprising. Can I somehow tune this in any way, so that
the memory available is used for the build ? Or is the problem somewhere
else ?


Are you sure that this hasn't just recently completed a large link of
something like Chromium?  There are known to be compiles that can take
many GB's of memory and if they recently exited, there hasn't been time
to swap stuff back in...  or is this the steady state over the entire
compile?


This is sort of an odd case.  I suspect that swap filled and then a
process that was using a large amount of memory but no swap exited or
was killed.  That freed a bunch of memory, but no swap.

I'm pretty sure that when a memory page is paged back in from swap, that
the copy in swap is retained and not deallocated.  Under memory
pressure, that allowed the page to be stolen without having to write it
back out to swap again, unless it was re-dirtied in the meantime.


Don't forget swap fragmentation could conceivably cause oom even if 
there is swap appearing to be available. sysctl vm.swap_fragmentation is 
interesting.

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


Re: FCP-101: obsolete driver removal planned for 2019-05-18

2019-05-13 Thread Trev

Joel Dahl wrote on 13/05/2019 19:29:

On Fri, May 10, 2019 at 06:27:12PM +, Brooks Davis wrote:

I've posted a review to remove obsolete 10 and 10/100 Ethernet drivers
as previous approved in FCP-101.  The following drivers are slated for
removal from FreeBSD-HEAD (to be FreeBSD-13):

ae, bm, cs, de, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx, wb, xe


I've said it before and I'll try one last time. Can we save ae?


+1 (ASUS 701 laptop currently running FreeBSD 11.2).

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


Re: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"

2018-12-27 Thread Trev

Graham Perrin wrote on 26/12/2018 21:20:

grahamperrin@momh167-gjp4-8570p:~ % date ; uname -v
Wed Dec 26 10:18:52 GMT 2018
FreeBSD 13.0-CURRENT r342466 GENERIC-NODEBUG
grahamperrin@momh167-gjp4-8570p:~ % iridium
ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"
grahamperrin@momh167-gjp4-8570p:~ % pkg query '%o %v %R' iridium-browser
www/iridium 2018.5.67_6 FreeBSD
grahamperrin@momh167-gjp4-8570p:~ %

Any ideas?

TIA


Same problem with a freshly compiled (after 5 days, finished yesterday) 
www/chromium on RPi3.


$ chrome
ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"

$ uname -a
FreeBSD rpi3.sentry.org 13.0-CURRENT FreeBSD 13.0-CURRENT r342189 RPI3 
arm64




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