-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I launch several instances of Firefox using different profiles: firefox -P normal & firefox -P Amazon & firefox -P Small & firefox -P Extra & The 4th one fails, no matter the order. cer@Telcontar:~> firefox -P AmazonSearch --no-remote & [2] 20089 cer@Telcontar:~> [Parent 20089, IPC Launch] WARNING: fork() failed: Resource temporarily unavailable: file /home/abuild/rpmbuild/BUILD/firefox-102.3.0/ipc/chromium/src/base/process_util_linux.cc:274 [Parent 20089, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /home/abuild/rpmbuild/BUILD/firefox-102.3.0/ipc/glue/GeckoChildProcessHost.cpp:759 Exiting due to channel error. [2]+ Exit 11 firefox -P AmazonSearch --no-remote cer@Telcontar:~> My 32 gigs of ram are far from exhausted. Is this known? Intentional or bug? - -- Cheers Carlos E. R. (from 15.3 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCYzQLxhwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVxL8An1pMe/w4Cua38XBNFLeH 40RfwzWxAJ9G9aeGjFxHC6sSxyf2D5y6zOshlg== =HHKn -----END PGP SIGNATURE-----
Am 28.09.22 um 10:54 schrieb Carlos E. R.:
Hi,
I launch several instances of Firefox using different profiles:
firefox -P normal &
firefox -P Amazon &
firefox -P Small &
firefox -P Extra &
The 4th one fails, no matter the order.
I can start 4 instances, no problem. I only have to hit enter cause of these error messages to be able to continue karl@dharma:~> firefox -P normal & [1] 15164 karl@dharma:~> firefox -P Amazon & [2] 15483 karl@dharma:~> ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost [2]+ Fertig firefox -P Amazon karl@dharma:~> firefox -P Small & [2] 15602 karl@dharma:~> ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost [2]+ Fertig firefox -P Small karl@dharma:~> firefox -P Extra & [2] 15724
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I launch several instances of Firefox using different profiles:
firefox -P normal & firefox -P Amazon & firefox -P Small & firefox -P Extra &
The 4th one fails, no matter the order.
cer@Telcontar:~> firefox -P AmazonSearch --no-remote & [2] 20089 cer@Telcontar:~> [Parent 20089, IPC Launch] WARNING: fork() failed: Resource temporarily unavailable: file /home/abuild/rpmbuild/BUILD/firefox-102.3.0/ipc/chromium/src/base/process_util_linux.cc:274 [Parent 20089, IPC I/O Parent] WARNING: Failed to launch tab [subprocess: file
[/home/abuild/rpmbuild/BUILD/firefox-102.3.0/ipc/glue/GeckoChildProcessHost.cpp:759
Exiting due to channel error.
[2]+ Exit 11 firefox -P AmazonSearch --no-remote cer@Telcontar:~>
My 32 gigs of ram are far from exhausted.
Is this known? Intentional or bug?
It sounds like you're having too many processes, although the default max per user is 32000 (or thereabouts). It might also be the number open file descriptors, judging by the mention of 'file' above. Not sure how to interpret that. You could try upping the max number of open file descriptors, with "ulimit -n" -- Per Jessen, Zürich (12.0°C)
On 2022-09-28 11:38, Karl Sinn wrote:
Am 28.09.22 um 10:54 schrieb Carlos E. R.:
Hi,
I launch several instances of Firefox using different profiles:
firefox -P normal &
firefox -P Amazon &
firefox -P Small &
firefox -P Extra &
The 4th one fails, no matter the order.
I can start 4 instances, no problem. I only have to hit enter cause of these error messages to be able to continue
karl@dharma:~> firefox -P normal &
Notice that you previously need to create a profile named "normal" or whatever. grep "Name=" .mozilla/firefox/profiles.ini -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)
On 2022-09-28 11:42, Per Jessen wrote:
Carlos E. R. wrote:
cer@Telcontar:~> firefox -P AmazonSearch --no-remote & [2] 20089 cer@Telcontar:~> [Parent 20089, IPC Launch] WARNING: fork() failed: Resource temporarily unavailable: file /home/abuild/rpmbuild/BUILD/firefox-102.3.0/ipc/chromium/src/base/process_util_linux.cc:274 [Parent 20089, IPC I/O Parent] WARNING: Failed to launch tab [subprocess: file
[/home/abuild/rpmbuild/BUILD/firefox-102.3.0/ipc/glue/GeckoChildProcessHost.cpp:759
Exiting due to channel error.
[2]+ Exit 11 firefox -P AmazonSearch --no-remote cer@Telcontar:~>
My 32 gigs of ram are far from exhausted.
Is this known? Intentional or bug?
It sounds like you're having too many processes, although the default max per user is 32000 (or thereabouts). It might also be the number open file descriptors, judging by the mention of 'file' above. Not sure how to interpret that.
You could try upping the max number of open file descriptors, with "ulimit -n"
It seems I have no problem opening up processes, as long as they are not Firefox. ulimit -n 1024 You are right, I increased the value to 2048 and opened a fourth instance with no problem. Hum! I have forgotten that. -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)
Am 28.09.22 um 11:44 schrieb Carlos E. R.:
On 2022-09-28 11:38, Karl Sinn wrote:
Am 28.09.22 um 10:54 schrieb Carlos E. R.:
Hi,
I launch several instances of Firefox using different profiles:
firefox -P normal &
firefox -P Amazon &
firefox -P Small &
firefox -P Extra &
The 4th one fails, no matter the order.
I can start 4 instances, no problem. I only have to hit enter cause of these error messages to be able to continue
karl@dharma:~> firefox -P normal &
Notice that you previously need to create a profile named "normal" or whatever.
grep "Name=" .mozilla/firefox/profiles.ini
I know, firefox asked me every time if he should open with the default profile as he didn't recognize your names, but just clicking on "open" opened all 4 instances just fine.
On 2022-09-28 12:03, Karl Sinn wrote:
Am 28.09.22 um 11:44 schrieb Carlos E. R.:
On 2022-09-28 11:38, Karl Sinn wrote:
Am 28.09.22 um 10:54 schrieb Carlos E. R.:
Hi,
I launch several instances of Firefox using different profiles:
firefox -P normal &
firefox -P Amazon &
firefox -P Small &
firefox -P Extra &
The 4th one fails, no matter the order.
I can start 4 instances, no problem. I only have to hit enter cause of these error messages to be able to continue
karl@dharma:~> firefox -P normal &
Notice that you previously need to create a profile named "normal" or whatever.
grep "Name=" .mozilla/firefox/profiles.ini
I know, firefox asked me every time if he should open with the default profile as he didn't recognize your names, but just clicking on "open" opened all 4 instances just fine.
No, it opens another window of your default profile. Anyway, Per found the problem. -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)
On Wed, 28 Sep 2022 11:38:32 +0200 Karl Sinn <news@budostore.de> wrote:
Am 28.09.22 um 10:54 schrieb Carlos E. R.:
Hi,
I launch several instances of Firefox using different profiles:
firefox -P normal &
firefox -P Amazon &
firefox -P Small &
firefox -P Extra &
The 4th one fails, no matter the order.
I can start 4 instances, no problem. I only have to hit enter cause of these error messages to be able to continue
karl@dharma:~> firefox -P normal & [1] 15164 karl@dharma:~> firefox -P Amazon & [2] 15483 karl@dharma:~> ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[2]+ Fertig firefox -P Amazon karl@dharma:~> firefox -P Small & [2] 15602 karl@dharma:~> ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[2]+ Fertig firefox -P Small karl@dharma:~> firefox -P Extra & [2] 15724
Err, but you only have two instances running at the end :) Carlos needs/wants four!
On 2022-09-28 11:50, Carlos E. R. wrote:
On 2022-09-28 11:42, Per Jessen wrote:
Carlos E. R. wrote:
You could try upping the max number of open file descriptors, with "ulimit -n"
It seems I have no problem opening up processes, as long as they are not Firefox.
ulimit -n 1024
You are right, I increased the value to 2048 and opened a fourth instance with no problem. Hum!
I have forgotten that.
Do you know where is the correct place to set this up for my user or globally? I have "/etc/profile" so far. There is also "/etc/sysconfig/ulimit", but not for this particular limit -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2022-09-28 at 14:11 +0200, Carlos E. R. wrote:
On 2022-09-28 11:50, Carlos E. R. wrote:
On 2022-09-28 11:42, Per Jessen wrote:
Carlos E. R. wrote:
You could try upping the max number of open file descriptors, with "ulimit -n"
It seems I have no problem opening up processes, as long as they are not Firefox.
ulimit -n 1024
You are right, I increased the value to 2048 and opened a fourth instance with no problem. Hum!
I have forgotten that.
Do you know where is the correct place to set this up for my user or globally?
I have "/etc/profile" so far.
There is also "/etc/sysconfig/ulimit", but not for this particular limit
Found it. I had forgotten I changed that file about two years ago, also because of FF. /etc/security/limits.conf: ... #cer needs more, FF starts hundreds of threads. cer hard nproc 6000 cer soft nproc 4096 root hard nproc 3000 root soft nproc 1850 # 2022-09-28, number of files. With default 1024 I can only open 3 firefox instances. cer soft nofile 2048 cer hard nofile 2048 Aside. Fortune greeted me with this: Telcontar login: cer Password: Last login: Mon Sep 26 18:04:20 CEST 2022 on tty2 No mail. Last login: Wed Sep 28 20:52:02 on tty1 Have a lot of fun... <sel> need help: my first packet to my provider gets lost :-( <netgod> sel: don't send the first one, start with #2 * netgod is kidding cer@Telcontar:~> - ----- - -- Cheers, Carlos E. R. (from openSUSE 15.3 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCYzSZFhwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVigMAnRyvbJJMjMUw21mMCfN9 Sf8lG65jAJ0ZXiCveLypJOVMfIgJfMVpZ4hvPQ== =DRny -----END PGP SIGNATURE-----
participants (4)
-
Carlos E. R.
-
Dave Howorth
-
Karl Sinn
-
Per Jessen