Can't delete users - timeout!

My server is currently lagging but I need to delete several spambots. The problem is that now when I try to delete any user the page loads and loads and then gives a server error:

mod_fcgid: read data timeout in 360 seconds

Where can I change the timeout? I've already browsed through the php.ini but didn't find anything useful.