Skip to Content.
Sympa Menu

cacert-sysadm - Re: power consumption

cacert-sysadm AT lists.cacert.org

Subject: CAcert System Admins discussion list

List archive

Re: power consumption


Chronological Thread 
  • From: Guillaume ROMAGNY <guillaume AT cacert.org>
  • To: cacert-sysadm AT lists.cacert.org
  • Cc: Mario Lipinski <mario AT cacert.org>, Jan Dittberner <jandd AT cacert.org>, Ian G <iang AT cacert.org>, wiki-admin AT cacert.org
  • Subject: Re: power consumption
  • Date: Sun, 31 Mar 2013 23:26:43 +0200
  • Openpgp: id=EB42B796

Hello everyone,

Wiki part (I am not blaming anyone...)

after a wiki migration or wiki security fix (I cannot say), the wiki
server never stops the HTTP connexion so I guess the server is
overloaded some way (I can't say why). I have to click on the Firefox
button "stop loading this page" so the page stops to load. the issue
lasts for months at least.

We never had this issue with moin-moin in the old days. Sorry, no idea
to propose you.

Best regards,

Guillaume

Le 31/03/2013 21:02, Mario Lipinski a écrit :
> Hi Jan,
>
> I think I setup the current wiki configuration. But I have not much
> experience with hosting python web applications in a productive environment.
>
> There are not that many requests on the wiki, you can watch any single
> incoming request in the logs. So I am wondering why the performance is
> that bad. Even with starting up a new process for each request it should
> not take that long.
> I am hosting PHP as CGI (for security reasons) in another environment
> and the performance is far better...
> But maybe Moin is just a performance hog...
>
> The current line I consider relevant for this in the config reads:
>
> WSGIDaemonProcess moin user=www-data group=www-data home=/srv/www/wiki
> processes=5 threads=10 maximum-requests=1000 umask=0007
> display-name=wsgi-moin
>
> I would expect it to reuse each process for 1000 requests.
>
> As you are a Python expert, do you have any ideas how to improve this?
>
> Mario
>
> Am 31.03.2013 18:46, schrieb Jan Dittberner:
>> On Sun, Mar 31, 2013 at 02:30:46PM +0200, Wytze van der Raay wrote:
>>> Hi Ian,
>>>
>>> Op 31-3-2013 10:14, Ian G schreef:
>>>> Also, what % of cpu time are the machines doing normally?
>>> Most of the machines are using very little cpu time, with the exception
>>> of webdb (the current webserver on Intel P4) and infra01 (the infra-
>>> structure server). Why infra01 is busy you'll have to check with their
>>> administrators.
>> I looked at the current load on infra01. Seems like the wiki.cacert.org
>> container is running tons of wsgi-moin processes that consume all CPUs.
>>
>> @wiki-admin: can you check this and configure mod_wsgi or whatever WSGI
>> server you use to reuse WSGI processes?
>>
>>
>> Best regards
>> Jan
>>
>
>


Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.16.

Top of Page