Hi guys,
First thing, I'm using zenoss-stack on sles10 x86. To install psyco, I
compiled it under user zenoss to be sure the libs are stored under
/usr/local/zenoss/python/lib/python2.4/site-packages
then I modified the following files (the one eating most CPU)
/usr/local/zenoss/zenoss/lib/python/ZEO/runzeo.py
Code:
if __name__ == "__main__":
# Import Psyco if available
try:
import psyco
psyco.profile()
except ImportError:
pass
main()
/usr/local/zenoss/zenoss/lib/python/Zope2/Startup/run.py
Code:
if __name__ == "__main__":
# Import Psyco if available
try:
import psyco
psyco.full()
except ImportError:
pass
main()
/usr/local/zenoss/zenoss/Products/ZenHub/zenhub.py
Code:
if __name__ == "__main__":
....
psyco.profile()
main()
/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py
Code:
psyco.profile()
And you can continue with nearly every collector.
After moving to psyco I felt the web interface was a bit more responsive, but
to be honest I can't really prove it. And the web interface is definitely what
feel the more slugish on zenoss.
--
Florian Deckert
SopraGroup - France
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=37696#37696
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users