Re: bash: fork: Resource temporarily unavailable
Le Samedi 30 Juillet 2005 01:53, Ace Dahlmann a écrit : ps axf | wc -l 80 Klaus
Re: bash: fork: Resource temporarily unavailable
Hi! On Sat, 30 Jul 2005 10:56:49 +0200 Klaus Becker [EMAIL PROTECTED] wrote: ps axf | wc -l 80 Auch, wenn der Fehler auftaucht? LG, Ace -- () ASCII Ribbon Campaign - against HTML mail /\- against Microsoft attachments http://www.fsf.org/philosophy/no-word-attachments.html http://www.goldmark.org/netrants/no-word/attach.html pgpQ2gxVUfItG.pgp Description: PGP signature
Re: bash: fork: Resource temporarily unavailable
Hi! On Fri, 29 Jul 2005 20:18:08 +0200 Klaus Becker [EMAIL PROTECTED] wrote: koennte meinen das deine /etc/security/limits.conf zu restriktiv eingestellt ist. #limit user processes per user to 150 * softnproc 100 * hardnproc 150 Hat das höher setzen eigentlich was gebracht? Bei mir ist die Datei komplett kommentiert und findet daher offenbar keine Anwenung. LG, Ace -- () ASCII Ribbon Campaign - against HTML mail /\- against Microsoft attachments http://www.fsf.org/philosophy/no-word-attachments.html http://www.goldmark.org/netrants/no-word/attach.html pgpH1oDYSdjq8.pgp Description: PGP signature
Re: bash: fork: Resource temporarily unavailable
Le Samedi 30 Juillet 2005 17:09, Ace Dahlmann a écrit : Hi! On Sat, 30 Jul 2005 10:56:49 +0200 Klaus Becker [EMAIL PROTECTED] wrote: ps axf | wc -l 80 Auch, wenn der Fehler auftaucht? seit gestern Nachmittag ist der Fehler nicht mehr aufgetreten, obwohl ich nichts verändert habe. Abwarten tee trinken... Klaus
Re: bash: fork: Resource temporarily unavailable
Also sprach Ace Dahlmann [EMAIL PROTECTED] (Sat, 30 Jul 2005 17:13:16 +0200): Hi! On Fri, 29 Jul 2005 20:18:08 +0200 Klaus Becker [EMAIL PROTECTED] wrote: koennte meinen das deine /etc/security/limits.conf zu restriktiv eingestellt ist. #limit user processes per user to 150 * softnproc 100 * hardnproc 150 Hat das höher setzen eigentlich was gebracht? Bei mir ist die Datei komplett kommentiert und findet daher offenbar keine Anwenung. ich denke, dass es damit zu tun hat. per default hab ich hier keine eintraege und setze die eigentlich auch nur auf server. wenn nun 80 prozesse laufen (etwa 50-70 user?) und dann viele offene apps dazukommen hast' die 150 schnell erreicht, weil nicht wenige mehrere instanzen starten. ps aux | grep username | wc -l LG, Ace sl ritch
Re: bash: fork: Resource temporarily unavailable
Hi! On Sat, 30 Jul 2005 17:40:56 +0200 Richard Mittendorfer [EMAIL PROTECTED] wrote: wenn nun 80 prozesse laufen (etwa 50-70 user?) und dann viele offene apps dazukommen hast' die 150 schnell erreicht, weil nicht wenige mehrere instanzen starten. Jo, ich habe hier gerade auf den 10 Desktops so einiges auf und komme im Moment bereits auf 105. Und das sind jetzt nur die Sachen, die fast immer laufen; wenn ich jetzt anfangen würde, Webseiten zu schreiben und dazu noch ein paar Anwendungen wie Editoren, Web-Browser, Bildbearbeitungsprogramme und Co. öffne, kommt man bestimmt bald auf 150. LG, Ace -- () ASCII Ribbon Campaign - against HTML mail /\- against Microsoft attachments http://www.fsf.org/philosophy/no-word-attachments.html http://www.goldmark.org/netrants/no-word/attach.html pgpm6wjxd63Oz.pgp Description: PGP signature
Re: bash: fork: Resource temporarily unavailable
-- Message transmis -- Subject: Re: bash: fork: Resource temporarily unavailable Date: Samedi 30 Juillet 2005 17:40 From: Richard Mittendorfer [EMAIL PROTECTED] To: debian-user-german@lists.debian.org Also sprach Ace Dahlmann [EMAIL PROTECTED] (Sat, 30 Jul 2005 17:13:16 +0200): Hi! On Fri, 29 Jul 2005 20:18:08 +0200 Klaus Becker [EMAIL PROTECTED] wrote: koennte meinen das deine /etc/security/limits.conf zu restriktiv eingestellt ist. #limit user processes per user to 150 * softnproc 100 * hardnproc 150 Hat das höher setzen eigentlich was gebracht? Bei mir ist die Datei komplett kommentiert und findet daher offenbar keine Anwenung. ich denke, dass es damit zu tun hat. per default hab ich hier keine eintraege und setze die eigentlich auch nur auf server. wenn nun 80 prozesse laufen (etwa 50-70 user?) und dann viele offene apps dazukommen hast' die 150 schnell erreicht, weil nicht wenige mehrere instanzen starten. ps aux | grep username | wc -l ergibt im Moment bei mir 37 Klaus LG, Ace sl ritch ---
Re: bash: fork: Resource temporarily unavailable
Also sprach Klaus Becker [EMAIL PROTECTED] (Sat, 30 Jul 2005 18:08:24 +0200): ps aux | grep username | wc -l ergibt im Moment bei mir 37 16/40, hehe.. ;) hattest du viele apps offen als du den fehler bekommen hast? das fork ist so 'ne art clonen deiner bash und somit koennte das ausser mit den limits mit anderen resourcen wie speicher oder kernel zusammenhaengen. fuer 150 prozesse muss schon einiges laufen. mit den modernen grafischen oberflaechen kommt allerdings einiges per default mit. meine allround-server-kiste bringts trotz squid, adzapper, exiscan, clamav, apache, imap, nfs, ftp, samba, undundund gerade mal auf 102 (schnitt). das ganze aber nachdem ich etwa 50 unnoetige prozesse ausgemistet hab. kann sich natuerlich auch um ein fehlerhaftes teil handeln, das immer neue instanzen startet, die alten aber nicht abbricht. sollte es noch mal passieren, weisst du ja wo du nachsehen kannst. Klaus sl ritch -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
bash: fork: Resource temporarily unavailable
n'Abend, was bedeutet obige Meldung, die ich ab und zu unter Sarge und KDE 3.4.1 bekomme? Klaus -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: bash: fork: Resource temporarily unavailable
Hi! On Fri, 29 Jul 2005 19:44:53 +0200 Klaus Becker [EMAIL PROTECTED] wrote: was bedeutet obige Meldung, die ich ab und zu unter Sarge und KDE 3.4.1 bekomme? Bash kann keinen weiteren Prozess mehr öffnen, da die maximale Zahl bereits erreicht ist. Was laufen auf der Kiste denn für Dienste? Und unter welchem Kernel? LG, Ace -- () ASCII Ribbon Campaign - against HTML mail /\- against Microsoft attachments http://www.fsf.org/philosophy/no-word-attachments.html http://www.goldmark.org/netrants/no-word/attach.html pgpNw3l5e3BVD.pgp Description: PGP signature
Re: bash: fork: Resource temporarily unavailable
Also sprach Klaus Becker [EMAIL PROTECTED] (Fri, 29 Jul 2005 19:44:53 +0200): n'Abend, hallo, was bedeutet obige Meldung, die ich ab und zu unter Sarge und KDE 3.4.1 bekomme? koennte meinen das deine /etc/security/limits.conf zu restriktiv eingestellt ist. wenn da aber keine limitierungen vorhanden sind stimmt was anderes nicht. die bash kann (IIRC) in deinem fall keine weiteren prozess starten weil irgendwelche resourcen fehlen. wo genau tritt das auf? wenn du einen terminal aufmachst? an sowas kann ich mich noch duester erinnern, kann aber nicht mehr sagen was genau es war. Klaus sl ritch -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: bash: fork: Resource temporarily unavailable
Le Vendredi 29 Juillet 2005 20:00, Ace Dahlmann a écrit : Hi! On Fri, 29 Jul 2005 19:44:53 +0200 Klaus Becker [EMAIL PROTECTED] wrote: was bedeutet obige Meldung, die ich ab und zu unter Sarge und KDE 3.4.1 bekomme? Bash kann keinen weiteren Prozess mehr öffnen, da die maximale Zahl bereits erreicht ist. Was laufen auf der Kiste denn für Dienste? Und unter welchem Kernel? LG, Ace Kernel 2.6.8-2-686. Wie gebe ich alle Dienste durch? ps aux gibt eine Liste aus, die sich hier schlecht wiedergeben lässt. Klaus
Re: bash: fork: Resource temporarily unavailable
Le Vendredi 29 Juillet 2005 20:04, Richard Mittendorfer a écrit : Also sprach Klaus Becker [EMAIL PROTECTED] (Fri, 29 Jul 2005 19:44:53 +0200): n'Abend, hallo, was bedeutet obige Meldung, die ich ab und zu unter Sarge und KDE 3.4.1 bekomme? koennte meinen das deine /etc/security/limits.conf zu restriktiv eingestellt ist. darin steht u. A.: #limit user processes per user to 150 * softnproc 100 * hardnproc 150 wenn da aber keine limitierungen vorhanden sind stimmt was anderes nicht. die bash kann (IIRC) in deinem fall keine weiteren prozess starten weil irgendwelche resourcen fehlen. wo genau tritt das auf? wenn du einen terminal aufmachst? an sowas kann ich mich noch duester erinnern, kann aber nicht mehr sagen was genau es war. Es tritt völlig unregelmässig auf, einen Terminal habe ich immer laufen. Klaus
Re: bash: fork: Resource temporarily unavailable
Also sprach Klaus Becker [EMAIL PROTECTED] (Fri, 29 Jul 2005 20:18:08 +0200): Le Vendredi 29 Juillet 2005 20:04, Richard Mittendorfer a écrit : Also sprach Klaus Becker [EMAIL PROTECTED] (Fri, 29 Jul 2005 19:44:53 koennte meinen das deine /etc/security/limits.conf zu restriktiv eingestellt ist. darin steht u. A.: #limit user processes per user to 150 * softnproc 100 * hardnproc 150 setz die mal hoeher. [...] Klaus sl ritch
Re: bash: fork: Resource temporarily unavailable
Hi! On Fri, 29 Jul 2005 20:15:09 +0200 Klaus Becker [EMAIL PROTECTED] wrote: Wie gebe ich alle Dienste durch? ps aux gibt eine Liste aus, die sich hier schlecht wiedergeben lässt. Ist von den dort aufgelisteten Prozessen irgendein Programm dutzendfach vorhanden? Apache, Exim, Spamassassin o.ä.? LG, Ace -- () ASCII Ribbon Campaign - against HTML mail /\- against Microsoft attachments http://www.fsf.org/philosophy/no-word-attachments.html http://www.goldmark.org/netrants/no-word/attach.html pgproBL7JQUdj.pgp Description: PGP signature
Re: bash: fork: Resource temporarily unavailable
Le Vendredi 29 Juillet 2005 20:39, Ace Dahlmann a écrit : Hi! On Fri, 29 Jul 2005 20:15:09 +0200 Klaus Becker [EMAIL PROTECTED] wrote: Wie gebe ich alle Dienste durch? ps aux gibt eine Liste aus, die sich hier schlecht wiedergeben lässt. Ist von den dort aufgelisteten Prozessen irgendein Programm dutzendfach vorhanden? Apache, Exim, Spamassassin o.ä.? nein Klaus LG, Ace
Re: bash: fork: Resource temporarily unavailable
Hi! On Fri, 29 Jul 2005 21:18:13 +0200 Klaus Becker [EMAIL PROTECTED] wrote: Ist von den dort aufgelisteten Prozessen irgendein Programm dutzendfach vorhanden? Apache, Exim, Spamassassin o.ä.? nein Hmmm,... und was sagt ps axf | wc -l ? LG, Ace -- () ASCII Ribbon Campaign - against HTML mail /\- against Microsoft attachments http://www.fsf.org/philosophy/no-word-attachments.html http://www.goldmark.org/netrants/no-word/attach.html pgpWGI6HKeHgq.pgp Description: PGP signature
bash: fork: Resource temporarily unavailable
Moin, unter Sarge und kde3.3 bekomme ich seit einiger Zeit regelmässig obige Meldung und ich kann kein Programm mehr starten. Soviel ich weiss, bedeutet die Meldung, dass zuviele Prozesse laufen. Nun habe ich die Zahl der Prozesse schon auf 100 begrenzt (ich weiss nicht mehr, in welcher Datei). Ksysguard zeigt mir, dass bis zu 20 kio_http (sie verweisen auf /tmp/ksocket-klaus/klauncher0whFrb.slave-socket/...) Prozesse laufen, und zwar schon sofort nach KDE-Anmeldung. Wenn ich die Prozesse kille und eventuell kdeinit ausführe, läuft alles wieder für eine gewisse Zeit, bis das gleiche Problem wieder auftritt. Ich habe aber nie mehr als 100 Prozesse gleichzeitig laufen, selbst mit allen kio-Prozessen sind es maximal ca 95. Ist das auf eine Misskonfiguration meines Systems zurückzuführen oder bin ich Opfer eines Angriffs? tschüs Klaus
Re: bash: fork: Resource temporarily unavailable
Alex Withers said: Hello, I've recently installed Debian 3.0 on a home machine. After logging into the machine through xdm I open an xterm with no trouble but when I try to spawn another xterm it hangs for a few seconds before spitting out the message: bash: fork: Resource temporarily unavailable. usually this would be fixed by upping your limits with ulimit as your research shows, but if your running out of resources after loading 1 xterm, theres gotta be something else going on, in the first xterm run top and check the kernel log (dmesg) to see if theres any messages. using debian's defaults I have no problems loading 20-30 terminals along with my other apps, mozilla, staroffice, opera, about a dozen ssh sessions, afterstep etc .. you can adjust your process limits with ulimit -u ..but as above if your running out this fast I don't think that is the problem, something else seems to be eating resources nate -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: bash: fork: Resource temporarily unavailable
On Sun, 08 Sep 2002 12:19:21 PDT, Alex Withers writes: On Sun, 8 Sep 2002, Nicos Gollan wrote: As it turns out that was it, in a way. I had a line in my .bashrc that went like so: PAGER=`which less`. For some reason this would cause a momentary explosion in the number of which processes. They would disappear in a few seconds and I would then get the vague error message. I don't know why this caused the problem as $PAGER looked fine after the hiccup. But it solved the problem when I removed the problem line... Of course, this makes sense. When you run a command in backquotes, that will start a new instance of bash to run that command. And the new bash you start will read and execute .bashrc. Which will start a new bash, to evaluate the which less. This new bash will execute .bashrc, which tries to evaluate which less, which starts a new bash shell, which I'm sure you get the idea. You have essentially created what's called a recursive fork bomb. Fortunately, this design of fork bomb stops as soon as it runs out of process slots. You can fix the problem (I expect) like this: # At start of your .bashrc if [ -n $BASH_INITIALIZED ] then export BASH_INITIALIZED=yep # all your env variable stuff goes here, including export PAGER=`which less`; fi --- Wade -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: bash: fork: Resource temporarily unavailable
On Sunday 08 September 2002 17:33, Alex Withers wrote: Hello, I've recently installed Debian 3.0 on a home machine. After logging into the machine through xdm I open an xterm with no trouble but when I try to spawn another xterm it hangs for a few seconds before spitting out the message: bash: fork: Resource temporarily unavailable. We had this on the list some days ago. Run ps ax and see if you've got a huge quantity of (defunct) processes. -- Embedded Linux -- True multitasking! TWO TOASTS AT THE SAME TIME! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: bash: fork: Resource temporarily unavailable
On Sunday 08 September 2002 19:24, Elizabeth Barham wrote: Nicos Gollan [EMAIL PROTECTED] writes: We had this on the list some days ago. Run ps ax and see if you've got a huge quantity of (defunct) processes. I must have missed that thread; what ever became of it? The last thread was started on 2002-08-23 by Adam Galant (fork: Resource temporarily unavailable). -- Embedded Linux -- True multitasking! TWO TOASTS AT THE SAME TIME! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: bash: fork: Resource temporarily unavailable (ssh)
Yes, I got the same message with our server. I had to kill all the ssh sessions that didn't exist. I also had a problem with ssh which asked me to create more pttys, which I did and this also alleviated the problemnot sure why ssh (I think v 1.3) does this (ie creates phantom processes when the user had already logged out) Rob... - Original Message - From: Andrei Ivanov [EMAIL PROTECTED] To: Imre Vida [EMAIL PROTECTED] Cc: debian-user@lists.debian.org Sent: Saturday, June 09, 2001 5:44 AM Subject: Re: bash: fork: Resource temporarily unavailable Hi, i seem to have a problem with my Debian box. When i try to login to it using ssh it accepts the login but then instead of the bash prompt i get the following erromsg: bash: fork: Resource temporarily unavailable This has never happened before and i didn't anything in the configuration since my last remote login. What could be the problem? imre I've seen this before, and it has got something to do with too many processes running on the system, eating up the file descriptor table. We had a system in the office that had 50-some instances of a process running, and were getting this message (I believe). Please correct me if I'm wrong. Andrei
Re: bash: fork: Resource temporarily unavailable
on Fri, Jun 08, 2001 at 11:06:07PM +0200, Imre Vida ([EMAIL PROTECTED]) wrote: one more bit of info: I can ftp to the machine. This works absolutely fine. Funny. Resources come in several flavors. I'd suspect process table or open files. Note that some daemons run without spawning new processes, at least to an extent. Not sure that ftp is one of them, but it might be. I'd run an 'lsof' or strace my failed command to get finer resolution on the actual errors. This assumes you can get access to the box in the first place -- Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/ What part of Gestalt don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org Disclaimer: http://www.goldmark.org/jeff/stupid-disclaimers/ pgpt1Qv160Olp.pgp Description: PGP signature
Re: bash: fork: Resource temporarily unavailable
As a different post has suggested, it probably is a mixture of process and file table problem. The best solution would have been to reboot the system, and then pay close attention to it over the next few days to see how it goes. Also, as some processes die and before new ones spawn, you may be able to log into the system. Other than that, I'm not sure what you can do. Andrei -- First there was Explorer... Then came Expedition. This summer Coming to a street near you.. Ford Exterminator. -- Andrei Ivanov http://arshes.dyndns.org [EMAIL PROTECTED] 12402354 --
bash: fork: Resource temporarily unavailable
Hi, i seem to have a problem with my Debian box. When i try to login to it using ssh it accepts the login but then instead of the bash prompt i get the following erromsg: bash: fork: Resource temporarily unavailable This has never happened before and i didn't anything in the configuration since my last remote login. What could be the problem? imre -- Imre Vida, 0761/203-5058 [EMAIL PROTECTED]
Re: bash: fork: Resource temporarily unavailable
Hi, i seem to have a problem with my Debian box. When i try to login to it using ssh it accepts the login but then instead of the bash prompt i get the following erromsg: bash: fork: Resource temporarily unavailable This has never happened before and i didn't anything in the configuration since my last remote login. What could be the problem? imre I've seen this before, and it has got something to do with too many processes running on the system, eating up the file descriptor table. We had a system in the office that had 50-some instances of a process running, and were getting this message (I believe). Please correct me if I'm wrong. Andrei -- First there was Explorer... Then came Expedition. This summer Coming to a street near you.. Ford Exterminator. -- Andrei Ivanov http://arshes.dyndns.org [EMAIL PROTECTED] 12402354 --
Re: bash: fork: Resource temporarily unavailable
Andrei, thanks for your response I've seen this before, and it has got something to do with too many processes running on the system, eating up the file descriptor table. We had a system in the office that had 50-some instances of a process running, and were getting this message (I believe). Please correct me if I'm wrong. In theory there are only the processes running that do allways run. And i have some simulations runnig within X and a gnome-session, could be that i forgot to logout from one-or-two VTs but this was never before a problem. I used to be able to login from home and have a look at the data. May be you are right but i would be supprised if it was already too much for the kernel. On the other hand, i have already had a funny problem lately when i did an 'apt-get update': it failed and complained that there are too many files open. The problem was there for one day and then 'disappeared' again. Do you think the two things could be related and are signs of the instability of my system? imre
Re: bash: fork: Resource temporarily unavailable
one more bit of info: I can ftp to the machine. This works absolutely fine. Funny. imre