On Friday 24 February 2006 08:57, you wrote:
> Mario Olimpio de Menezes wrote:
> > On Thursday 23 February 2006 19:07, you wrote:
> >> 256 Mo is really small, specially if you are running other apps.
> >>
> >> With a fine tuned server (reduced number of Zope threads to 2, caching
> >> on Apache) I believe you can sustain medium traffic on a 256 Mo,
> >> depending of the work patterns of your users, but it' s obviously
> >> better to upgrade soon.
> >
> > the whole system (Apache2 + Ilias3 + DotProject + Zope + CPS) have being
> > used by a few users - no more than 15 (yes, fifteen).
> >
> > Ilias3 is a starting project; I'm learning how to setup it, how to create
> > courses, users, etc. Nobody is accessing it, 'cause nobody has account on
> > it yet.
> >
> > DotProject is being used by 2 or 3 people; very seldom use, maybe 2 or 3
> > times a week.
> >
> > Both, Ilias3 and DotProject are PHP based and use MySQL. The database has
> > only 26MB.
> >
> > Zope + CPS is the most used system, with about 10 users, but with very
> > light work pattern, that is, users are experimenting CPS, creating
> > Meetings in CPSSharedCalendar, some times uploading files, sending email
> > notifications, using CPSMailAccess to send email (I think only one user
> > is doing this). The ZopeDB (main) is only 50MB. I believe this is small,
> > or very small, isn't it?
>
> right.  How does the RAM looks like on the server currently ?

$ cat /proc/meminfo
MemTotal:       240696 kB
MemFree:            5004 kB
Buffers:                9956 kB
Cached:              41452 kB
SwapCached:       3704 kB
Active:              170056 kB
Inactive:             24676 kB
HighTotal:                   0 kB
HighFree:                    0 kB
LowTotal:         240696 kB
LowFree:               5004 kB
SwapTotal:       682720 kB
SwapFree:        639556 kB

$ ps auxc | grep -E "zope|www-data"
zope      2450  0.0 13.4 109284 32264 ?      S<   Feb23   0:08 python2.3
www-data  2578  0.0  5.4 37768 13160 ?       S<   Feb23   0:07 apache2
www-data  2579  0.0  6.0 39048 14528 ?       S<   Feb23   0:14 apache2
www-data  2580  0.0  5.3 37348 12856 ?       S<   Feb23   0:05 apache2
www-data  2581  0.0  5.2 37112 12720 ?       S<   Feb23   0:05 apache2
www-data  2582  0.0  6.8 41940 16560 ?       S<   Feb23   0:08 apache2
www-data  2584  0.0  5.2 37056 12652 ?       S<   Feb23   0:08 apache2
www-data  2599  0.0  7.4 42400 17832 ?       S<   Feb23   0:14 apache2
www-data  2711  0.0  5.1 37056 12472 ?       S<   Feb23   0:03 apache2
www-data  2712  0.0  5.3 37364 12896 ?       S<   Feb23   0:03 apache2
www-data  2713  0.0  5.1 37040 12516 ?       S<   Feb23   0:03 apache2

>
> Let's start with this :
>
>  - Add a cache on Apache. (or use SQUID if you prefer)

using ProxyPass and ProxyPassReverse? (Apache) 

If I use Squid I shouldn't use Apache in this same machine, right? 

>  - Check the RAM and let's tune the ZODB caches after that.

could you give me some more info on how to do this? 

>
> you said you had 2 threads on the server right ?
>
no, I don't.  where can I check this?


I will try to use ProxyPass and ProxyPassReverse to do Cache on Apache side.

Thanks

-- 
Mario O.de Menezes, Ph.D.     "Many are the plans in a man's heart, but
LinuxUser: #24626         is the Lord's purpose that prevails" Pv 19.21
                        http://www.ipen.br/~mario      
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to