GentooThis forum is for the discussion of Gentoo Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi there! I've finished a fresh install of Gentoo and have just finished up configuring and installing gnome. After jumping into my new fresh gui i tried to open up an app. When doing this i got the error
Failed to fork (Resource temporarily unavailable)
This happens to almost any app i try to open.
Logging in as root however has no such problems, everything is working fine. Any help would be appreciated. Thanks!
I was thinking that may be the problem. My swap is only 1G compared to my 6G of RAM. I was wondering if it was still relevant to have so much these days. But what makes me think that's not the problem is that the root user has none of these problems whatsoever.
I'll try to resize my swap an / partitions and give it a test but in the meantime any more suggestions would be much appreciated.
Also, why has this been moved to the gentoo forum? This is not a gentoo specific problem...
I haven't touched it at all since it's a fresh install. There is nothing set in it, just all the default comments. Is there something i can add to it? This sounds like we're heading more in the right direction since root doesn't have this problem at all. Thanks!
There's also the slight chance that your machine was compromised and there's a fork-bomb running in the background. Are you able to run top or htop? If so, look at the number of running processes and the cpu that's being used, report back if you see something unusual.
There is nothing in /etc/security/limits.d/, top shows nothing strange at all, and ulimit is unlimited.
However, i am finding it very hard to get this error when i'm not in a gui. If i log in as a user not in X there are no problems. I've tested this with nano and links since i assume they'd be the most likely to give me this error. Perhaps it's something within gnome. I'm going to emerge xfce now and see if the error occurs within that environment.
Just mucking around a bit more in xfce. I can open both firefox and banshee but not both at the same time. If i open one it works fine but when i try the other i get the failed to fork error. I can't run top when one is open since i get the failed to fork error when trying to open a terminal.
Great idea! I've done that and it seems that running out of resources is not the problem. I'm still getting the same error but the resources show only 0.1% cpu used, around 200,000K of memory and 0K of swap.