GentooThis forum is for the discussion of Gentoo Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Code:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.