LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-06-2014, 05:56 PM   #1
chf2117
LQ Newbie
 
Registered: Dec 2014
Distribution: Debian Wheezy
Posts: 4

Rep: Reputation: Disabled
[solved] Terminal stops working with too many Chrome tabs


If I've got a few Chrome tabs open and try to do anything in terminal I get this message:

bash: fork: retry: No child processes
bash: fork: retry: No child processes
bash: fork: retry: No child processes
bash: fork: retry: No child processes
bash: fork: Resource temporarily unavailable



top returns this:
3125 root 20 0 180m 21m 7380 S 8.3 0.1 87:17.63 Xorg
3932 caleb-us 20 0 1429m 398m 70m S 5.3 2.5 146:33.89 chrome
3677 caleb-us 20 0 1224m 188m 59m S 5.0 1.2 63:09.88 gnome-shell
20272 caleb-us 20 0 733m 84m 39m S 3.7 0.5 0:16.57 chrome
20378 root 20 0 370m 15m 10m S 2.0 0.1 0:00.32 gnome-terminal
19725 root 20 0 0 0 0 S 0.3 0.0 0:00.29 kworker/2:0
19927 caleb-us 20 0 378m 16m 11m S 0.3 0.1 0:01.93 gnome-terminal
20397 root 20 0 23308 1700 1192 R 0.3 0.0 0:00.02 top
1 root 20 0 10652 816 676 S 0.0 0.0 0:02.82 init

Any ideas on how to fix this? Thanks!


Edit: Solution I found was just switch to Chromium

Last edited by chf2117; 12-10-2014 at 01:16 PM. Reason: marking as solved and adding solution
 
Old 12-07-2014, 12:27 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Can you tell us what exactly you typed into the terminal to get the response you show above. That might help in diagnosing the problem. Are you saying that if you type the same command in the terminal without Chrome being open then the command works normally?
jdk
 
Old 12-07-2014, 01:11 PM   #3
chf2117
LQ Newbie
 
Registered: Dec 2014
Distribution: Debian Wheezy
Posts: 4

Original Poster
Rep: Reputation: Disabled
Any command results in the same message and when I close Chrome terminal starts working again.
 
Old 12-07-2014, 01:53 PM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
We are talking about the web browser "Google Chrome", yes?
Quote:
If I've got a few Chrome tabs open and try to do anything in terminal I get this message:
Are you saying that if you have Chrome open with only one tab then the terminal works normally but if you open a second tab then the terminal stops working? And which terminal are you using? gnome-terminal? konsole? something else?
jdk
 
Old 12-07-2014, 02:02 PM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
In addition to answering jdkaye's questions - which I have wondered about myself, What are your general system parameters: CPU, RAM, OS version.

Assuming there are no alarms set of by your answers to the above, it is possible that you may have a failing memory problem which just happens to be triggered by the chrome instances, so it might help if you could run memtest for a few hours.
 
Old 12-07-2014, 02:31 PM   #6
chf2117
LQ Newbie
 
Registered: Dec 2014
Distribution: Debian Wheezy
Posts: 4

Original Poster
Rep: Reputation: Disabled
I'm using gnome-terminal, I can open root terminal and it works fine. The number of tabs is inconsistent, it's usually around 4 that I have the problem, but it's happened with only two tabs.

CPU: 7 Processors Model: Intel(R) Core(TM) i7-3840QM CPU @ 2.80GHz

RAM: 4.2G used, 11G free

OS: Debian wheezy amd64

Will run memtester and respond with results.

I'm a bit new at this, so if any of these answers were not what you are looking for, please let me know. Thanks!
 
Old 12-07-2014, 03:54 PM   #7
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by chf2117 View Post
I'm using gnome-terminal, I can open root terminal and it works fine. The number of tabs is inconsistent, it's usually around 4 that I have the problem, but it's happened with only two tabs.

CPU: 7 Processors Model: Intel(R) Core(TM) i7-3840QM CPU @ 2.80GHz

RAM: 4.2G used, 11G free

OS: Debian wheezy amd64

Will run memtester and respond with results.

I'm a bit new at this, so if any of these answers were not what you are looking for, please let me know. Thanks!
Certainly your hardware is not marginal in any sense.

I am not a Debian or gnome-shell/gnome-terminal user so will have to defer to others for things specific to them - although I can't imagine it being config related ("Number of chrome tabs before shell crashes, default=4")

It would be helpful to know if chrome was installed from the official repos or some other method. Has the OS been updated lately, and if so was it possibly interrupted or from some untrusted repo?

Unless you have a corrupted installation or filesystem I would look closely at the memtest as my first suspect.
 
Old 12-10-2014, 12:55 PM   #8
chf2117
LQ Newbie
 
Registered: Dec 2014
Distribution: Debian Wheezy
Posts: 4

Original Poster
Rep: Reputation: Disabled
I tried memtester with 512MB as the test size and ran it for two hours. It said everything was ok.

If I recall correctly, I just ran apt-get install chrome-stable, but I might have downloaded the .deb from Google and tried to manually install it and then forgotten about it.

I found out about Chromium and tried that and it doesn't seem to be causing the same problems, so I'll just stick with that.

Right before I found that fix I noticed that even without a valid command, the response would still pop up. E.g.:

Quote:
$ blah
bash: fork: retry: No child processes
bash: fork: retry: No child processes
bash: fork: retry: No child processes
bash: fork: retry: No child processes
bash: fork: Resource temporarily unavailable

Last edited by chf2117; 12-10-2014 at 01:17 PM.
 
Old 12-14-2014, 04:58 PM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Everything that I looked at refer to ulimit when I use this as search
Quote:
bash: fork: retry: No child processes
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening Tabs pages on the Task bar on Chrome? ivtec Linux - Software 3 09-29-2013 09:37 AM
LXer: Firefox 4: Get Tabs In The Title Bar (Like Chrome) LXer Syndicated Linux News 0 03-07-2011 05:30 PM
Google Chrome - tabs order Mr. Alex Linux - Software 2 07-13-2010 01:52 AM
[SOLVED] Make Google Chrome Remember Tabs? worm5252 Linux - Software 1 02-24-2010 10:21 AM
Need help! Prism2 wireless card stops working, floods terminal with errors Electrode Linux - Wireless Networking 6 02-05-2003 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration