Re: [Zope] server dies
Leichtman, David J writes: > I was wondering if anyone else had experienced this problem: Ever since we > installed the ZPoPy database adapter, the server has been occasionally > crashing, and it gets worse and worse over time. Has anyone else experienced > this problem? We're running Zope through Apache, on a Solaris box, with > PostgreSQL. I'm really curious as to what could be causing this behavior. I > know that that adapter is still in development, but it seems like that would > be non-desirable behavior :) If there is some way that our setup is causing > this, any input would be appreciated. We are also still running the last > stable release of Zope (2.1.6, I think) with plans to upgrade next week. We have a similar problem with Zope 2.1.6 under Solaris 2.7 using ZOracleDA to connect to Oracle 8.1.6, no other C-level extensions. Something in the system writes uncontrolled into memory. Main target is the memory management leading to SIGSEGV in the function "t_splay" or (occasionally) infinite loops. "purify" reports "Write After Free" problems during release of Oracle database connections and "Uninitialized Memory Reads" in calls to "wrap_odesc". Both inside the Oracle 8 Client libraries. In one test run, purify detected an uncontrolled write into the heap from inside the "localtime_u" C library function. The function "tzcpy" was called writing "GMT" to an indeterminate destination. "tzcpy", normally, is called just once during initialization of the "time" module. I see only one plausible explanation: the data area of the C library has already been overwritten (undetected by "purify", which only control writes into the heap), the resulting heap corruption was a side effect. The main problem may be in the Oracle 8 client libraries. The old Oracle 7 interface used by DCOracle seems to be no longer documented (i.e. depracated) and maybe no longer maintained. But, maybe, the problem is elsewhere: in Zope/Python the Solaris Thread Library, the C-compiler. I will keep the list informed. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] server dies
I was wondering if anyone else had experienced this problem: Ever since we installed the ZPoPy database adapter, the server has been occasionally crashing, and it gets worse and worse over time. Has anyone else experienced this problem? We're running Zope through Apache, on a Solaris box, with PostgreSQL. I'm really curious as to what could be causing this behavior. I know that that adapter is still in development, but it seems like that would be non-desirable behavior :) If there is some way that our setup is causing this, any input would be appreciated. We are also still running the last stable release of Zope (2.1.6, I think) with plans to upgrade next week. Thanks. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope server Dies
> Have you read the how-to on http://www.zope.org/Members/philh/mysql ? > It worked perfectly for me, except that the libmysql.dll that came with > mySQL gave me troubles, but after replacing it with the version mentioned in > the how-to everything worked perfectly: Win2000, Zope 2.1.6, mySQL > 3.23.19-beta. > > Gijs Reulen Yes.. I have read that documentation too. I've decided to reinstall the Zope, and everything seems working perfectly now. Thanks for the assistance. But I'm still curious what cause the previous error though. -IGUN- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Zope server Dies
Have you read the how-to on http://www.zope.org/Members/philh/mysql ? It worked perfectly for me, except that the libmysql.dll that came with mySQL gave me troubles, but after replacing it with the version mentioned in the how-to everything worked perfectly: Win2000, Zope 2.1.6, mySQL 3.23.19-beta. Gijs Reulen > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Namens Indra > Gunawan > Verzonden: zaterdag 8 juli 2000 14:16 > Aan: [EMAIL PROTECTED] > Onderwerp: [Zope] Zope server Dies > > > My Zope server dies miserably after I install the mysql adapter > (it still dies after I delete the adaper files manually.) > These are the only error messages I could retrieve from the server. > could anyone help me? > I use win98 > > Thanks > -IGUN- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope server Dies
My Zope server dies miserably after I install the mysql adapter (it still dies after I delete the adaper files manually.) These are the only error messages I could retrieve from the server. could anyone help me? I use win98 Thanks -IGUN- asynchat.async_chat.handle_error (self) File "H:\Program Files\WebSite\ZServer\medusa\asyncore.py", line 321, in hand e_error self.close() File "H:\Program Files\WebSite\ZServer\HTTPServer.py", line 356, in close p.more() # free up resources held by producer File "H:\Program Files\WebSite\ZServer\Producers.py", line 108, in more getattr(self.logger, self.method)(self.bytes) File "H:\Program Files\WebSite\ZServer\medusa\http_server.py", line 275, in l g ' - - [%s] "%s" %d %d "%s" "%s"\n' % ( File "H:\Program Files\WebSite\ZServer\medusa\logger.py", line 243, in log self.logger.log ('%s%s' % (ip, message)) File "H:\Program Files\WebSite\ZServer\medusa\logger.py", line 77, in log self.write (message) File "H:\Program Files\WebSite\ZServer\medusa\logger.py", line 53, in write self.maybe_flush() File "H:\Program Files\WebSite\ZServer\medusa\logger.py", line 65, in maybe_f ush self.file.flush() IOError: [Errno 9] Bad file descriptor ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )