-
concrete_houses
will smalltalk make it to freebsd anytime soon?
-
concrete_houses
any tips on speeding up chrome?
-
rwp
concrete_houses, GNU smalltalk-3.2.5_17 is in FreeBSD 13.1R. Simply install it.
-
rwp
Much of the slowness of chrome/chromium/firefox other browsers is the latency of the Internet.
-
rwp
Also squeak-4.10.2_11 is available too. Perhaps the better choice even.
-
concrete_houses
hmmm
-
AmyMalik
that edselled
-
jmnbtslsQE
is there a good way to use protect(1) on the processes that will be started by poudriere? it seems like i should identify the relevant parent build process in each jail that poudriere starts, and use protect -ip $PID
-
rwp
jmnbtslsQE, How will keeping the process from being killed on out of memory conditions help? How can it continue?
-
rwp
Seems like if you need more memory for a task then you need more memory.
-
jmnbtslsQE
not sure, i want to at least give it a try. i think it should be able to find memory elsewhere, such as ARC, or from 'Inact' memory, and that this kill scenario is exceptional
-
jmnbtslsQE
going to try protecting them : ps ax -o pid,jail,command |grep -E '[b]uild_pkg' | awk '{print $1;}' onmy next build
-
rwp
I also hear plural build jobs. It might also be necessary to reduce the number of simultaneous jobs to reduce the overall memory needed.
-
rwp
Also if you want to keep pushing on then add more swap space. Swap space not on ZFS but on, say, another disk.
-
rwp
Just pop a single SSD in there and make it all swap. Something like that would help and would prevent processes being killed for being out of memory.
-
jmnbtslsQE
yeah, have lots of fast swap but not much being used (not sure how much used during the kill, but surely not most of it). good point about the number of jobs may need to reduce that
-
jmnbtslsQE
wanted multiple jobs for better utilisation of CPU/disk
-
jmnbtslsQE
hmm, may have been partly due to some periodic scripts that i can turn off
-
concrete_houses
so happy I switched to UFS from ZFS
-
concrete_houses
my smaller hp 610 works way better
-
concrete_houses
63$ desktop mini
-
concrete_houses
4tb external usb3 hd
-
concrete_houses
lovin it
-
concrete_houses
freebsd rocks
-
concrete_houses
sounds and xorg just work
-
concrete_houses
tight!!
-
concrete_houses
archlinux main competitor havent tried void or alpine linux
-
concrete_houses
musl instead fo glibc intersting slant
-
thumbs
nice use of the enter key there.
-
angry_vincent
anyone running quasselcore + postgresql in jails? interested in setup
-
spork_css
I don't know what quesselcore is, but recently moved a few big dbs to jails when moving to new hardware...
-
AmyMalik
quasselcore is an IRC client daemon (not quite a bouncer)
-
angry_vincent
this is i know
-
AmyMalik
I'm explaining for spork_css
-
AmyMalik
depending on how you install your jails, the setup may be the same as if you are installing them in the root jail
-
AmyMalik
("root jail" is my personal terminology for what's probably best known as prison0, or just the unjailed system)
-
angry_vincent
AmyMalik: ah, sorry :)
-
shiroyasha
AWS recently launched eu-south-2 region (Spain). Does anyone here know if EC2 AMIs will be automatically created next quarter, or if it's something I should open a ticket for somewhere?
-
mlu
shiroyasha: it's available now? find @cperciva on Twitter :)
-
AmyMalik
why is it eu-south and not like es-whatever
-
mlu
AmyMalik: because it's <continent>-<region>-<number>
-
mlu
Espana isn't a continent
-
AmyMalik
us isn't a continent either
-
AmyMalik
corporations need to start making sense if they do not want to be abolished
-
mlu
the world is people, and people dont' make sense
-
mlu
if corporations make sense, they will stop being compatible with people
-
AmyMalik
meh
-
pvalenta
hello, I would like to write C daemon watching log file and make some action if something occurs. I know about fail2ban but i want to learn programming in C so it's a self educational project. Any hints what could help? Thank you
-
mage
I guess you should take a look at kqueue
-
AmyMalik
for portability to other systems also epoll, select, and poll
-
pvalenta
mage, great, I'll look at it
-
pvalenta
AmyMalik, i want it as simple as possible so freebsd only
-
AmyMalik
really, you need to be upstream of writing the logs to disk. this isn't an easy task under freebsd and other systems that liberally use syslog.
-
debdrup
shiroyasha: I'd ask Colin Percival on Twitter, he's the person responsible.
-
debdrup
Oh, mlu already said that. Sorry!
-
pvalenta
I will spend some time studying source code of blacklistd
-
debdrup
blocklistd is somewhat different.
-
debdrup
mage correctly pointed out that kqueue is the "BSD" way of doing things.
-
debdrup
blocklistd is specifically made to have a daemon signal when a connection is attempted, so that blocklistd can be used to decide the rate at which too many connections are made, in an attempt to stop brute forcing, without relying on fail2ban or similar systems that require grep'ing log files
-
debdrup
grep'ing log files for that sort of thing is a very inelegant solution, and requires considerably more cputime
-
AmyMalik
yeah
-
pvalenta
I need to setup some user limiting to samba share. The only thing I could think of is set samba to log every file opening and deny access when exceeded limit
-
illuminated
alright, so on a fbsd system, every time I lose power to the system, it goes to single user mode due to inconsistency in the fs.. this is undesirable. is there a way to prevent this? until I replace the battery in my ups this is going to be an ongoing issue.. not so much as I can replace it, but for future reference..
-
debdrup
pvalenta: have you looked at rctl(4) and rctl(8)?
-
pvalenta
debdrup, I know about it but I need to study it deeper, if it can be helpful, thank you
-
V_PauAmma_V
illuminated, freedom from that is one thing ZFS gives you and UFS doesn't: on-the-fly repairs, with more extensive checks in the background every... I think it's 35 days by default.
-
V_PauAmma_V
I lost count of the times I had to hard-power-off my previous laptop when its keyboard and trackpad seized up, and never had any problem.
-
illuminated
hrmm.. ok
-
illuminated
I should have done a zfs on root
-
dch
illuminated: its possible to migrate a ufs to a zfs without too much trouble
-
dch
is there something like pciconf, that shows a hierarchical view of devices, as FreeBSD enumerates them?
-
dch
so its clearly indented that Device X hangs off Bus Y
-
dch
aah devinfo(8) thanks Rubber Duck Debuggers
-
meena
dch: devinfo(8) is pretty good
-
meena
-
VimDiesel
Title: Net: add BSD ifconfig(8) parser and state class by igalic · Pull Request #1779 · canonical/cloud-init · GitHub
-
jld
dch: also, the pciutils package contains lspci, which can display a tree
-
dch
ta. I need base system tools for this one.
-
jld
got it
-
dch
devinfo or pciconf would be really neat with a ucl or json output
-
mason
dch: You could see about fitting in libxo
-
meena
dch: time to earn that src commit bit
-
yourfate
I have a permanent tmux session on my machine, aber about 2 months of uptime the SSH connections to that tmux session become somewhat unresponsive, lagging for like 20seconds at a time sometimes
-
yourfate
is that a known thing?
-
meena
yourfate: two months of permanent connection?
-
yourfate
no, on and off connections, but the tmux keeps running
-
jmnbtslsQE
yourfate: i have tmux sessions open for months or year+, never happens to me. so should be another issue
-
yourfate
hmm ok
-
yourfate
sad
-
yourfate
is there a good way to profile this? htop etc also hangs when it hangs, so I don't see what happens
-
jmnbtslsQE
dunno, maybe someone will have some insight. do you have any hanging NFS mounts?
-
jmnbtslsQE
can you open new tmux panes/windows without the lag ?
-
yourfate
oooh, I think its the weechat session
-
yourfate
that gets laggy
-
yourfate
its in a different tmux session
-
jmnbtslsQE
OK
-
yourfate
and makes all other tmux sessions laggy somehow?
-
meena
jmnbtslsQE: i wonder if you can do some kind memory monitoring to see if it's leaking
-
Kalten
meena: at least you could use e.g. top to see about how much it uses after starting everything up, and compare that to a couple of days/interactions later :-)
-
dch
jmnbtslsQE: maybe a massive scrollback buffer?
-
yourfate
I stopped weechat, and it was fixed
-
yourfate
I think it was the like 600 000 messages in there :p
-
Kalten
:-}
-
antranigv
yourfate buffer was filled?
-
yourfate
well, was pretty full, but that should not make it hang
-
yourfate
seems like I need to look into weechat config
-
copec
I'm strange and have been using a combo of debian and smartos(illumos) for the last decade, but am learning/using freebsd. Using virtio nics for freebsd in a bhyve vm on illumos is slow, but e1000 is pretty fast. Is that expected behavior?
-
meena
copec: there's bugs in the offloading code, if you disable that, it should be faster
-
rtprio
illuminated: you could also set fsck_y_enable="YES" to force fsck to finish the job.
-
rtprio
i usually use that and background_fsck="NO" for the few UFS root hosts i have
-
illuminated
what does the latter do?
-
illuminated
and does this get added to rc.conf or loader.conf?
-
illuminated
probably rc would be my guess
-
rtprio
rc.conf, yes
-
rtprio
latter you will have to wait for fsck to finish before the system finishes booting
-
meena
illuminated: sysrc -d mystery_variable_somebody_suggested
-
meena
-
VimDiesel
Title: sysrc(8)
-
andr01d
Hello, I planning to install FreeBSD on a supermicro motherboard:
-
andr01d
-
VimDiesel
Title: A2SDi-16C-HLN4F | Motherboards | Products | Supermicro
-
andr01d
And I'd like to use a PCIe x4 to M.2 adapter to boot from a NVMe drive in the adapter.
-
mictty
andr01d: I am proud of your decision
-
andr01d
I'm naive on using M.2 drives, has anyone boot FreeBSD in this sort of way?
-
andr01d
Does the M.2 drive show up in gpart or fdisk?
-
mictty
andr01d: I have an NVMe drive on my bsd machine but I don't know what can go different in your configuration. What do you worry?
-
mictty
andr01d: let me go check
-
andr01d
I'd like to confirm that what I have in mind can generally work, before buying the motherboard.
-
andr01d
mictty, Do the NVMe drives you use plug into M.2 slots?
-
mictty
andr01d: yes plug and no middle adaptor
-
andr01d
My understanding is that the M.@ is just on the PCIe bus, and it "should" be the same using the adapter to a PCIe x4 slot...
-
andr01d
Just wondering if anyone has done such a thing?
-
mictty
andr01d: in my case(without adaptor) gpart shows as 'nvd0'
-
andr01d
thanks mictty ! I bet it's the same through the adapter. I'm going to order it and test it out.. Thanks Again!
-
mictty
andr01d: you can identify how it is recogized by the system via pciconf rather than dev abstraction
-
mictty
andr01d: my interface is found through 'nvme0@pci0' in pci conf.
-
mictty
andr01d: beside this, I don't know what I can help. I cannot test your configuration. good luck.
-
jauntyd
Is there a way to force a port to not build a dep? I have python3.10 installed, but postgresql14-server wants to bring in python3.9. Any takers?