I cant rebuild. It starts to rebuild and when it has to rebuild the category archive I get this in the error log of the web server:

CODE
read script header timed out


So the code takes too long time to rebuild the category archive page so the browser dies due to an time out.

If I use the mt-rebuild.pl script from the command line it works ok.

Is this a known bug and what can I do to make MT faster in rebuilding?

The problem is building an category which has 367 entriesin it.