Re: [gentoo-user] Portage load control

2023-05-11 Thread Michael Cook
On 5/11/23 23:23, Eldon wrote: On Thu, May 11, 2023 at 11:07:04PM +0100, Peter Humphrey wrote: Once again, --load-average is being ignored. Why is it there? Surely, it must be to mitigate the worst effects of that N*K, but it isn't doing so. Take all of the following with a grain of salt and

Re: [gentoo-user] Apache and systemd problem

2023-05-11 Thread Alexandru N. Barloiu
first of all, gentoo does install with a service file: [root@noela:~]# equery f apache | grep systemd | grep service /lib/systemd/system/apache2.service also, I feel the way apache works is indifferent to distro or os. i mean, it makes very little difference as far as apache goes if you have

Re: [gentoo-user] Portage load control

2023-05-11 Thread Jack
On 5/11/23 18:07, Peter Humphrey wrote: On Thursday, 11 May 2023 17:18:17 BST Mark Knecht wrote: I'm sure you get this but I'm pointing toward the EMERGE_DEFAULT_OPTS portage variable which, according to it's page that "defines entries to be appended to the emerge command line." I suspect they

Re: [gentoo-user] Portage load control

2023-05-11 Thread Mark Knecht
On Thu, May 11, 2023 at 3:07 PM Peter Humphrey wrote: > > On Thursday, 11 May 2023 17:18:17 BST Mark Knecht wrote: > > The ''problem' is this can easily hit 100% of the cores you have in the > > machine if not sensibly set. (You choose what's 'sensible') > > Once again, --load-average is being

Re: [gentoo-user] Portage load control

2023-05-11 Thread Peter Humphrey
On Thursday, 11 May 2023 17:18:17 BST Mark Knecht wrote: > I'm sure you get this but I'm pointing toward the EMERGE_DEFAULT_OPTS > portage variable which, according to it's page that "defines entries to be > appended to the emerge command line." I suspect they are appended, but > that doesn't

Re: [gentoo-user] using Wifi in a new machine

2023-05-11 Thread Philip Webb
230511 Michael wrote: > On Thursday, 11 May 2023 15:01:51 BST Philip Webb wrote: >> There is another related question : is there a way >> to make both connections simultaneously & switch between them ? > If you configure them both in /etc/conf.d/net with different priorities, both > will come up

Re: [gentoo-user] using Wifi in a new machine

2023-05-11 Thread Michael
On Thursday, 11 May 2023 15:01:51 BST Philip Webb wrote: > Thanks for both replies. 5 min after I sent my request last night, > I realised that I sb able to access Wifi thro'out installation > simply via the System Rescue connection, which finds the service easily > & needs only the password to

Re: [gentoo-user] Apache and systemd problem

2023-05-11 Thread Michael
On Thursday, 11 May 2023 17:17:27 BST Jacques Montier wrote: > I don't find any "LogLevel info" in /etc/apache2/httpd.conf > /var/log/apache2/error_log is empty. > > Jacques Please take a look here to see what the httpd.conf should look like and if there is no LogLevel directive add it

Re: [gentoo-user] Portage load control

2023-05-11 Thread Mark Knecht
On Thu, May 11, 2023 at 9:03 AM Peter Humphrey wrote: > > On Thursday, 11 May 2023 15:58:20 BST Mark Knecht wrote: > > Going further, this page states: > > > > "The load average value is the same as displayed by top or uptime, and for > > an N-core system, a load average of N.0 would be a 100%

Re: [gentoo-user] Apache and systemd problem

2023-05-11 Thread Jacques Montier
> > > - /var/log/apache2 and /etc/apache2/httpd.conf are in the right place > > Check ownership of files in /var/log/apache2/ > > Apache will need to be able to write to them. > > Apache ownership of apache:apache Inside apache2, root:root and the files are empty. I changed the ownership of the

Re: [gentoo-user] Portage load control

2023-05-11 Thread Peter Humphrey
On Thursday, 11 May 2023 15:58:20 BST Mark Knecht wrote: > Going further, this page states: > > "The load average value is the same as displayed by top or uptime, and for > an N-core system, a load average of N.0 would be a 100% load. Another rule > of thumb here is to set X.Y=N*0.9 which will

Re: [gentoo-user] Portage load control

2023-05-11 Thread Peter Humphrey
On Thursday, 11 May 2023 14:45:26 BST Mark Knecht wrote: > OK, this is a bit of a weird thing for me to ask you to try but this page > on emerge: > > https://wiki.gentoo.org/wiki/EMERGE_DEFAULT_OPTS > > says pretty clearly that "--load-average X.Y" should be a floating point > number so try it

Re: [gentoo-user] Portage load control

2023-05-11 Thread Mark Knecht
Going further, this page states: "The load average value is the same as displayed by top or uptime, and for an N-core system, a load average of N.0 would be a 100% load. Another rule of thumb here is to set X.Y=N*0.9 which will limit the load to 90%, thus maintaining system responsiveness." So,

Re: [gentoo-user] Apache and systemd problem

2023-05-11 Thread Michael
On Thursday, 11 May 2023 15:07:09 BST Jacques Montier wrote: > Thank you Michael for your response. > > - no error during compilation and installation OK > - /var/log/apache2 and /etc/apache2/httpd.conf are in the right place Check ownership of files in /var/log/apache2/ Apache will need to

Re: [gentoo-user] Apache and systemd problem

2023-05-11 Thread Jacques Montier
Thank you Michael for your response. - no error during compilation and installation - /var/log/apache2 and /etc/apache2/httpd.conf are in the right place - by default in httpd.conf: User apache Group apache - User and group for /var/www -> apache:apache - /usr/bin/apache2ctl configtest returns

Re: [gentoo-user] using Wifi in a new machine

2023-05-11 Thread Philip Webb
Thanks for both replies. 5 min after I sent my request last night, I realised that I sb able to access Wifi thro'out installation simply via the System Rescue connection, which finds the service easily & needs only the password to finish the job. I do have a landline via DHCP, but Wifi here is

Re: [gentoo-user] Portage load control

2023-05-11 Thread Mark Knecht
On Thu, May 11, 2023 at 6:34 AM Peter Humphrey wrote: > > On Monday, 8 May 2023 11:20:45 BST Neil Bothwick wrote: > > > Maybe you should take this to bgo where it can be flagged for the portage > > devs to look at, just keep us posted on the outcome. > > So far, I've just been asked whether I

Re: [gentoo-user] Portage load control

2023-05-11 Thread Peter Humphrey
On Monday, 8 May 2023 11:20:45 BST Neil Bothwick wrote: > Maybe you should take this to bgo where it can be flagged for the portage > devs to look at, just keep us posted on the outcome. So far, I've just been asked whether I expected something different, to which I replied "Why is

Re: [gentoo-user] Apache and systemd problem

2023-05-11 Thread Michael
On Wednesday, 10 May 2023 19:58:50 BST Jacques Montier wrote: > Hello all, > > To learn a little bit about systemd, I recently installed a gentoo with > systemd profile. > After some fights, the OS is working, but it was a real mess !!! > Now I am struggling for launching apache2 daemon. > When

Re: [gentoo-user] using Wifi in a new machine

2023-05-11 Thread Michael
On Thursday, 11 May 2023 08:22:58 BST Neil Bothwick wrote: > On Wed, 10 May 2023 21:42:16 -0400, Philip Webb wrote: > > Can anyone explain how I can get Wifi working at this early point > > in the installation process ? > > There's an example of using WPA from the command line at > >

Re: [gentoo-user] using Wifi in a new machine

2023-05-11 Thread Neil Bothwick
On Wed, 10 May 2023 21:42:16 -0400, Philip Webb wrote: > Can anyone explain how I can get Wifi working at this early point > in the installation process ? There's an example of using WPA from the command line at https://nixos.org/manual/nixos/stable/#sec-installation-manual-networking -- Neil