Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
it is 128MB RAM and 256MB with burst. But after each command i see fork error. Can you please help to discover where the issue lies and how i can remove this error without upgrading RAM which seems to be alot of free? Thank You
I was adviced to check bean counters because im hitting some of the limits there:
cat /proc/user_beancounters
If yes, if there are fail counts (failcnt), then i need to ask my VPS provider to raise that limit.
Yes, and also, there are only a very-few "official" return codes from fork. It is not entirely consistent how they are used, especially when (as in this case) an external throttling mechanism is being used. It could be argued that [EAGAIN] should have been returned, but you have no control over which one did get returned.
You should also keep in mind that it may or may not be bean_counters that is supplying the limit. There are several limiters out there, and this particular one has been "superseded" although this of course does not mean that it is no longer found to be in-service somewhere.
Yes, and also, there are only a very-few "official" return codes from fork. It is not entirely consistent how they are used, especially when (as in this case) an external throttling mechanism is being used. It could be argued that [EAGAIN] should have been returned, but you have no control over which one did get returned.
You should also keep in mind that it may or may not be bean_counters that is supplying the limit. There are several limiters out there, and this particular one has been "superseded" although this of course does not mean that it is no longer found to be in-service somewhere.
And the OP can also go back and check the OTHER three threads (going back to 2014), where "fork" is mentioned, and advice was given?
Might check the contents of the bashrc file in use... I suspect this is a message being generated during the creation of the input prompt string.
I'm basing that on the sequence operations shown - the first prompt string looks normal (but were there any errors immediately before that?). The command itself worked just fine - which shows that fork/exec sequence is having no problems. THEN the error messages are shown. To me, that would imply that during the formatting of the PS1 string things get a bit bogus.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.