> First thing I would do is try to isolate what is causing the memory
leak.
> Do
> _all_ servlets cause slow leaking over time, indicating a Webware bug?
Or
> only certain servlets, perhaps ones that use a particular module or
> feature?

I see one servlet in particular adding about 20 KB each time I hit it so
I'll try to remove features from that servlet until the problem stops.


> So I would set up a test server that is a replica of your production
> server,
> and write a script to hit a particular servlet over and over with
> urllib.urlopen().  Monitor the memory usage, and compare with the
results
> of
> hitting some other servlet.

I've almost got my test server ready to go.  I should have a better idea
of where the problem is later today.

> A short-term solution would be to set up a cron job to restart your
> appserver
> on some regular interval (once a day, once a week, or whatever) at
> whatever
> time of day you have the least activity.

For now, I'm manually restarting each morning.

Thanks for the suggestions, I'll get back to you today :)




_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to