Forum archive 2000-2006

Jason Farmer - Very large CPU Usage for WK 1.8?

Jason Farmer - Very large CPU Usage for WK 1.8?

by Arnold Pizer -
Number of replies: 0
inactiveTopicVery large CPU Usage for WK 1.8? topic started 1/27/2003; 10:23:51 PM
last post 1/28/2003; 10:21:59 AM
userJason Farmer - Very large CPU Usage for WK 1.8?  blueArrow
1/27/2003; 10:23:51 PM (reads: 1203, responses: 4)
Hello everyone. We are happily running WK v1.8 on our Sun server. Although, when we have simultaneous people trying to do problems, we are running into very slow WK response times, as well as pink WK time-out pages. We are very happy with the way typeset2 performs, but could this be slowing down the server beyond that of which it should?

We are showing about 94% CPU usage in webwork, and the rest of the 6% is for the kernel.

We have 2gigs of RAM, and 1.591gigs of that is free. 5.5 gigs of free swap space.

Anyone have any ideas of what could be happening?

Thank you!

~Jason

<| Post or View Comments |>


userJason Farmer - Re: Very large CPU Usage for WK 1.8?  blueArrow
1/27/2003; 10:32:35 PM (reads: 1458, responses: 0)
Another note, it appears as though the "kpsewhich" command is running for quite a long time when you generate a page in typeset2 mode. However, the original "typeset" mode appears to be working fine.

<| Post or View Comments |>


userJohn Jones - Re: Very large CPU Usage for WK 1.8?  blueArrow
1/28/2003; 9:42:56 AM (reads: 1410, responses: 0)
Hi,

The program kpsewhich locates files for your latex system. Normally, this should not take much time because most tex installations have a database saying where all of its files are so it does not require an actual disk search.

Since you have long runs in typeset2, but not in the original typeset, the natural guess is that preview.sty never made it into the database. It is a latex style file used in typeset2. The installation process for dvipng should have updated the tex file database after installing preview.sty, but maybe something went wrong.

So, the first thing to do is find the program texhash on your system ("which texhash" or "locate texhash" or "find / -name texhash"). Then, run that program as super user.

John

<| Post or View Comments |>


userJason Farmer - Re: Very large CPU Usage for WK 1.8?  blueArrow
1/28/2003; 10:13:46 AM (reads: 1441, responses: 0)
So all I am doing with texhash is updating the database, correct?

<| Post or View Comments |>


userJason Farmer - Re: Very large CPU Usage for WK 1.8?  blueArrow
1/28/2003; 10:21:59 AM (reads: 1430, responses: 0)
I ran the command, it said that it updated the database. Pink pages have been eliminated, and Webwork response time has been greatly imporved. Thank you very much once again for such a useful discussion board, and thank you John.

<| Post or View Comments |>