[Moin-user] Apache with 100% CPU usage
Helio MC Pereira
helio.mc.pereira at gmail.com
Fri Jan 27 16:25:02 EST 2006
Hi all,
I need your help... I have configured a MoinMoin wiki in my server but I
have problems when I enter an URL like this:
http://wiki.myserver.com/P%C3%A1ginaPrincipal?action=fullsearch&value=linkto%3A%22P%C3%A1ginaPrincipal%22&context=180(
http://wiki.myserver.com/P
áginaPrincipal?action=fullsearch&value=linkto:"PáginaPrincipal"&context=180)
The problem is that the apache2 process goes to 100% CPU usage... the
only wait to stop it is doing a apache2 restart.
Above you can see my system configuration.
linux Ubuntu
Python 2.4.2 (#2, Sep 30 2005, 21:19:01)
apache2 v2.0.54
mod_python 3.1.3
<VirtualHost *:80>
ServerName wiki.myserver.com
ServerAdmin my-email at myserver.com
ErrorLog /var/log/apache2/wiki.myserver.com-error.log
CustomLog /var/log/apache2/wiki.myserver.com-access.log combined
Alias /wiki/ "/usr/share/moin/htdocs/"
# Rewrite urls
RewriteEngine On
RewriteLogLevel 0
# map /wiki static files to Moin htdocs
RewriteRule ^/wiki/(.*)$ /usr/share/moin/htdocs/$1 [last]
RewriteRule ^/robots.txt$ /usr/share/moin/htdocs/robots.txt [last]
RewriteRule ^/favicon.ico$ /usr/share/moin/htdocs/favicon.ico [last]
# map everything else to server script
RewriteRule ^(.*)$
/home/sharky/VirtualHosts/MoinMoinWiki/html/moinmodpy.py$1
<Directory "/home/sharky/VirtualHosts/MoinMoinWiki/html">
# These are copied from the default cgi-bin directory
AllowOverride None
Options None
Order allow,deny
Allow from all
# Modpy stuff
AddHandler python-program .py
# Add the path to the wiki directory, where
# moinmodpy.py and wikiconfig.py are located.
PythonPath "['/home/sharky/VirtualHosts/MoinMoinWiki/html'] +
sys.path"
PythonHandler moinmodpy
PythonDebug On
</Directory>
</VirtualHost>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20060127/7fb69cc1/attachment.html>
More information about the Moin-user
mailing list