[viewvc-users] (re)nice for viewvc.cgi

Karl Berry <[email protected]> Mon, 27 Aug 2012 17:00:43 -0700 (PDT)
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <132691473.1366.1346112043157.JavaMail.httpd@localhost>
I sometimes find that viewvc.cgi is consuming most of my CPU.  It seems like it would be easy, and nice (no pun intended), to have a conf value for a nice setting.
Is this already there somewhere and I missed it?
grep -r nice didn't turn up anything.

For a test, I simply hardwired what I wanted by putting
os.nice(20)
into viewvc.cgi right after the "import os" line.
That seems to do the trick.

Thought I would write here before submitting an issue to be tracked or whatever.

Thanks,
Karl ([email protected])

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3001428

To unsubscribe from this discussion, e-mail: [[email protected]].