Can I cross compile it to aarch64 without too much complication?

|
Spektrum_light 2022-09-27 20:49:03
I have a PKGBUILD. can I cross compile it to aarch64 without too much complication?
ChrisCromer 2022-09-27 21:13:11
Spektrum_light 2022-09-27 20:49:03
I have a PKGBUILD. can I cross compile it to aarch64 without too much complication?

If you have the toolchains installed and configured correctly, yes.

Spektrum_light 2022-09-27 21:14:46
ChrisCromer 2022-09-27 21:13:11
If you have the toolchains installed and configured correctly, yes.

tl;dr?

ChrisCromer 2022-09-27 21:17:06
Spektrum_light 2022-09-27 21:14:46
tl;dr?

https://unix.stackexchange.com/questions/80833/cross-compiling-with-makepkg-command

Cross-Compiling with makepkg commandUnix & Linux Stack Exchange
I’m running a x86_64 Arch Linux, now I need to build packages for a i386 Arch Linux,

Is that possible? I already checked makepkg (8), it doesn’t seem to support manually selection of package

lordV 2022-09-27 21:31:00
WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 45 idle, and 144 total childre

I have some php-fpm errors like that.. the message is clear but the question is.. spawning 8 children but 45 idle.. and 144 total..
if 45 are idle then why its a suggestion to increase?
any idea?

Glats 2022-09-27 21:39:46
stop using php
Yohajdg627299 2022-09-27 21:48:41
I have a question about epiphany browser.

I see bwrab WebKit processes, but epiphany self isnt sandboxed.

Is this enough?

qontinuum 2022-09-27 21:57:50
UnicornBl00d 2022-09-27 20:21:44
never used it tbh

Never used Alpine?

qontinuum 2022-09-27 21:59:28
lordV 2022-09-27 21:31:00
WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 45 idle, and 144 total childre

I have some php-fpm errors like that.. the message is clear but the question is.. spawning 8 children but 45 idle.. and 144 total..
if 45 are idle then why its a suggestion to increase?
any idea?

I think it spawns 8 children on startup and you currently have 144 children 45 of them being idle

lordV 2022-09-27 22:01:00
qontinuum 2022-09-27 21:59:28
I think it spawns 8 children on startup and you currently have 144 children 45 of them being idle

pm.max_children = 1500
pm.start_servers = 100
pm.min_spare_servers = 50
pm.max_spare_servers = 100
pm.max_requests = 200

lordV 2022-09-27 22:01:08
that does not fit with the config..
lordV 2022-09-27 22:01:32
i think max spare servers is not correct
lordV 2022-09-27 22:11:18
Processes active: 13, idle: 91, Requests: 53991847, slow: 0, Traffic: 32req/sec
lordV 2022-09-27 22:11:20
thats interesting too
lordV 2022-09-27 22:11:33
lets see.. i changed a little bit on the configs..
qontinuum 2022-09-27 22:14:52
lordV 2022-09-27 22:01:08
that does not fit with the config..

Then it makes as much sense as the language itself

lordV 2022-09-27 22:17:24
hahahahaha
Drogobo1 2022-09-27 23:01:03
arch/artix/parabola
Senderman 2022-09-27 23:15:23
Drogobo1 2022-09-27 23:01:03
arch/artix/parabola

stop/saying/random shit

lordV 2022-09-27 23:24:05
is there any way to avoid transferring “files-still-being-written” when using rsync?
lordV 2022-09-27 23:24:56
i found
find . -type f -exec sh -c ‘if ! lsof `readlink -f {}` > /dev/null; then echo `basename {}`; fi’ ; | tr ‘n’ ” | rsync -avz –from0 –files-from=- ./ user@host:destination/
but thats not very nice
qontinuum 2022-09-27 23:31:51
Just write your stuff in temporary dir or append an extension that you will exclude
lordV 2022-09-27 23:36:47
i rsync a whole server..
lordV 2022-09-27 23:37:16
every 15 minutes.. and when i do a mysql dump .. (which needs longer) .. then rsync will transfer 3GB sql file 2-3 times?
lordV 2022-09-27 23:37:40
building redundant systems is really a mess
lordV 2022-09-27 23:38:15
there is not really a best solution.. every solution has a weak point
qontinuum 2022-09-27 23:38:47
You mean you are creating a cluster by replicating stuff through rsync?
lordV 2022-09-27 23:39:02
i think i need to make another script which performs mysqldump over ssh and once its ready.. i transfer it..
and exclude it from the rsync
lordV 2022-09-27 23:39:55
qontinuum 2022-09-27 23:38:47
You mean you are creating a cluster by replicating stuff through rsync?

i simply mirror a server (nginx, php, mysql, www-files) after it i use sed to change ip addresses and reload the configs

Glats 2022-09-27 23:40:03
better quit your job
lordV 2022-09-27 23:40:35
beside this i run another script that checks every 2-3 minutes if the server is down – if its down 3 times -> change ip on cloudflare
lordV 2022-09-27 23:41:00
i know the solution is not the best..
qontinuum 2022-09-27 23:41:04
Ever heard about quiescent backups?
lordV 2022-09-27 23:41:23
qontinuum 2022-09-27 23:41:04
Ever heard about quiescent backups?

yes now, from you 😃

lordV 2022-09-27 23:41:31
but no .. never before
|