-
AReal486
Howdy all!
-
amigan
Are you actually a 486? Impressive in this world of 3MB ls(1)
-
AReal486
Right now, no. I'm on my FreeBSD machine. I use ircjr on FreeDOS from time to time to log into irc though.
-
amigan
Ah
-
rtprio
meena: do you happen to know what the import format is for gts
-
AReal486
Yeah, that PC has a 486DX 66MHz, 16MB RAM, ~500MB SSD (CF card). It's a great Doom machine haha.
-
amigan
I was trying to get mere NetBSD MINIMAL booting on a 12MB DECpc 486. No dice. Just needed to image some SCSI disks.
-
amigan
But also have networking
-
amigan
(in service of restoration of a NeXT '030 cube)
-
AReal486
Yeah, I looked into doing something similar but even NetBSD is just too resource hungry :/ Plus any modern version of X doesn't support video adaptors over the ISA bus :/
-
amigan
Oh, X was 100% out of the question lolol
-
amigan
I wanted to ssh blah dd of=/dev/sd1
-
AReal486
I wonder how Xenix would run on the thing lol
-
amigan
Probably fine, but idk if xenix has NE2000 drivers
-
amigan
And definitely no ssh
-
AReal486
Yeah, I need NE2000 drivers for my Realtek NIC.
-
amigan
Didn't know realtek had an ne2k nic, interesting
-
AReal486
I couldn't get the Realtek drivers to work but luckly it's NE2000 compatable so I use that instead.
-
amigan
Actually nvm this wasn't ne2k, it was an actual DEC tulip
-
amigan
Like, from digital
-
rtprio
hah, i bought three ne2000 cards for $.01 and 2 of them worked
-
amigan
I have one that I keep on the shelf just in case
-
rtprio
what a day that was, built possibly the slowest router i could at the time
-
amigan
Hahaha
-
AReal486
That sounds like torture.
-
amigan
I used it as a router back in the day when cable modems only ever had a 10Mb PHY
-
amigan
How far we've come
-
AReal486
...I still can use a dialup modem if I need to (which I've used a few weeks ago for fun). I'm one of the last few lucky people to have a real POTS line to my house.
-
AReal486
I like to dial into BBSes on my 486 from time to time too.
-
amigan
Lucky. I just have a grandstream ATA and a bunch of western electric phones behind a ring regenerator. I've been working with GS support to get fixes in for supervision behind the booster. My IAXy never had a problem.
-
amigan
Their debounce time on the codec is too long, we've found
-
AReal486
I'm about 700 or so feet from the distribution building so I get like the fastest VDSL (bonded) connection you can get. No fiber here yet.
-
amigan
Maybe I'm the lucky one, lol. We were one of the first fios markets and after having it for 17 years I have to say it's a good service, even if by a truly evil company
-
amigan
Who is pulling out all the copper because copper is still a regulated service around here
-
AReal486
lol well I'm with Windstream but yeah, I think Verizon is worse (as a company).
-
amigan
Without question. But their product isn't oversubscribed garbage like their HFC competitors here
-
AReal486
I mean I get about 150 (up to 200) MBs down and around 50MB up. Not great but can't complain for living in a town of 230 some people.
-
amigan
400/10 service. You can just about send the ACKs out fast enough to get 400
-
AReal486
I do miss my 100/100 fiber from the other place I used to live at but I like telephony so it's a trade off.
-
amigan
That is fair. I'd trade my connection for 200/50 copper if it were offered
-
amigan
I restore old phones, lol
-
AReal486
Part of the phreaknet?
-
amigan
I am not, have thought about it on and off for years. I probably should considering I listen to Evan Doorbell tapes when I walk
-
AReal486
I'm not familar with that.
-
AReal486
Hey, I've got to get going. I may rejoin later though.
-
amigan
-
VimDiesel
Title: Evan Doorbell's Telephone Tapes - Group 1 Playlist
-
amigan
Take care!
-
deadguy
hi, noob here. i'm on 14-current and just ran pkg-upgrade, now i can't use git anymore. the error i get is from ld-elf.so.1 about an undefined symbol. i've been searching around but mostly found issues that had nothing to do with my particular one (stuff about jails and such). Any pointers?
-
scoobybejesus
did you run this in a jail or your base system?
-
deadguy
base system
-
scoobybejesus
i wish i had something more constructive to say than a noob probably shouldn't be running on 14-current. but i'm thinking
-
deadguy
well i did try, but 13 stable left me without a bootloader after 6 different installations
-
scoobybejesus
i want to say that this can happen if you wait to long to update the base system and then you try to get an updated pkg repo and use newer binaries than were intended
-
scoobybejesus
you probably want release
-
scoobybejesus
13-release
-
scoobybejesus
will the system respond to freebsd-update fetch and then freebsd-update install?
-
deadguy
fetch tells me that it can't upgrade from something that isn't a release and that i can either upgrade from source or upgrade to a release version prior to running freebsd-update
-
deadguy
haven't tried install
-
scoobybejesus
yeah, i don't know the proper way to update a current system. lemme try to look real quick
-
scoobybejesus
i can't figure out what you should do. seems like git is essential to working with the development branches (stable and current), so if you can't revert what you've done, then you'll have to see if someone will walk you through it, or you should just start with 13.1-release
-
scoobybejesus
-
VimDiesel
Title: Chapter 25. Updating and Upgrading FreeBSD | FreeBSD Documentation Portal
-
scoobybejesus
wish i could help more. i've encountered that error before, but never with the base system
-
deadguy
thank you, this is still helpful to me
-
scoobybejesus
and i usually ended up creating a new jail and migrating the data over. wish i knew how to fix it, so i'd be curious if you figure it out or learn how
-
rtprio
deadguy: is it __fbsd__something
-
rtprio
if it is, you need to buildworld first
-
deadguy
rtprio: yeah, that's the one
-
deadguy_
i closed the wrong pane... i'll look into buildworld
-
rtprio
deadguy: OR you can rebuild them from ports instead
-
crb
is there a way to run "make install" as an ordinary user and have the owner and permission or maybe just own information added to an mtree file?
-
deadguy
i don't really have any ports installed. i've been getting everything through pkg. i was maybe looking into downgrading this particular package (git) but figured that's probably not the best idea
-
rtprio
ports are packages
-
rtprio
rebuild it from source, or rebuild the world/kernel
-
rtprio
or rather, ports also install packages
-
concrete_houses
is zfs faster than ufs?
-
concrete_houses
given a i7 8g ram
-
concrete_houses
desktop
-
concrete_houses
8200 rating on cpu bechmark
-
concrete_houses
right now keeping simple on these usb3 drive
-
concrete_houses
ufs
-
concrete_houses
nothing raidded
-
rtprio
concrete_houses: too many variables to give you an answer
-
rtprio
crb: i don't think so; what are you trying to do
-
crb
rtprio, I am building images for an embedded board. There are tools like makefs and mkimg that allow you to build disks images based on a filesystem, but it seems your source filesystem has to already have the files with the right owner and permission
-
crb
rtprio: if you could do a make install where the owner was encoded in an mtree then it would seem you wouldn't have to be root to do an install as I think you could pass that to makers
-
crb
perhaps a small enhancement to install so that you pass an mtree file and it install the file with your ownership but appends the true final owner to the mtree file later?
-
rtprio
so is the problem putting it into the right place /tmp/myroot or knowing the uid/gid/usernames you need when you're done
-
rtprio
if you're doing this in a jail and then making an image you could `make DESTDIR=/myroot install` but that only partially solves your problem
-
crb
rtprio: when doing make install the installed files need to be owned by a particular user, often root. I think the pretty much forces you to run make install as root even if you are installing to a private directory that you own. I think you'd have the same issue if you ran in a jail. The install would need to run as root in the jail. That's al little safer but you still need root to setup the jail right? If there were a way
-
crb
to write all the install files as my user ID and encode the true owner in an mtree file I could perhaps do the install myself and then give the more to makefs for when it build the filesystem
-
rtprio
i see
-
rtprio
with using ports i dont see a way
-
rtprio
short of making a jail and using that to build a mtree
-
rtprio
but you still need several root commands
-
crb
rtprio: yes but it seems a small enhancement to install where install writes the file with the users ID but writes an mtree entry with the correct final owner and permission might work
-
rtprio
i think youll find thats a signficant modification to the ports system
-
rtprio
i dont get why you cant do it as root
-
Letiute
When I do `pkg search/install Xvfb` it shows nothing but the package is there
man.freebsd.org/cgi/man.cgi?query=X…ion=1&manpath=freebsd-release-ports
-
VimDiesel
Title: Xvfb(1)
-
xtile
The same is true of 'pokerth' and I don't know why:
-
xtile
-
VimDiesel
Title: FreeBSD Ports Search
-
crb
rtprio: sorry not the ports system, I mean building a kernel and world, I should have been using make installkernel and make buildkernel
-
crb
actually what I think I'm looking for is at the bottom of this page:
bsdimp.blogspot.com/2020/06
-
VimDiesel
Title: Warner's Random Hacking Blog: 202006
-
crb
-DNO_ROOT seems to enable it
-
sozuba
New to freebsd, my laptop heats up as soon as the boot process starts and waits for my passpharse to decrypt. what could be the reason? This never happend with my linux installs (not complaining, just providing context).any ideas?
-
sozuba
guess the problem should be caused by the bootloader, boot0/boot-easy. I need to figure out if using grub solves that problem
-
Letiute
for i in {9001..9099}; do echo $i ; done ; -> for: Command not found.. i: Undefined variable.
-
rtprio
Letiute: man $SHELL and search for for loops
-
xtile
sounds more like a job for 'until' loops
-
Letiute
maybe a pkg install bash problem
-
Letiute
bash solved it
-
dch
anybody else using unifi7 ?
-
AmyMalik
how long is a piece of string ?
-
xtile
at least one char if it's a valid C string
-
dch
sozuba: I'd guess the initial powersaving level of the cpu hasn't been set that early in boot. worth filing a bug at
bugs.freebsd.org
-
VimDiesel
Title: FreeBSD Bugzilla Main Page
-
dch
Letiute: xvfb is not a port of and in itself, it is part of xorg-server
-
dch
xtile: pokerth is its own port, but is BROKEN `error: use of undeclared identifier '_1' and doesn't build
-
dch
both these bits of info are in their respective Makefiles and dirs
-
xtile
aha
-
xtile
thank you
-
dch
-
VimDiesel
Title: Makefile « pokerth « games - ports - FreeBSD ports tree
-
dch
-
VimDiesel
Title: FreeBSD Porter's Handbook | FreeBSD Documentation Portal
-
dch
explaining broken
-
xtile
thanks :D
-
dch
yw
-
Letiute
dch so how do I install it? I can install it in linux though
-
Letiute
rtprio magic of googling, irc is that you do NOT have to read and search ALL the man pages. Me simply switching to 'bash' solved my problem. I do understand
-
dch
Letiute: its part of x11/xorg-minimal I believe
-
Letiute
dch so its installed already?
-
dch
honestly I don't know, you can ask in #freebsd-xorg for a qualified answer
-
xtile
i have xorg (full install) installed and don't have xvfb
-
dch
xtile: what do you mean, "don't have"
-
dch
i.e. what are you expecting to find but don't
-
rtprio
Letiute: i'm not sure you do
-
xtile
dch: don't have the xvfb.1 man page Letiute referenced. (i have no idea what xvfb is or does)
-
rtprio
virtual frame buffer, iirc
-
rtprio
you run it, set DISPLAY to it, run shit, capture the screen. that sort of thing
-
» xtile nods
-
Letiute
-
VimDiesel
Title: Xvfb(1)
-
dch
aah so you are looking for the Xvfb binary?
-
Letiute
dch trying to find a way to install it
-
xtile
yeah, all i meant was that it's not in xorg or xorg-minimal ;3
-
Letiute
pkg dont have it
-
dch
sudo pkg install -r FreeBSD xorg-vfbserver
-
dch
its not entirely obvious how to figure this out
-
meena
-
VimDiesel
Title: FreshPorts -- ports-mgmt/pkg-provides: Pkg plugin for querying which package provides a particular file
-
Letiute
dch I heard that pkg is known to break xorg
-
dch
I grepped /usr/ports for -i Xvfb
-
Letiute
not sure if its true
-
rtprio
have heard no such thing
-
Letiute
rtprio I am sure you have not.
-
dch
Letiute: possible. but given the enormous number of people using xorg on FreeBSD daily it is probably going to be a very visible bug
-
dch
I would notice
-
dch
anyway I found x11-servers/xorg-server/pkg-descr-xvfb
-
dch
and x11/xorg/Makefile
-
dch
which has Xvfb:x11-servers/xorg-server@xvfb
-
dch
the @ tells me its a flavour
-
dch
so install x11-servers/xorg-server@xvfb
-
dch
and now I have Xvfb
-
dch
binary
-
xtile
I use FreeBSD as my desktop and pkg installs xorg fine.
-
dch
where is my oss audio gone
-
Letiute
dch ok
-
Letiute
so I want " xorg-vfbserver-21.1.4_1,1 " ?
-
dch
Letiute: dont't complicate it
-
dch
sudo pkg install -r FreeBSD xorg-vfbserver
-
dch
^ thats whats you want
-
dch
pkg(8) will do the right thing
-
dch
otis: that last unifi upgrade was a pain. lucky I read UPDATING
-
dch
I couldn't get it to load the monthly auto-backups so it was a zfs rollback to december and make a manual one then
-
dch
not like I make frequent changes
-
Letiute
dch whats the difference between pkg install -r FreeBSD xorg-vfbserver and pkg install xorg-vfbbserver ?
-
otis
dch: what was the problem? should the UPDATING entry be more verbose?
-
dch
otis: no I just wanted to say thanks for the entry!
-
dch
I have no idea why unifi rejected the autobackups
-
dch
Letiute: you can man pkg(8) for details, but `-r <repo` selects a specific repository. I have several here, so it matters which one I pick.
-
otis
dch: it worked flawlessly for me, i did it on more than one installations.
-
otis
anyway I still have one left.
-
Letiute
dch isnt the default repo "FreeBSD' already?
-
AmyMalik
you won't believe this
-
paulf
and we won't not believe it either if we don't know what it is
-
AmyMalik
it's about that stupid power virus again. It was, of all things, PCIe. By running devctl disable on some PCIe devices I'm sure I won't be using any time soon (thunderbolt), I was able to bring idle power consumption right down to within a margin of error from the competition.
-
AmyMalik
To be clear, I'm not recommending anyone do this, just reporting my observations. (I guess I should do a writeup on my blog)
-
meena
AmyMalik: also a bug report
-
meena
that makes me wonder if
bugs.freebsd.org/bugzilla/show_bug.cgi?id=269823 goes deeper than virtio
-
VimDiesel
Title: 269823 – rand_harvest produces 100%CPU on 1 CPU with virtio_random.ko loaded
-
joes
how do I properly set XDG_RUNTIME_DIR “
-
joes
for sway?
-
meena
joes: depends on how you start sway
-
adonis
Is there a way to get package to install/upgrade to simply ignore the dependencies on postgresql? I want a specific version (15.2) but theres also like 4 packages that want to install different versions (some 14, some 13) and overwrite my choice. How do I resolve this?
-
AmyMalik
it has cometo my attention that my use of the term "power virus" is misleading.
-
adonis
pkg*
-
AmyMalik
meena, that one is definitely unrelated
-
adonis
Would be great if pkg supported some paramater that specified "allowed alternative dependencies" where for a specific dependency being requested for a pkg other alternatives in list (if installed) will suffice
-
meena
AmyMalik: well it's PCIe
-
AmyMalik
mh
-
meena
adonis: yeah, I don't think we support that (yet).
-
AmyMalik
I'll do the blog writeup and then if it turns out to be PR worthy i'll do a PR
-
meena
-
VimDiesel
Title: 269906 – dtrace requires empty expression to print anything from matching search
-
adonis
meena: something like I am mentioning above is in the works?
-
meena
adonis: somebody in #bsdports on EFnet should know. maybe there's a wiki page or a review
-
meena
i dunno. my interests in ports are limited, so i don't keep up with all developments
-
joes
meena: from a virtual console, not from a manager
-
meena
joes: so it should be enough to export it in your shell
-
angry_vincent
joes: i have this in my .bashrc
bpa.st/N725A
-
VimDiesel
Title: View paste N725A
-
joes
angry_vincent: thanks. Sucks to do manually
-
AmyMalik
doing the writeup is a way to organize my thoughts and findings into something good quality enough for the bug reports I often see
-
angry_vincent
joes: since you starting sway manually anyway, i find no issues with that. it is set automatically once you have your shell up.
-
antranigv
Is it possible to have a binary update mechanism for -CURRENT?
-
angry_vincent
joes: another way is to set it up from within .login_conf
-
Letiute
Whats the best way to formate a new disk? gpart?
-
joes
angry_vincent: I might have overwritten $HOME for dual-booting. Is there no /etc/skel?
-
angry_vincent
joes: this is something that exist on linux distributions, i think
-
joes
yes. Is a new ~ not populated?
-
angry_vincent
no idea what you mean
-
joes
does a new user get an empty homedir?
-
mage
adonis: best is to setup your own poudriere repo
-
V_PauAmma_V
joes, normally not. A new user's home is populated with a copy of /usr/share/skel/ (with all filenames changed, s/^dot//)
-
joes
V_PauAmma_V: ah, that’s where it comes from
-
drobban
antranigv: Im testing jailer out... Not sure if Im doing it wrong, jailer create -b bridge0 -a 10.0.0.2 efs_dev_db <- should attach to bridge interface and set ip to 10.0.0.2? right
-
gzar
what is the equivalent of linux-kvm on freebsd
-
mason
gzar: bhyve?
-
gzar
so i cant really use qemu with kvm
-
gzar
or other kernel-level virtualization
-
mason
gzar: What's your specific goal?
-
drobban
antranigv: aah. found my mistake
-
gzar
running a linux virtual machine for some software. i'd like to have some form of acceleration
-
drobban
-
VimDiesel
Title: qemu - FreeBSD Wiki
-
mason
I wonder if qemu is the right answer there. "I want a VM" seems reasonably well-solved by Bhyve or VirtualBox.
-
drobban
I dunno.. he specificly asked for qemu :-P
-
mason
-
VimDiesel
Title: XY problem - Wikipedia
-
debdrup
qemu is a front-end for a lot of virtualization, similar to how libvirt is - and libvirt includes support for bhyve
-
mason
Ah, and that reminds me that I didn't mention Xen. It's a sad day.
-
debdrup
qemu as a front-end for bhyve requires that someone interested in doing the work does it.
-
gzar
i was asking about qemu cause linux has a module for it called kvm and netbsd has a module for it called nvmm, i assumed freebsd had something too but any other virtualization software with hardware acceleration will do
-
meena
many of us here aren't fluent in Linux (any more)
-
meena
last time I worked with Linux is probably pre-pandemic
-
acommonman
Hi. Does anyone use wayland+sway out here who knows how to get GUI applications under Jails working with Wayland? Most documentation and support online only Focuses on X11 + "xauth +" .. I want to get things like chromium / firefox work under a jail with wayland
-
acommonman
forums.freebsd.org/threads/running-…ome-in-a-dedicated-linux-jail.85491 ... Like this guide is working for a lot of people but focuses on X11. But I use wayland
-
VimDiesel
Title: Running Google Chrome in a dedicated Linux-Jail | The FreeBSD Forums
-
acommonman
I always get the "Cannot open display" error with wayland
-
gzar
its fine, i just have to get this linux thing running and i'd prefer some accel. i'll try bhyve
-
drobban
antranigv: nice work with jailer... =) trying out some use cases i have. havent checked out all the features yet - is there a way of pass along some custom config lines when using snapshots?
-
antranigv
drobban thanks! I will be "freezing" the code and doing only bug fixes. Jailer 2 will be rewritten from scratch with better features.
-
Letiute
gpart was showing my hdd yesterday. But I wonder why `gpart show` is not showing my hdds. Other ssd,nvme are shown.. One of the hdd is even in a pool and working fine. also shown in /dev
-
yuripv
gpart does not show "hdds", it shows partitions
-
yuripv
if you didn't create any, it won't be there in gpart output
-
Letiute
yuripv I see. How can I see disks then?
-
Letiute
yuripv by the way I do have /dev/da0 and /dev/da0.eli
-
Letiute
maybe .eli is not a partition?
-
Letiute
diconnected
-
Letiute
yuripv by the way I do have /dev/da0 and /dev/da0.eli
-
rwp
Letiute, Try: camcontrol devlist
-
Letiute
maybe .eli is not a partition?
-
Letiute
rwp ok
-
rwp
"camcontrol devlist" will show the devices that are attached at the device level.
-
rwp
Also try: sysctl -n kern.disks
-
rwp
That will show the device names the kernel has associated.
-
yuripv
Letiute: ok, gpart shows "geoms" with a partitioning scheme created on them, and partitions if those exist
-
Letiute
rwp both do.. thanks. How to see sizes?
-
Letiute
yuripv ok
-
rwp
Try: diskinfo -v /dev/ada0
-
yuripv
if you didn't create partitioning scheme on a disk (or a geli device), it won't show in the output
-
Letiute
ook
-
rwp
Or with your scsi disks: diskinfo -v /dev/da0
-
Letiute
wonderful
-
rwp
Since the SATA adaptor driver creates adaX devices and the SCSI adaptor driver creates daX devices.
-
Letiute
k
-
rwp
Also: geom disk list
-
rwp
BTW when I said "with your scsi disks" that was only because of the controller used. The same disks moved to the opposite controller would get the other naming.
-
Letiute
oh
-
rwp
So a daX might be either SATA or SAS but pretty sure adaX can only be SATA. (All administrivial points.)
-
Letiute
ok
-
Letiute
Is mirroring (raid1) better or rsync better for least interval/near to realtime sync? latter scans the full dir tree (less efficient)? can I mirror drives to directories in a single drive (stupid but canI) ? send/rec is best. I am just asking for understandin
-
rwp
BTW... A simple disk performance benchmark can be had with: diskinfo -cit /dev/da0
-
Letiute
ok...
-
yuripv
but make sure to read the BUGS section in diskinfo(8) man page :)
-
Letiute
hm..
-
rwp
Also if the smartmontools port is installed then smartctl -i is very useful as well. And the utility of smartctl.
-
Letiute
not -x ?
-
rwp
Letiute, I did not quite understand your question about rsync versus raid versus other. Though without knowing the question I would advocate ZFS due to all of the advantages there.
-
Letiute
rwp I have a serious problem not going away... Samsung SSD 990 PRO 1TB percentage used : 9% in a week...
-
Letiute
Firmware Version: 1B2QJXD7
-
rwp
So... Nine more weeks and then you are done!
-
rwp
"The steady state of disks is full." --Ken Thompson
-
Letiute
rwp why is it happening like this?
-
rwp
Letiute, It's your system. I would ask you that question. What is consuming the space every week?
-
Letiute
1000 browsers at a time working in /tmp maybe. That is the only reason. Could it be?
-
Letiute
that I can think of
-
Letiute
and a database (postgres)
-
Letiute
but... nvmes.. /ssds don't wearup like that
-
rwp
Try: zfs list -o compression,compressratio,refquota,quota,used,usedds,usedsnap,refer,creation,name
-
rwp
And then look over the data. Should be able to tell which datasets/snapshots/clones are referencing data.
-
rwp
On a more local file system hierarchy level, "ncdu" is a favorite tool, use it to explore directory trees for disk usage.
-
Letiute
-
rwp
Letiute, What did you want me to say about your dataset property list? I need a hint.
-
Letiute
you asked for zfs list
-
rwp
I asked you to run "zfs list -o compression,compressratio,refquota,quota,used,usedds,usedsnap,refer,creation,name" and then for you to look at it.
-
rwp
That output you shared was not the above command.
-
yuripv
-
VimDiesel
Title: Samsung 990 Pro Firmware Update Addresses Failing SSD Health | Tom's Hardware
-
yuripv
your firmware looks to be outdated
-
yuripv
hm, no, looks up to date, was looking at 980 one (have that one) :D
-
rwp
yuripv, Good catch!
-
yuripv
not so good, they seem to have the latest
-
Letiute
thanks but the firmware update aint helping
-
yuripv
"it seems as though 990 Pro owners who have already experienced significant health declines will need to RMA the SSDs to replace them"
-
Letiute
what ist he best way to put tmps insetad of /tmp on disk?
-
rwp
yuripv, btw... The reason I like to do a quick benchmark is that by doing that I realized I had some disks on slow SATA ports on a particular motherboard. Only two of hte ports were 6Gbps and the other ports were 3Gbps and by realizing that I was able to address the inequality.
-
rwp
Letiute, I'm sorry but I do not understand your question. Please say more?
-
Letiute
rwp I meant the disk is dying
termbin.com/pd3g0
-
rwp
In only 241 hours of running? It should be under warranty then. What are the symptoms of it dying? Also run "smartctl -l error /dev/daX" on it.
-
rwp
In 10 days it has had 70TB of data written to it? That's quite a busy amount of data.
-
Letiute
rwp Percentage Used: 9% in 2 weeks
-
rwp
I don't know your application but perhaps setting up and using a ram based file system would be useful? It all depends upon the details though.
-
rwp
I might also investigate extending the dirty cache sync time. Allow more time for cached data to remain unwritten. Maybe. I don't know.
-
Letiute
if I run 1000 concurrent browsers (headless), the write in /tmp dir which is on drive. maybe thats how 70TB was written in 10 days? + a postgresql server with 2 queries concurrent.
-
rwp
-
VimDiesel
Title: Chapter 19. Storage | FreeBSD Documentation Portal
-
rwp
Re: "1000 concurrent browsers" rather makes my head spin with the task of it. What is the need for such a monstrous farm of browser?
-
Letiute
rwp ok but that does not tells how to use it as /tmp
-
rwp
I am sure if you search around you will find various helpful articles about it. I searched and quickly found some. Here is one. I haven't read it.
tech.poojanblog.com/blog/unix-linux…bsd-tmp-and-var-on-a-memory-disk-md
-
VimDiesel
Title: Poojan's Tech Blog / Putting freebsd /tmp and /var on a memory disk (md)
-
Letiute
is there a service to activate tmpfs that would be used insetad of /tmp dir?
-
rwp
If it were me I would put those into a jail container and then use the memory disk /tmp in the jail. So as to keep those contained.
-
Letiute
rwp can this commadn simply will turn /tmp from disk to ram? `tmpfs /tmp tmpfs rw,mode=777 0 ` ref:
wiki.freebsd.org/TMPFS
-
VimDiesel
Title: TMPFS - FreeBSD Wiki
-
Letiute
`mount` says `zroot/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls)` and `tmpfs on /tmp (tmpfs, local)`. Is that the verification that all the files in /tmp drive based are not in /tmp ram based?
-
Letiute
what other places should be in tmpfs? /tmp /var ? any other?
-
gman999
use tmpfs for /var?
-
doug713705[m]
Is there any any difficulties / maintenance on mirrors ? I have a really hard time installing packages (download is very slow, all other network activity is as usual)
-
gman999
which mirror are you hitting?
-
doug713705[m]
I'm pretty new on freebsd so I can't tell but I guess 'the default mirror'
-
doug713705[m]
ServerName update.FreeBSD.org
-
yuripv
is it about packages or freebsd-update?
-
gman999
right.. then it should say which
-
gman999
right
-
doug713705[m]
pkg.FreeBSD.org in /etc/pkg/FreeBSD.conf
-
yuripv
do a `host pkg.freebsd.org` (or open in a browser), it should show the mirror name
-
doug713705[m]
about package, sorry for the confusion
-
doug713705[m]
pkgmir.geo.freebsd.org
-
gman999
and what's the IP?
-
gman999
or ptr?
-
doug713705[m]
ah, found it: pkg0.syd.FreeBSD.org
-
doug713705[m]
(australia)
-
doug713705[m]
hmmm... It may be my ISP....
-
gman999
my 25 hop traceroute to their seems okay..
-
gman999
er, zayo.com
-
doug713705[m]
there is a maintenance window today (in fact I work for my ISP and there is a maintenance today at our collect provider... should be it)
-
doug713705[m]
thanks
-
gman999
:)
-
gman999
cool
-
Letiute
gman999 why use tmpfs in /var? is it like /tmp?
-
gman999
no.. you shouldnt
-
gman999
i was asking, not saying you should
-
Letiute
i see
-
gman999
using tmpfs depends on context
-
Letiute
what other directories to put in tmpfs? is the /tmp dir the only temporary/most written files dir?
-
gman999
why are you using tmpfs to begin with?
-
» Letiute wants to save his disk io
-
Letiute
heavy read/writes.
-
gman999
so not an ssd?
-
gman999
i mean, wtih cf cards, etc i used a lot of tmpfs
-
gman999
in the past
-
gman999
/var/log can make sense
-
gman999
but i say "can"... not that you necesarily should
-
Letiute
yes, /var/log
-
Letiute
anyother?
-
gman999
that's prob more than enough
-
gman999
but it will impact write speed and again, anything in those mounts will disappear with reboots
-
gman999
and you have to make sure you mount then correctly
-
Letiute
gman999 ok
-
Letiute
how to see which files are taking most disk i/o?
-
gman999
iostat
-
Letiute
ok
-
gman999
iostat(8) to be specific
-
gman999
have fun.
-
Letiute
cannot trace exact files and data written by them
-
V_PauAmma_V
I would definitely *not* want /var/log to vanish on reboot.
-
Letiute
ya.
-
Letiute
but have to handle the huge io
-
V_PauAmma_V
I'd start by figuring out which files get a lot of IO, and what they're used for. The latter requires application-specific knowledge.
-
debdrup
the answer is top -m io and fstat/lsof
-
Letiute
ya but can't find a tool that tells me file paths
-
debdrup
i just mentioned it to you less than ten minutes ago
-
Kalten
`top -m io` is cool ;)
-
Letiute
yes but didn't gave "file paths". I think fstat does
-
Kalten
`truss /program` too
-
Kalten
sysutils/dtrace-toolkit and truss from there is said to be better than truss
-
Kalten
called `ptruss /myprogramm`
-
debdrup
dtruss
-
meena
Kalten: i wie just straight up recommend dtruss instead of truss
-
debdrup
same
-
meena
it does the same thing but in dtrace, which means you're observing from the kernel, instead of from userspace
-
Kalten
sorry, yes, `dtruss` not “p”.
-
meena
it's like looking at something as god vs Heisenberg ;)
-
debdrup
i mean, truss uses ptrace..
-
Letiute
lsof too debdrup thanks
-
debdrup
the main advantage of dtrace is that it takes almost no system resources even on heavily loaded production systems, which ptrace can on busy production systems
-
Letiute
wondering how to arrange these things to see most frequent / heaviest io thing
-
debdrup
that'll have to be an excercise for the reader
-
meena
right, not quite the same as strace
-
debdrup
truss and dtruss produce strace-compatible output
-
debdrup
the BSD-native way of tracing is utrace and ktrace, respectively
-
debdrup
truss is good if you're interacting with people who develop software on other unix-likes that're closer to SysV than the BSDs are
-
debdrup
s/^/d/
-
meena
I've known d/truss from Solaris. don't remember what we had on AIX, because i only had the joy of working in an AIX shop for two weeks before i decided to quit for my own sanity
-
meena
(this has nothing to do with AIX and everything to do with the company)
-
debdrup
Wait, Solaris/Illumos doesn't use strace?
-
meena
you can probably install it?
-
debdrup
strace is the thing from SysV that that all its descendents have
-
meena
illumos.org/man/1/truss no mention of strace in see also
-
VimDiesel
Title: illumos: manual page: truss.1
-
debdrup
-
VimDiesel
Title: illumos: manual page: strace.8
-
debdrup
no HISTORY subheader though
-
meena
that doesn't look like it does what truss does
-
debdrup
huh, you're right
-
debdrup
well i don't know anything anymore, apparently
-
meena
I have worked for four years on Solaris, and I did a performers tuning course with a supposed kernel hacker. so i have retained some… things
-
debdrup
the tuhs utree doesn't haev the source to check sysv :/
-
meena
but overall i was just mostly in awe with how solid the kernel felt compared to Linux. oh, and the documentation
-
debdrup
-
debdrup
dspinellis' repo might have it..
-
debdrup
nope
-
meena
-
debdrup
i guess SCO are still sitting on it
-
debdrup
it's some bs is what it is :V
-
meena
I'm trying to imagine what sick minds thought that's a good combination
-
debdrup
-
VimDiesel
Title: BS(1)
-
debdrup
mandoc is nice :)
-
debdrup
the first part of the paragraph in the description subheader is... quite cursed
-
meena
yupp
-
meena
I wonder how that mandoc project for man.freebsd.org is coming along
-
» debdrup can't remember