On Mon, 2003-03-10 at 14:21, Tracy S.Ruggles wrote:

> Also, I see what David sees below, too.  Every so often, webware stops
> responding to requests, though I can still access the monitoring port. 
> (If Monitor.py is running, it doesn't notice a problem because it
> still gets an okay response from there.)

Are either of you using TaskKit, framesets, or doing anything which
increases concurrency (multiple threads running simultaneously)?

In case either of you missed the "Concurrency issue with import" from
last week, go to
http://sourceforge.net/mailarchive/forum.php?forum=webware-discuss
and put "concurrency" in the search box (upper left corner) to read
them.  This might be the cause of your issues.  

If possible, I'd recommend testing (temporarily) with Webware CVS and
Python 2.3a2 and see if this fixes the problem.  I realize that
switching versions may not be trivial to do.

> Right now, I assume (but you know what happens when you assume) that
> there is something wrong with *my* code and have been investigating it
> piece by piece to try to find the problem (without any luck so far). 
> A tell-tale symptom of our system is that it slowly takes up more and
> more memory in direct correlation to site traffic.

Are you using MiddleKit?  MiddleKit caches objects, and never expires
them.  So if you create objects in response to user requests it will
gradually use more and more memory (this bug is on my hit list).

> The symptoms are that NO webkit threads seem to respond to browser
> requests.
> Sometimes there's a core dump, which gets labeled with the pid, I'm
> assuming
> (such as core.34172, where 34171, 34170, etc. are Webkit processes. 
> Loading
> the core in the debugger tells me that ThreadedAppServer encountered a
> segmentation fault (signal 11).  There's nothing labeled in the stack
> trace,

See http://www.zope.org/Members/4am/debugspinningzope for a cool way to
get a Python traceback from gdb.  It doesn't seem to work for me every
time -- it seems to only work for me if the thread isn't currently
blocked in a syscall.

hope this helps,
Jason



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to