We're encountering a Pulp Timeout similar to https://bugzilla.redhat.com/show_bug.cgi?id=752352 While researching this issue, we came across http://www.redhat.com/archives/spacewalk-list/2011-September/msg00191.html has some useful generic PostgreSQL tuning hints. According to the thread, this may help with 500 Internal Server errors.