I recently upgraded my server to RedHat 9. I discovered that Zope was running badly : no answer after very few queries, nothing in the logs. The server looks like sleeping deeply, but not dead. I tried a full re-install from sources (Python 3.1.3 + Zope 2.6.1), same result. I moved to an other fresh RH 9 box, idem. With a freh RH 8 config, all is running fine. What is so different with RH 9 ? -- @@@@@@@@@@@@@@ Michel ALBUISSON @ @ CENERG Ecole des Mines de Paris @ mmmmmmm aaa @ BP 207 Rue Claude Daunesse @ m m m a a @ F-06904 Sophia Antipolis cedex @ m m mmaaaaa@ @ Tel. (33) {0}4 93 95 74 04 @@@@@@@@@@@@@@@@ Email michel.albuisson@cenerg.cma.fr
I had the same problem when upgrading from 8.0 to 8.1beta and 9.0. The only solution I know is to completely reinstall your system :-) -aj --On Mittwoch, 30. April 2003 12:41 Uhr +0200 Michel ALBUISSON <michel.albuisson@cenerg.cma.fr> wrote:
I recently upgraded my server to RedHat 9. I discovered that Zope was running badly : no answer after very few queries, nothing in the logs. The server looks like sleeping deeply, but not dead. I tried a full re-install from sources (Python 3.1.3 + Zope 2.6.1), same result. I moved to an other fresh RH 9 box, idem. With a freh RH 8 config, all is running fine. What is so different with RH 9 ? -- @@@@@@@@@@@@@@ Michel ALBUISSON @ @ CENERG Ecole des Mines de Paris @ mmmmmmm aaa @ BP 207 Rue Claude Daunesse @ m m m a a @ F-06904 Sophia Antipolis cedex @ m m mmaaaaa@ @ Tel. (33) {0}4 93 95 74 04 @@@@@@@@@@@@@@@@ Email michel.albuisson@cenerg.cma.fr
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On the german zope users group list (dzug.org) we recently had this post: Just for info, bevor noch mehr damit ihre Zeit verschwenden: Die neuen Linux Distributionen (RedHat 9.0, SuSe 8.2, Mandrake 9.1, ...) kommen unter anderem mit einer überarbeiteten glibc, was zur Folge haben kann, dass Pythons/Zopes threading nicht mehr funktioniert (Symptom: Zope hängt sich sporadisch einfach auf aber hinterläßt keine Fehlermeldungen). Work around (not really a fix): In der Shell, von der aus Zope gestartet werden soll, export LD_ASSUME_KERNEL=2.2.5 eingeben. Siehe auch: http://www.gurulabs.com/RedHatLinux9-review.html translation: the new Linux distros (RedHat 9.0, SuSe 8.2, Mandrake 9.1, ...) ship with a new glibc, which can cause Pythons threading to fail. Work around (not really a fix): In the shell, which starts Zope export LD_ASSUME_KERNEL=2.2.5 see also: http://www.gurulabs.com/RedHatLinux9-review.html hope that helps. Michel ALBUISSON wrote:
I recently upgraded my server to RedHat 9. I discovered that Zope was running badly : no answer after very few queries, nothing in the logs. The server looks like sleeping deeply, but not dead. I tried a full re-install from sources (Python 3.1.3 + Zope 2.6.1), same result. I moved to an other fresh RH 9 box, idem. With a freh RH 8 config, all is running fine. What is so different with RH 9 ?
-- Mit freundlichen Grüßen Joachim Schmitz -------------------------------------------------------------------- AixtraWare Ingenieurbüro für Internetanwendungen Telefon: +49-2464-8851, FAX: +49-2464-905163 --------------------------------------------------------------------
I had the same problem with RH 9. up2date your kernel to their latest errata version. That should fix it. up2date your glibc while you're at it ;-) In my case, up2dating or recompiling the kernel fixed the problem with or without the latest glibc package. cheers, Wankyu Choi --------------------------------------------------------------- Wankyu Choi CEO/President NeoQuest Communications, Inc. http://www.zoper.net http://www.neoboard.net --------------------------------------------------------------- -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of Michel ALBUISSON Sent: Wednesday, April 30, 2003 7:41 PM To: zope@zope.org Subject: [Zope] Zope and RedHat 9 I recently upgraded my server to RedHat 9. I discovered that Zope was running badly : no answer after very few queries, nothing in the logs. The server looks like sleeping deeply, but not dead. I tried a full re-install from sources (Python 3.1.3 + Zope 2.6.1), same result. I moved to an other fresh RH 9 box, idem. With a freh RH 8 config, all is running fine. What is so different with RH 9 ? -- @@@@@@@@@@@@@@ Michel ALBUISSON @ @ CENERG Ecole des Mines de Paris @ mmmmmmm aaa @ BP 207 Rue Claude Daunesse @ m m m a a @ F-06904 Sophia Antipolis cedex @ m m mmaaaaa@ @ Tel. (33) {0}4 93 95 74 04 @@@@@@@@@@@@@@@@ Email michel.albuisson@cenerg.cma.fr _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Wankyu Choi
I had the same problem with RH 9.
Me too. Still do.
up2date your kernel to their latest errata version. That should fix it.
Did that... kernel-2.4.20-9
up2date your glibc while you're at it ;-)
Did that too... glibc-2.3.2-27.9
In my case, up2dating or recompiling the kernel fixed the problem with or without the latest glibc package.
I tried both the stock python2.1-2.1.3 RPMS as well as recompiling it. I also tried LD_ASSUME_KERNEL with both 2.4.1 and 2.2.5. Zope runs in all cases, but only with a single thread. Load on my server is next to nothing, so it seems to run fine, but I'm needing to upgrade another server where the load is considerably higher. Any more ideas? _______________________ Ron Bickers Logic Etc, Inc.
Not sure if it's relevant, but I'm running Python 2.2. Both the latest RH RPM version and the one that I compiled myself work with kernel 2.4.20-9. I haven't tried Python 2.1. After I got sure it was working, I recompiled the vanilla kernel 2.4.20 with aa1 patch due to serious bugs in 2.4.20 regarding low memory i/o stuff: when your memory gets scarce, kswapd goes crazy and never gets back to normal, etc. Give it a try: recompile your kernel and see if it's kernel or python that is causing the problem. In my case, it was the stock kernel RedHat dished out. ( I'm pretty sure about this since I have my own python rpm which works with other kernels except for the default RH9 kernel. ) cheers, Wankyu Choi --------------------------------------------------------------- Wankyu Choi CEO/President NeoQuest Communications, Inc. http://www.zoper.net http://www.neoboard.net --------------------------------------------------------------- -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of Ron Bickers Sent: Thursday, May 01, 2003 3:56 AM To: Wankyu Choi; 'Michel ALBUISSON'; zope@zope.org Subject: RE: [Zope] Zope and RedHat 9
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Wankyu Choi
I had the same problem with RH 9.
Me too. Still do.
up2date your kernel to their latest errata version. That should fix it.
Did that... kernel-2.4.20-9
up2date your glibc while you're at it ;-)
Did that too... glibc-2.3.2-27.9
In my case, up2dating or recompiling the kernel fixed the problem with or without the latest glibc package.
I tried both the stock python2.1-2.1.3 RPMS as well as recompiling it. I also tried LD_ASSUME_KERNEL with both 2.4.1 and 2.2.5. Zope runs in all cases, but only with a single thread. Load on my server is next to nothing, so it seems to run fine, but I'm needing to upgrade another server where the load is considerably higher. Any more ideas? _______________________ Ron Bickers Logic Etc, Inc. _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
I've finally solved the mystery (it works for me anyway, and I have no technical explanation at this point). I tried different kernels, different pythons, different servers, different LD_ASSUME_KERNEL settings, and still only 1 thread. Then, I changed my startup from running Zope as a non-root user (since I don't need low port access) to run as root instead. That did the trick. It appears to be running as expected, and of course Zope still does suid to my non-root user. If anyone knows (or has a guess) why this is necessary, I'd love to know. _______________________ Ron Bickers Logic Etc, Inc.
participants (6)
-
Andreas Jung -
Joachim Schmitz -
Michel ALBUISSON -
Ron Bickers -
Ron Bickers -
Wankyu Choi