Re: [expert] processes not stopping, but eating 100% cpu time
Hi Todd ! Same thing with vi. Do you have any idea why this happens? I have some database servers with telnet applications running at customers and the problem is very ugly. Currently, I help myself with verynice, but I'm willing to do anything that would help (e.g. installing other ncurses, login, telnet-server, glibc), even recompiling it manually. Greetings, Holger -- MN-Logistik GmbH http://www.mn-logistik.de Holger Schurig Dieselstr. 18 61191 Rosbach v.d.Höhe Tel: 06003/9141-0Fax: 06003/9141-49 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] processes not stopping, but eating 100% cpu time
Es Dimarts 20 Agost 2002 15:00, en Joan Tur va escriure: Es Dimarts 20 Agost 2002 15:42, en Holger Schurig va escriure: Open a console, su to root, start mc... and then kill the console without having shut down mc. That keeps mc loaded and eating 100% cpu cycles. Tryed under Mandrake 8.2 and Debian Woody... Strange, not on my system. I have a self-compiled KDE 3.0.2, so my console is konsole... It happened in my Mandrake 8.1 and 8.2 boxes... but now I cannot reproduce it under 9 beta 3 (after having send my email!) O8-) I'll reboot to the 8.2 box to check for the packages' versions and will post them here... Ejem... I haven't been able to reproduce the above problem under 8.2 either... I promise I had that problem! I'll be watching for that problem and if it happens again I'll make you know... O8-) -- Joan Tur. Eivissa-Spain AOL quini2k, ICQ 11407395 www.ClubIbosim.org Linux: usuari registrat 190.783 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] processes not stopping, but eating 100% cpu time
Holger Schurig wrote on Wed, Aug 21, 2002 at 06:33:35PM +0200 : Hi Todd ! Same thing with vi. Do you have any idea why this happens? I have some database servers with This is an educated guess more than anything. When the application loses the connection to its controlling terminal, it consumes 100% CPU because it is trying to communicate with said controlling terminal. At some point in the past, I was able to reliably repeat the scenario. It seems to be much more difficult now to do it (on my Cooker box, I haven't yet tried it on an 8.x box). I should stress that it is infrequently. It is most usually seen when a remote ssh session has timed out while in vi editing something, but not every time. :-/ Back when ipchains was king, the following line severely cut down on the number of ssh drops that occurred: ipchains -M -S 7200 10 160 but if you're not using ipchains, then that line doesn't do you a whole lot of good. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-9.0-0.3mdk Kernel 2.4.19-4mdk msg57171/pgp0.pgp Description: PGP signature
Re: [expert] processes not stopping, but eating 100% cpu time
On Wed, 21 Aug 2002 20:50:28 + Joan Tur [EMAIL PROTECTED] wrote: Es Dimarts 20 Agost 2002 15:00, en Joan Tur va escriure: Es Dimarts 20 Agost 2002 15:42, en Holger Schurig va escriure: Open a console, su to root, start mc... and then kill the console without having shut down mc. That keeps mc loaded and eating 100% cpu cycles. Tryed under Mandrake 8.2 and Debian Woody... Strange, not on my system. I have a self-compiled KDE 3.0.2, so my console is konsole... It happened in my Mandrake 8.1 and 8.2 boxes... but now I cannot reproduce it under 9 beta 3 (after having send my email!) O8-) I'll reboot to the 8.2 box to check for the packages' versions and will post them here... Ejem... I haven't been able to reproduce the above problem under 8.2 either... I promise I had that problem! I'll be watching for that problem and if it happens again I'll make you know... O8-) it does happen, also it's not reproducible 100% of the times. i can do it with mc, mcedit, and vi. but i have to try several ways to get it done. i think if you start the xterm as user, su to root, then open mc, then open a different xterm and run killall xterm ( as user ) it should happen... but i'm not sure. ( running recently reinstalled ( after several --force --nodeps fuckups ) 8.2 ) Damian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] processes not stopping, but eating 100% cpu time
Todd Lyons wrote: Back when ipchains was king, the following line severely cut down on the number of ssh drops that occurred: ipchains -M -S 7200 10 160 but if you're not using ipchains, then that line doesn't do you a whole lot of good. Hey, I know I am anachronistic but I still think ipchains are the king, at least they do what I need done. And to avoid aforementioned problems, I am using the rule: $IPCHAINS -M -S 7200 30 300 That's not to say that I am not using iptables because I am but some habits die real hard. drjung -- J. Craig Woods UNIX/NT Network/System Administration http://www.trismegistus.net/resume.html Character is built upon the debris of despair --Emerson Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] processes not stopping, but eating 100% cpu time
In history, I used Red Hat from 5.2 till 6.2, then I switched over to Mandrake. However, with Mandrake (including 8.2) I sometimes have the effect that an application doesn't get killed, but instead eats 100% of cpu time. This happens to many console based applications, but one way to reproduce it: Install telnet, telnet into your own box, start ntsysv, kill the connection. Open X-Windows, open a console, start ntsysv, close the window by clicking the X button on the window. Other applications are our self-compiled ones, or icpcon (a configuration program for ICP Vortex RAID controllers). This app is statically linked (get it from http://www.vortex.de/ftp/download/rdrnrsrz/linux/icpcon.gz, it run's even when you don't have such a controller installed). The strange thing: this happens mostly with ncurses-based applications, but not with all. mc, the midnight commander, works very well. As I said, those applications where terminated correctly on Red Hat. I'm just puzzled. Any hints? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] processes not stopping, but eating 100% cpu time
Es Dimarts 20 Agost 2002 09:24, en Holger Schurig va escriure: The strange thing: this happens mostly with ncurses-based applications, but not with all. mc, the midnight commander, works very well. Open a console, su to root, start mc... and then kill the console without having shut down mc. That keeps mc loaded and eating 100% cpu cycles. Tryed under Mandrake 8.2 and Debian Woody... -- Joan Tur. Eivissa-Spain AOL quini2k, ICQ 11407395 www.ClubIbosim.org Linux: usuari registrat 190.783 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] processes not stopping, but eating 100% cpu time
Open a console, su to root, start mc... and then kill the console without having shut down mc. That keeps mc loaded and eating 100% cpu cycles. Tryed under Mandrake 8.2 and Debian Woody... Strange, not on my system. I have a self-compiled KDE 3.0.2, so my console is konsole. The used su is sh-utils-2.0.11-8mdk su calls bash version bash-2.05-16mdk which calls mc with version mc-4.5.55-7mdk mc is linked with libgpm.so.1 = /usr/lib/libgpm.so.1 (0x4001e000) libglib-1.2.so.0 = /usr/lib/libglib-1.2.so.0 (0x40024000) libext2fs.so.2 = /lib/libext2fs.so.2 (0x4004a000) libcom_err.so.2 = /lib/libcom_err.so.2 (0x4006) libc.so.6 = /lib/libc.so.6 (0x40063000) libncurses.so.5 = /lib/libncurses.so.5 (0x4019f000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) which translates to libgpm1-1.19.6-3mdk libglib1.2-1.2.10-4mdk libext2fs2-1.27-1.1mdk glibc-2.2.4-25.1mdk libncurses5-5.2-23mdk glibc-2.2.4-25.1mdk But on my system this does NOT hang. Can you look at the versions of your RPMs? But others, e.g. icpcon, hang nevertheless. Can it be that something doesn't propagate a needed signal? Something may be - su when you do su as you mentioned - one of xinetd in.telned login when you telnet into your own box Greetings, Holger -- MN-Logistik GmbH http://www.mn-logistik.de Holger Schurig Dieselstr. 18 61191 Rosbach v.d.Höhe Tel: 06003/9141-0Fax: 06003/9141-49 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] processes not stopping, but eating 100% cpu time
Es Dimarts 20 Agost 2002 15:42, en Holger Schurig va escriure: Open a console, su to root, start mc... and then kill the console without having shut down mc. That keeps mc loaded and eating 100% cpu cycles. Tryed under Mandrake 8.2 and Debian Woody... Strange, not on my system. I have a self-compiled KDE 3.0.2, so my console is konsole... It happened in my Mandrake 8.1 and 8.2 boxes... but now I cannot reproduce it under 9 beta 3 (after having send my email!) O8-) I'll reboot to the 8.2 box to check for the packages' versions and will post them here... -- Joan Tur. Eivissa-Spain AOL quini2k, ICQ 11407395 www.ClubIbosim.org Linux: usuari registrat 190.783 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] processes not stopping, but eating 100% cpu time
Joan Tur wrote on Tue, Aug 20, 2002 at 03:24:51PM +0200 : The strange thing: this happens mostly with ncurses-based applications, but not with all. mc, the midnight commander, works very well. Open a console, su to root, start mc... and then kill the console without having shut down mc. That keeps mc loaded and eating 100% cpu cycles. Tryed under Mandrake 8.2 and Same thing with vi. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-9.0-0.3mdk Kernel 2.4.19-3mdk msg57131/pgp0.pgp Description: PGP signature