When dealing with any server configurations you want to setup some sort of safety to avoid this kind of processes running infinitely.
PHP already provides you some tools to do it, and it’s pretty easy.
– exit_on_timeout
– max_execution_time
You will need to find a safe spot for what you are running inside of your WordPress installation.
If you want more detailed information you might want to do this same question on ServerFault
Related Posts:
- What’s the ideal way to profile WordPress memory usage?
- W3 Leverage browser caching not working for google pagespeed [closed]
- Combine JS and CSS for WordPress admin
- Does a WP site consumes memory resources when there are NO visitors?
- How can WordPress be made more memory efficient?
- How many caching plugins should be used?
- Downsize CPU & DB usage in wordpress
- Do WP_debug notices explain why my site runs so slow?
- How to disable Vary cache header on W3Total Cache plugin [closed]
- W3 Total Cache: use cache for request with ignorable query string [closed]
- Minifing js files with w3 total cache and expiring the combined file [closed]
- To what degree can use of caching-plugins and a CDN boost WordPress performance? [closed]
- Measure the time it takes to execute a t-sql query
- Which Python memory profiler is recommended? [closed]
- Java check if boolean is null
- How well does WordPress scale?
- What are the best practices for using a caching plugin on a shared host?
- What is the best caching option for WordPress multi-site on non-shared hosting?
- What’s the difference between wp_insert_user() and wp_create_user()
- How to fix wordpress slow first time load (Local Server)?
- WordPress SLOW, tried everything!
- WordPress so slow to load on MAMP
- Do multiple revisions really slow down WordPress?
- get_adjacent_post alternative on a very large db
- Fastest server stack configuration for WordPress?
- Refresh external feeds only in cron?
- What is the proper use of https in a modern E-Commerce environment?
- Any reason why wp_cache_set not to work?
- What are best practices for configuring a server for WordPress sites?
- In terms of performance – Is unmanaged VPS better than a managed one – for WP sites?
- Utilize WordPress Authentication Only
- WordPress tries to load “next page” after done loading current page
- WordPress database becoming huge. How to analyze and optimize it? fear of running out of memory
- Performance impact of using functions in WordPress?
- Localization / textdomain is slow and chaotic
- WordPress performance issue. Can I debug it?
- How much will mounting wp-content on a separate NFS server impact performance?
- Image Preloading
- WordPress Meta description – is it better to use manual configuration?
- Performance impact of using global $post
- Removing translation textdomain
- WordPress site is sloooow, but admin is fast….any ideas?
- WordPress Scalability – One Instance or Several?
- Do I manually minify css code in my main theme or child theme?
- Is post_class(); going to slow WordPress page speed
- cross-host benchmarking with wordpress
- Performance problem with first load
- Is there a real benefit in using wordpress optimized hosting?
- How to preload images through Code Snippets wp_head for specific pages?
- TTFB increased for no reason
- How to cache a different page version based on HTTP header?
- Can the page load time depend on incidence of visiting?
- Preload Cache for thousands of posts may be on non-production environment
- Is it possible to make WordPress PHP faster through caching or compiling it?
- Debugging high CPU usage during periods of inactivity
- How accurate is P3 Plugin profiler
- Fatal error: Allowed memory size of 146800640 bytes exhausted (tried to allocate 57 bytes) in public_html/wp-includes/rewrite.php on line 1561
- Optimizing site speed by localizing paths
- get_the_id, get_the_permalink, and get_the_title all with one DB call
- How to optimize on-the-fly theme switching for mobile browsers?
- Wordress importing scripts
- Server Hardware for WordPress [closed]
- Site loading extremely slowly
- Server technical information and first respond time for WordPress
- Avoid loading Facebook buttons and statistics multiple times
- HIgh CPU usage – Will using cache plugins help
- Performance testing a WordPress site locally?
- Speed optimization on WP site, Remove query strings from static resources [duplicate]
- Memory consumption in w3-total-cache vs wp-super-cache? [closed]
- wordpress extremely slow on NAS
- How do you make a site load faster when offloading is not an option?
- Changing WP Object Caching during runtime
- how to embed Pdf and Video Without effecting page speed?
- Slow issues with Website running WordPress on Azure
- My blog load time on Bluehost and Word press is too much. I have slipped in Google Search Ranking
- WordPress is very slow, even it’s not opening sometimes
- Write/saved logs in WordPress
- Best way of coding a theme with multiple languages in WordPress
- How fast can I expect WordPress to be on a fresh install locally?
- What could explain an extremely high TTFB (~20-30s) when not logged in, but then drastically reduced when logged in?
- “edit page” not loading
- Change loading order of blocks
- get_template_part calls amount and performance?
- REST api v2 how can modify respond types and make custom DTO for better performance
- Website is loading twice unnecessarily
- Fatal error: Allowed memory size of bytes exhausted (tried to allocate 36 bytes)
- Why is the server response time slowing my site down? [closed]
- High I/O load when hosting lots of wordpress sites
- How to handle high load of traffic of my server
- How to preload the entire site with javascript?
- How we can reduce wordpress page loading time? [closed]
- How to Aggregate, minify and compress (AMC) static and dynamic resources?
- How to improve my site’s loading time?
- Site load time increased
- WordPress and TTFB (time to first byte) stats
- What’s a good tool for speed benchmarking? [closed]
- TTFB is too slow in back-end [closed]
- What kind of data that 3rd part dependencies using?
- FreeBSD performance tuning: Sysctl parameter, loader.conf, kernel
- How to optimize recaptcha__en.js