Hugo Ramos wrote:
Has any1 tried this before? Can you point me to some documentation?
What's your experience? is it true that not doing this the 4 cpu's
will not be 100% used?
I think these questions are very ZOPE RELATED since I asked them in a
Zope mailing list don't you think?
Eh ... it
On Wed, Mar 15, 2006 at 05:45:23PM -0300, Hugo Ramos wrote:
Yellow,
I'm using Zope+Apache on a 4 xeon's/4GB ram machine running Debian.
I've noticed that the CPU's never go beyond 30% top occupation... but
on rush hours the site takes too long to load...
I've been reading about process
Dean Hale wrote:
I'm assuming i need to add some extra details to the __init__.py file is
this correct and if so have you any ideas what they would be
from Products.PythonScripts.Utility import allow_module
allow_module('urllib')
I dunno if it'll help, but try enabling verbose security in
Andreas Jung wrote:
allow_module() is not a solution for all and everything (consider it a
hack).
Don't be rediculous. It's not a hack, it's the documented way of
providing security assertions from existing code without having to patch
it. That sounds a lot like what the component
Paul Winkler wrote:
On Tue, Mar 14, 2006 at 10:29:05PM +, Chris Withers wrote:
Ouch, DirectoryViews are more likely what you want...
Sure, they're great. But through the web they are read-only.
That's hardly a complete replacement for Ape.
Depends on CK's real needs of course.
Let's
Hi Chris,
Please keep replies on the list...
Chris Kratz wrote:
Thanks for the pointers. But, isn't directory view part of plone?
Yes, but they are more a part of CMF. You can either just install the
CMFCore product, or I remember there being a couple of packagings on
DirectoryView on
Hugo Ramos wrote:
I think these questions are very ZOPE RELATED since I asked them in a
Zope mailing list don't you think?
No, we don't. This has nothing specific to do with Zope. Process
affinity is an OS-specific thing, and if you care about it you should as
on an OS-specific forum. In
Chris Withers wrote:
Hugo Ramos wrote:
However, as an aside, how have you established that processor affinity
is the problem here? I'd suggest looking at your disk and memory usage
patterns. i/o wait or swap death could quite easily see your processors
only hitting 30% even if the affinity
I would like to know how many anonymous users are online and also if
some authenticated users are.
I tried with guest counter but couldn't make it work, and tried also
to inspect temp-folder/session_data but I get a security error.
Is there a way to accomplish this?
Thank you everybody in
You're right. If you need it, and don't have time to make it prod-
ready, you could probably get someone from the Twisted community to
help if they used that code as a reference.
- C
On Mar 15, 2006, at 9:59 PM, Dennis Allison wrote:
Ummm well the sprint code does not look like it's
On 3/16/06, Tino Wildenhain [EMAIL PROTECTED] wrote:
Hey... but thank you Jens for spending all that time writing an email
that doesn't help any1 at all...!!!
check google for multiple use of exclamation marks.
Or look up Terry Pratchett quotes on www.lspace.org:
'Multiple exclamation
Why do you want to do this? Do you believe that this is more effective
or efficient than the scheduling algorithm that Linux uses? Binding an
application to a single processor makes very little sense at all.
If Zope really is your limiting factor, then you need to spread that
load over as many
Hi,
In my development I need a product which is basicly like
CMFDefault.NewsItem, but I need to add a Selection field
(SelectionWidget). Is there a way of inheriting CMFDefault.NewsItem
and just add what I need?
Thanks,
Sergio
___
Zope maillist -
a) Your system may be I/O bound - not CPU bound - so you will never
see the CPU max out because the limiting factors are memory and disk/
network access.
b) Make sure to tune Python's checkinterval. While you should
*always* do that, it is especially important on multi-processor/multi-
Hi! I need a forum in my plone site which has the following installation:
- Zope 2.7.8
- Plone 2.1.2
- Python 2.3.5
- LinguaPlone 0.9
I have tried the following ones with no succeed:
- CMFBoard doesn't work with Plone 2.1.x
- PloneBoard works only with Zope 2.8
- SimpleForum works correctly but
On 16 Mar 2006, at 14:15, cristina clavijo wrote:
Hi! I need a forum in my plone site which has the following
installation:
- Zope 2.7.8
- Plone 2.1.2
- Python 2.3.5
- LinguaPlone 0.9
I have tried the following ones with no succeed:
- CMFBoard doesn't work with Plone 2.1.x
- PloneBoard
Hi ive installed zope on a dedicated server with linux fedora core3 on port
8080
Ive used webmin to put port 8080 onto my linuix packet filtering iptable
Every time i reboot the server the iptables also reboot and i have to set
them up again for people to access zope
Does anyone know how to
On 16 Mar 2006, at 14:37, JulianRead wrote:
Hi ive installed zope on a dedicated server with linux fedora core3
on port
8080
Ive used webmin to put port 8080 onto my linuix packet filtering
iptable
Every time i reboot the server the iptables also reboot and i have
to set
them up
Every time i reboot the server the iptables also reboot and i have to set
them up again for people to access zope
Does anyone know how to stop this happening?
After you configured iptables, do service iptables save. That should do it.
Bert...
___
Thank you all !! (very insane multiple exclamation marks)
I've been trying different scenarios and Zope performance increased 10
to 11 times faster...
Cheers
Hugo
On 3/16/06, Stefan H. Holek [EMAIL PROTECTED] wrote:
a) Your system may be I/O bound - not CPU bound - so you will
On Thu, Mar 16, 2006 at 02:38:04PM +0100, Stefan H. Holek wrote:
a) Your system may be I/O bound - not CPU bound - so you will never
see the CPU max out because the limiting factors are memory and disk/
network access.
On that note, if running linux on a box with IDE disks, make sure
that
Hello list,
I want to run the database in read-only mode from CD and configured it
accordingly in the zope.conf:
read-only-database on
enable-product-installation off
zserver-read-only-mode on
Starting Zope, I get the following error:
Traceback (most recent call last):
File
Now, if using svn for source control is the only reason he was using
APE, surely you'd agree that DirecotyViews are a more appropriate method?
cheers,
Chris
Yes, you are more or less correct. The primary reason we went to APE was
after having tried the nightmares of the various zope cvs
On Thu, Mar 16, 2006 at 11:00:11AM -0500, Chris Kratz wrote:
Now, if using svn for source control is the only reason he was using
APE, surely you'd agree that DirecotyViews are a more appropriate method?
cheers,
Chris
Yes, you are more or less correct. The primary reason we went
On Thursday 16 March 2006 12:18 pm, Paul Winkler wrote:
On Thu, Mar 16, 2006 at 11:00:11AM -0500, Chris Kratz wrote:
Now, if using svn for source control is the only reason he was using
APE, surely you'd agree that DirecotyViews are a more appropriate
method?
cheers,
Chris
On Thu, Mar 16, 2006 at 12:59:04PM -0500, Chris Kratz wrote:
Hello Paul,
How does the refresh interval work for DirectoryView?
If I wrote it in english, it wouldn't be any shorter than the code
in CMFCore/FSObject.py :-) See the _updateFromFS() method,
you can browse it on svn.zope.org.
--
Following on from a zope-dev thread:
On 3/15/06, Chris Withers [EMAIL PROTECTED] wrote:
Simon Michael wrote:
You forgot to make a page under http://zopewiki.org/Products . Doh! :)
Only half joking. If I'm looking for a dimly-remembered product from six
months ago, this
Peter Bengtsson wrote at 2006-3-15 22:02 +:
...
What do you get AttributeError on actually? What line?
The code above looks just fine. Are you perhaps trying to do session
['last view'] somewhere else without checking that it first exists?
The reported problem looks as if the REQUEST were
Ulla Theiss wrote at 2006-3-16 17:00 +0100:
I want to run the database in read-only mode from CD and configured it
accordingly in the zope.conf:
read-only-database on
This is a relict from earlier times. It is no longer working...
Nowadays, you specify the read-only property on the
storage
Luca Dall'Olio wrote at 2006-3-16 10:01 +0100:
I would like to know how many anonymous users are online
Do you know what this should mean?
The server has no a priori notion which users are online.
You may artificially define the term session
and then consider the number of session as
Hugo Ramos wrote at 2006-3-15 17:45 -0300:
I'm using Zope+Apache on a 4 xeon's/4GB ram machine running Debian.
I've noticed that the CPU's never go beyond 30% top occupation... but
on rush hours the site takes too long to load...
I've been reading about process affinity and how it could speed up
Jeff Gentry wrote at 2006-3-15 15:55 -0500:
...
In the past when I've worked with external products, all of my template,
dtml, html, etc files have already been predefined and I've explicitly
declared them in my code. for instance, to use a dtml file I would say
something like:
blah =
On Thu, 16 Mar 2006, Dieter Maurer wrote:
You can let your class derive from OFS.ObjectManager.ObjectManager
(or maybe OFS.Folder.Folder). Then you can put objects
into them.
Yeah, the problem that I thought was going to exist didn't, as it turned
out.
It is all voluntary work...
And
Dieter Maurer wrote:
Luca Dall'Olio wrote at 2006-3-16 10:01 +0100:
I would like to know how many anonymous users are online
Do you know what this should mean?
The server has no a priori notion which users are online.
You may artificially define the term session
and then consider
I am perhaps being too lazy here. What is the minimal CMF
stuff to install to get the CMFCore/FS... objcts installed?
[EMAIL PROTECTED] wrote on 03/16/2006 03:05:45 PM:
On Thu, Mar 16, 2006 at 12:59:04PM -0500, Chris Kratz wrote:
Hello Paul,
How does the refresh interval work for
On Thu, Mar 16, 2006 at 05:54:31PM -0500, [EMAIL PROTECTED] wrote:
I am perhaps being too lazy here. What is the minimal CMF
stuff to install to get the CMFCore/FS... objcts installed?
I suspect you can download CMF from zope.org, unzip it,
and install only the CMFCore directory. It shouldn't
I have python 2.4.2 installed on freebsd. It is located at /home/webenv/bin/python2.4.
I set my pythonpath to /home/webenv/lib/python2.4
Python works.
Then I downloaded and built zope 3 with make sure to use -with-python and -prefix /home/z3.
I run make then make test and get a lot of :
Error
On Thursday 16 March 2006 18:06, David Bear wrote:
this happens when I run make test as root as well.
Don't run tests as root. I thought the test produces a warning when run as
root, mhh.
Regards,
Stephan
--
Stephan Richter
CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k -
Luca Dall'Olio wrote at 2006-3-16 10:01 +0100:
I would like to know how many anonymous users are online
and also if some authenticated users are.
You can do this using exuserfolder, you can effectively track the online users
by setting a session limit which discounts them out after a period of
What happened to Zope/tags/2.8.6 as the naming convention?
Chris
Andreas Jung wrote:
Log message for revision 66042:
forgotten to tag r41770 as Zope-2-8.6 release
Changed:
A Zope/tags/Zope-2-8-6/
-=-
Copied: Zope/tags/Zope-2-8-6 (from rev 41770, Zope/branches/Zope-2_8-branch)
Takahashi, Michael wrote:
Hi Suresh,
I've actually tried that. The problem I run into is that the folder in
my path contains a dash. When I call manage_delObjects on the following:
obj = context.restrictedTraverse('webcasts/courses/2005-2006/temp')
id = obj.getId()
You should really try using a editor/IDE that automatically shows the
corresponding code along side the debugger, like Emacs' gud-mode which
can be invoked with M-x pdb. It rocks!
I do that sometimes, but I lack sufficient wizardry to make it
work with through-the-web scripts :-)
But then,
42 matches
Mail list logo