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]
- what does O(N) mean [duplicate]
- Measure the time it takes to execute a t-sql query
- Which Python memory profiler is recommended? [closed]
- What is the difference between spark.sql.shuffle.partitions and spark.default.parallelism?
- What is the difference between set and hashset in C++ STL?
- Is Python faster and lighter than C++?
- When should we use Radix sort?
- Java check if boolean is null
- What is the best way to profile javascript execution?
- the asymptotic growth of n choose floor(n/2)
- How to parallelize downloads across hostnames on WordPress?
- How to parallelize downloads across hostnames on WordPress?
- Steps to optimize WordPress in regard to server load and website speed?
- How well does WordPress scale?
- What are the best practices for using a caching plugin on a shared host?
- Slow Query for the wp_options table
- What is the best caching option for WordPress multi-site on non-shared hosting?
- How can I debug the TTFB in WP?
- 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!
- Localized WordPress is much slower?
- How many posts can I have in a WordPress website?
- WordPress so slow to load on MAMP
- Do multiple revisions really slow down WordPress?
- get_adjacent_post alternative on a very large db
- Should I use Transients with W3 Total Cache APC Caching? [closed]
- Fastest server stack configuration for WordPress?
- Cache WordPress translations
- Memory needed to host 200 wordpress sites?
- Website is slow: advice on optimization
- Can we have a post without a slug?
- Refresh external feeds only in cron?
- Use override_load_textdomain for cache translation and improve performance
- What is the proper use of https in a modern E-Commerce environment?
- Any reason why wp_cache_set not to work?
- Will removing revisions positively impact database performance?
- Is WordPress fast enough for a heavy traffic project?
- What are best practices for configuring a server for WordPress sites?
- Extremely slow WordPress website with 6000 posts
- 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
- Get Y random authors’ ID/Object with more than X number of posts
- What is a reasonable get_num_queries() result?
- Speeding Up Bulk Post Creation – wp_insert_post & update_post_meta
- How to properly insert a stylesheet in wp_head
- Performance impact of using functions in WordPress?
- Localization / textdomain is slow and chaotic
- Disable Outbound Web Requests
- WordPress performance issue. Can I debug it?
- Hardcoding and WordPress Performance
- Using Multiple Queries of “home_url” vs. Calling a Variable Multiple Times
- What should be disabled to run on an internal network with no access to the Internet?
- Does running WordPress on Nginx do “squat” for its performance?
- The effect of spam comments on hosting resource usage (CPU)
- How much will mounting wp-content on a separate NFS server impact performance?
- Could a higher number of registered image sizes affect performance?
- What other plugins are there available to track app performance for wordpress?
- Memory usage for scalable usermeta queries
- Combining multiple javascript and css files
- Why can’t /wp-login.php be load balanced?
- Image Preloading
- WordPress Meta description – is it better to use manual configuration?
- Preload external PHP information
- Performance impact of using global $post
- PHP 5.5, w3 Total Cache, and opcache [closed]
- Removing translation textdomain
- WordPress site is sloooow, but admin is fast….any ideas?
- WordPress Scalability – One Instance or Several?
- What Is The Best Method/Tool To Investigate WordPress Internal Performance?
- AWS (or others) vs VPS
- 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
- WordPress 3+ slow load times on Ubuntu 10.10
- WordPress Caching On Demand
- Is there a real benefit in using wordpress optimized hosting?
- What is better to use, user meta, custom taxonomies or new database structure? [closed]
- how to find and correct plugin query performance issues
- Point static content like css and js to cookieless subdomain
- upper limit on concurrent editing?
- How to preload images through Code Snippets wp_head for specific pages?
- TTFB increased for no reason
- Native Lazy Loading on Safari
- Page taking time in loading. Also used lazy loading but doesn’t work?