[wp-trac] [WordPress Trac] #46645: Site health: timeout on the "Info" tab

WordPress Trac noreply at wordpress.org
Mon Mar 25 23:30:30 UTC 2019


#46645: Site health: timeout on the "Info" tab
--------------------------+---------------------
 Reporter:  azaozz        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.2
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  site-health   |     Focuses:
--------------------------+---------------------

Comment (by azaozz):

 Replying to [comment:2 pento]:

 Yeah, ideally we should (be able to) get the sizes directly from the
 filesystem. Wondering if `glob()` may be faster, at least no need to loop
 in PHP to get each file size. If not, perhaps can try using `exec()` or
 `shell_exec()` or `system()` but these will probably be disabled on many
 hosts.

 If none of the above works, perhaps we can set a "sensible" value to limit
 that loop. As far as I see the size of the plugins and themes dirs would
 be nice to have, but is not strictly essential debug info :)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46645#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list