Title: Slow function
Last modified: August 30, 2021

---

# Slow function

 *  [Denis Pintilie](https://wordpress.org/support/users/denisflorin197/)
 * (@denisflorin197)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/slow-function/)
 * Hello,
 * Please take a look at the stack trace below:
 *     ```
       [30-Aug-2021 14:18:14] WARNING: [pool www] child 113509, script '/app/web/index.php' (request: "GET /index.php") executing too slow (66.240398 sec), logging
       [30-Aug-2021 14:18:14] NOTICE: child 113509 stopped for tracing
       [30-Aug-2021 14:18:14] NOTICE: about to trace 113509
   
       [30-Aug-2021 14:18:14]  [pool www] pid 113509
       script_filename = /app/web/index.php
       [0x00007fce318143e0] getimagesize() /app/web/wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php:1956
       [0x00007fce318142d0] saswp_get_attachment_details() /app/web/wp-content/plugins/schema-and-structured-data-for-wp/output/service.php:5168
       [0x00007fce318140c0] saswp_get_fetaure_image() /app/web/wp-content/plugins/schema-and-structured-data-for-wp/output/output.php:2238
       [0x00007fce31813c40] saswp_schema_output() /app/web/wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:265
       [0x00007fce318138d0] saswp_get_all_schema_markup_output() /app/web/wp-content/plugins/schema-and-structured-data-for-wp/output/function.php:128
       [0x00007fce31813810] saswp_schema_markup_output() /app/web/wp-includes/class-wp-hook.php:303
       [0x00007fce31813730] apply_filters() /app/web/wp-includes/class-wp-hook.php:327
       [0x00007fce318136c0] do_action() /app/web/wp-includes/plugin.php:470
       [0x00007fce318135e0] do_action() /app/web/wp-includes/general-template.php:3015
       [0x00007fce31813590] wp_head() /app/web/wp-content/themes/astra/header.php:26
       [0x00007fce31813530] [INCLUDE_OR_EVAL]() /app/web/wp-includes/template.php:770
       [0x00007fce318133d0] load_template() /app/web/wp-includes/template.php:716
       [0x00007fce318132e0] locate_template() /app/web/wp-includes/general-template.php:48
       [0x00007fce31813230] get_header() /app/web/wp-content/themes/astra/single.php:15
       [0x00007fce318131c0] [INCLUDE_OR_EVAL]() /app/web/wp-includes/template-loader.php:106
       [0x00007fce31813100] [INCLUDE_OR_EVAL]() /app/web/wp-blog-header.php:19
       [0x00007fce31813070] [INCLUDE_OR_EVAL]() /app/web/index.php:17
       [30-Aug-2021 14:18:14] NOTICE: finished trace of 113509
       ```
   
 * getimagesize() – this function is running very slow and it’s causing 504 timeouts
   on the website.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/slow-function/#post-14827538)
 * Can you please share URL of your website once? So thay we will go through it 
   and get back to you immediately.
 *  Thread Starter [Denis Pintilie](https://wordpress.org/support/users/denisflorin197/)
 * (@denisflorin197)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/slow-function/#post-14828211)
 * Here is the link [https://humiditycheck.com/](https://humiditycheck.com/)
 *  Plugin Support [Sanjeev Kumar](https://wordpress.org/support/users/sanjeevsetu/)
 * (@sanjeevsetu)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/slow-function/#post-14849917)
 * Hi there!
 * Can you check if the transient named “saswp_imageobject_” are being created or
   not at your end because we cache resized image size in it. so that getimagesize
   do not run again and again?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Slow function’ is closed to new replies.

 * ![](https://ps.w.org/schema-and-structured-data-for-wp/assets/icon-256x256.png?
   rev=1922284)
 * [Schema & Structured Data for WP & AMP](https://wordpress.org/plugins/schema-and-structured-data-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/schema-and-structured-data-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Sanjeev Kumar](https://wordpress.org/support/users/sanjeevsetu/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/slow-function/#post-14849917)
 * Status: not resolved