[Zope] Zope crashing - keyword arguments again?

Mayers, Philip J p.mayers@ic.ac.uk
Thu, 30 Aug 2001 16:30:56 +0100


Big M logging?

Regards,
Phil

+------------------------------------------+
| Phil Mayers                              |
| Network & Infrastructure Group           |
| Information & Communication Technologies |
| Imperial College                         |
+------------------------------------------+

-----Original Message-----
From: Chris McDonough [mailto:chrism@zope.com]
Sent: 30 August 2001 15:36
To: Mayers, Philip J; zope@zope.org
Subject: Re: [Zope] Zope crashing - keyword arguments again?


Hi Phillip,

I dont think that the core file will help much because it's not clear from
which thread it comes.  ;-)

But using big M logging and the requestprofiler might help to find out when
it's crashing, and might let you establish a pattern.

----- Original Message -----
From: "Mayers, Philip J" <p.mayers@ic.ac.uk>
To: <zope@zope.org>
Sent: Thursday, August 30, 2001 10:01 AM
Subject: [Zope] Zope crashing - keyword arguments again?


> <sigh>
>
> Zope is crashing periodically on me again...
>
> [pjm3@hdb pjm3]$ ps faux
> <snip>
> zope     26749  0.0  0.7  4552 3080 ?        S    Aug29   0:00
> /usr/bin/python /usr/local/Zope/z2.py -X -p Zope.cgi
> zope     32246  0.0  3.0 21464 11684 ?       S    13:15   0:03  \_
> /usr/bin/python /usr/local/Zope/z2.py -X -p Zope.cgi
> zope     32248  0.0  3.0 21464 11684 ?       S    13:15   0:00      \_
> /usr/bin/python /usr/local/Zope/z2.py -X -p Zope
> zope     32250  0.0  3.0 21464 11684 ?       S    13:15   0:00          \_
> /usr/bin/python /usr/local/Zope/z2.py -X -p
> zope     32251  0.0  3.0 21464 11684 ?       S    13:15   0:00          \_
> /usr/bin/python /usr/local/Zope/z2.py -X -p
> zope     32252  0.0  3.0 21464 11684 ?       S    13:15   0:01          \_
> /usr/bin/python /usr/local/Zope/z2.py -X -p
> [pjm3@hdb pjm3]$ su -
> Password:
> [root@hdb /root]# su - zope
> bash-2.04$ ./stop
> bash-2.04$ killall python
> bash-2.04$ killall -9 python
> bash-2.04$ ./start
> bash-2.04$ ps faux
> <snip>
> zope       344  0.0  0.7  4552 3080 ?        S    14:56   0:00
> /usr/bin/python /usr/local/Zope/z2.py -X -p Zope.cgi
> zope       345 31.8  2.6 12032 10156 ?       S    14:56   0:02  \_
> /usr/bin/python /usr/local/Zope/z2.py -X -p Zope.cgi
> bash-2.04$ ps faux
> <snip>
> zope       344  0.0  0.7  4552 3080 ?        S    14:56   0:00
> /usr/bin/python /usr/local/Zope/z2.py -X -p Zope.cgi
> zope       345  2.5  2.9 21164 11368 ?       S    14:56   0:02  \_
> /usr/bin/python /usr/local/Zope/z2.py -X -p Zope.cgi
> zope       350  0.0  2.9 21164 11368 ?       S    14:56   0:00      \_
> /usr/bin/python /usr/local/Zope/z2.py -X -p Zope
> zope       351  0.0  2.9 21164 11368 ?       S    14:56   0:00          \_
> /usr/bin/python /usr/local/Zope/z2.py -X -p
> zope       352  0.0  2.9 21164 11368 ?       S    14:56   0:00          \_
> /usr/bin/python /usr/local/Zope/z2.py -X -p
> zope       353  0.0  2.9 21164 11368 ?       S    14:56   0:00          \_
> /usr/bin/python /usr/local/Zope/z2.py -X -p
> zope       354  1.9  2.9 21164 11368 ?       S    14:56   0:01          \_
> /usr/bin/python /usr/local/Zope/z2.py -X -p
> bash-2.04$ ls
> Extensions   ZServer   core    import  pcgi     stop       var.tgz
> wo_pcgi.py   z2.pyc
> LICENSE.txt  Zope.cgi  doc     inst    restart  utilities  w_pcgi.py
> wo_pcgi.pyc  zpasswd.py
> README.txt   access    dotvar  lib     start    var        w_pcgi.pyc
z2.py
> zpasswd.pyc
> bash-2.04$ gdb -c core /usr/bin/python
> #0  0x40085dd1 in __kill () from /lib/libc.so.6
> (gdb) bt
> #0  0x40085dd1 in __kill () from /lib/libc.so.6
> #1  0x4002c777 in __pthread_restart_new (th=0xbf3ffc00) at pthread.c:1005
> #2  0x400290d4 in pthread_cond_signal (cond=0x878a3e4) at restart.h:24
> #3  0x80634d5 in PyThread_release_lock ()
> #4  0x8051a3e in PyEval_EvalCode ()
> #5  0x8053568 in PyEval_EvalCode ()
> #6  0x8053568 in PyEval_EvalCode ()
> #7  0x8053568 in PyEval_EvalCode ()
> #8  0x8053568 in PyEval_EvalCode ()
> #9  0x805154e in PyEval_EvalCode ()
> #10 0x8061698 in PyRun_File ()
> #11 0x8060d41 in PyRun_SimpleFile ()
> #12 0x804fde8 in Py_Main ()
> #13 0x40074f31 in __libc_start_main (main=0x804f87c <main>, argc=5,
> ubp_av=0xbffffb04, init=0x804ee50 <_init>,
>     fini=0x80891cc <_fini>, rtld_fini=0x4000e274 <_dl_fini>,
> stack_end=0xbffffafc)
>     at ../sysdeps/generic/libc-start.c:129
>
> I have no idea what's causing this - last time it was the "too many
keyword
> arguments to DTML script from PythonScript" - but I thought that had been
> fixed?
>
> Regards,
> Phil
>
> +------------------------------------------+
> | Phil Mayers                              |
> | Network & Infrastructure Group           |
> | Information & Communication Technologies |
> | Imperial College                         |
> +------------------------------------------+
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
>