Hello, we wanted to open connections from within zope to other elements. As the other elements require that we connect to them via a socks server, we considered it a good idea to wrap zope with socksify. socksify is a program from the dante package which allows you to add socks support for any network application by just wrapping the application with socksify. It is just like using strace on linux. Now we got the problem that zope randomly crashed. We suspected that the socksify version we used was faulty and tried it with the latest socksify version as a static compiled binary, but had similar problems. Did somebody else try to wrap zope with socksify and had success with it? I found only this hint that application developers should take care of: *select(2)/poll(2)*applications combining non-blocking sockets with select(2)/poll(2) need to make sure they can handle the select(2)/poll(2) call being interrupted. This is due to how the Dante clientlibrary implements support for non-blocking connect(2).But our application crashed randomly, and not when we tried to access certain ftp servers. Best regards, Patrick Gerken
Patrick Gerken wrote at 2006-12-13 16:13 +0100:
... Now we got the problem that zope randomly crashed.
There are many ways "crashed" can be interpreted. If "crashed" means "died from a fatal signal" ("SIGSEGV", "SIGBUS", "SIGABORT", ...), then the analysis of the "core" file may provide valuable insights. -- Dieter
On 12/17/06, Dieter Maurer <dieter@handshake.de> wrote:
Patrick Gerken wrote at 2006-12-13 16:13 +0100:
... Now we got the problem that zope randomly crashed.
There are many ways "crashed" can be interpreted.
If "crashed" means "died from a fatal signal" ("SIGSEGV", "SIGBUS", "SIGABORT", ...), then the analysis of the "core" file may provide valuable insights.
I am sometimes really bad in answering to helpful tipps :-( The last look at it with strace showed that I should not try to debug this thing by using threads. I still dont know the exact signal he emits, but I know now that it is a problem independent of zope, the same access in pure python code now crashes too now and then. We will first try to upgrade to newer versions of python and then see again. Best regards, Patrick Gerken --
Dieter
participants (2)
-
Dieter Maurer -
Patrick Gerken