[OGo-Users] limit memory of ogo webui instances
Sebastian Reitenbach
users@opengroupware.org
Fri, 09 May 2008 16:18:29 +0200
users@opengroupware.org wrote:
> > do I can limit the memory consumption of an ogo instance?
> > In WMOGAG I found a hint that Zidestore uses a SxVMemLimit Default to
limit
> > memory consumption.
> > Does ogo provides some similar functionality?
> > At least grepping the ogo sources for the SxVMemLimit Default, only let
it
> > show up in Zidestore, but maybe there is a sope Default for it?
>
> I think the best way to control memory usage by the WebUI is to adjust
> the session lifetime vi the WODefaultSessionTimeout default. This is
> documented in the "trunk" WMOGAG, I don't recall if it is in the last
> released version.
>
> Don't forget you can monitor resource usage via the WOStats feature
> (documented in WMOGAG)
I've 10 instances running behind a snsd, I assume I have to contact each of
them separately, unfortunately konqueror is not able to interprete the xml
in such a way that the WOStats will look "nice".
I assume the Default of maximum memory consumption is the same as Zidestore
has, 200MB. I have about 1.X MB of RAM, in a Xen domU, where ogo is running
in it. I generally want 10 instances running, just to have more instances,
where the snsd can schedule the requests. Maybe I should just lower the
number to 6 or 8.
Well, I haven't yet looked at the code in Zidestore, how it uses the
Default. Don't know, but wouldn't it be a good idea to add sth. similar to
OGo WebUI too, or will that cause other problems, that I am just not aware
of?
kind regards
Sebastian
>
> --
> OpenGroupware.org Users
> users@opengroupware.org
> http://mail.opengroupware.org/mailman/listinfo/users
>