Title: Implement New Theme: Runaway Apache processes
Last modified: June 1, 2023

---

# Implement New Theme: Runaway Apache processes

 *  [mcyzyk](https://wordpress.org/support/users/mcyzyk/)
 * (@mcyzyk)
 * [3 years ago](https://wordpress.org/support/topic/implement-new-theme-runaway-apache-processes/)
 * I am trying to implement a custom theme that a vendor has created on our WordPress
   Multisite. Basically, it’s just a more feature-rich version of the theme we are
   already running there.
 * I swap in the code, and then…
 * All hell breaks loose: Apache starts spawning all these processes until all the
   RAM is chewed up and the server freezes.
 * I should mention, this is all on a plain vanilla CentOS, Apache, mod-php WP Multisite
   that’s been running several sites for years.
 * As far as I can tell there is nothing wrong with this new Theme. It runs fine
   on our Development Multisite. It runs fine on a copy of one of our sites that
   I’ve duplicated to my local workstation.
 * At first I thought there might be some kind of pre-caching happening, but we 
   disabled our problematic cache plugin a while back.
 * Any idea why a new Theme might trigger an out of control spawning of Apache processes?
 * We tried switching to php-fpm. No Joy. (Plus, when on php-fpm all our Admin pages
   were screwed up, like styles missing, etc.)
 * I am not seeing any Clues in the logs.
 * Vexed,
 * Mark
    -  This topic was modified 3 years ago by [James Huff](https://wordpress.org/support/users/macmanx/).
      Reason: moved to Networking WordPress since this is a multisite problem

Viewing 1 replies (of 1 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years ago](https://wordpress.org/support/topic/implement-new-theme-runaway-apache-processes/#post-16792272)
 * What you describe sounds to me like an infinite loop that is triggered by something
   in your custom theme and can’t be stopped. Since we don’t know your theme here,
   it’s hard to say.
 * Maybe the developer developed and tested the theme only in a certain WordPress
   version and you are using another (newer) one with which something in the theme
   is not compatible.
 * My recommendation would be to have a look at what the theme does when it is called.
   Debug the steps until you get to the point that generates these requests. The
   developer should be able to help you.

Viewing 1 replies (of 1 total)

The topic ‘Implement New Theme: Runaway Apache processes’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 1 reply
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/implement-new-theme-runaway-apache-processes/#post-16792272)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
