• Resolved mmwbadmin

    (@mmwbadmin)


    Hi,
    My UCSS cron runs with an irregular interval. It takes a couple of days to have over one hundred posts/pages processed. Sometimes 6 posts are processed in a few minutes and then nothing happens for 6 hours. Cron should run every minute.

    Starting cron by hand doesn’t work.

    I have debug (admin only) turned on: waiting for something to appear in the log file.

    Any idea?

    Report PZASOXIO

    • This topic was modified 1 year, 11 months ago by mmwbadmin.

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support qtwrk

    (@qtwrk)

    on that “6 hours” , if you manually click force cron , does it move ?

    Thread Starter mmwbadmin

    (@mmwbadmin)

    Hi @qtwrk ,

    I’m afraid not. For quite some time “Force cron” seems out of order. Hence my
    “Starting cron by hand doesn’t work” remark.

    Today (13 dec 2022) UCSS jobs ran at
    09:16
    07:58
    07:39
    01:59`
    while queue size > 200

    and UCSS cron runs every minute …

    Plugin Support qtwrk

    (@qtwrk)

    please try , enable debug log , then manual cron it , see what log says , it would give some hint

    Thread Starter mmwbadmin

    (@mmwbadmin)

    Hi @qtwrk ,

    Installed v5.3.1 the other day. Today ‘force cron’ worked just once.

    Now it’s back to same behaviour. UCSS queue = 264. No progress.
    Debug (admin only) is on all the time, but no data on ucss cron. Even when I force cron

    Thread Starter mmwbadmin

    (@mmwbadmin)

    Switched debug to on:

    12/14/22 18:51:48.073 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php ? page=litespeed&LSCWP_CTRL=ucss&LSCWP_NONCE=e85f8735fc...
    12/14/22 18:51:48.073 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] HTTP_REFERER: https://www.mmwb.nl/wp-admin/admin.php?page=litespeed
    12/14/22 18:51:48.073 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] User Agent: Mozilla/5.0 (X11; CrOS x86_64 15183.59.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
    12/14/22 18:51:48.073 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
    12/14/22 18:51:48.073 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] Accept Encoding: gzip, deflate, br
    12/14/22 18:51:48.073 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
    12/14/22 18:51:48.073 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] X-LSCACHE: true
    12/14/22 18:51:48.073 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] LSCACHE_VARY_VALUE: +webp
    12/14/22 18:51:48.224 [114.119.157.17:56897 1 W1I] ?? ------GET HTTP/1.1 (HTTPS) /regio/europa/page/62/
    12/14/22 18:51:48.224 [114.119.157.17:56897 1 W1I] HTTP_REFERER: https://www.mmwb.nl/regio/europa/page/61/
    12/14/22 18:51:48.224 [114.119.157.17:56897 1 W1I] User Agent: Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
    12/14/22 18:51:48.224 [114.119.157.17:56897 1 W1I] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    12/14/22 18:51:48.224 [114.119.157.17:56897 1 W1I] Accept Encoding: gzip, deflate
    12/14/22 18:51:48.224 [114.119.157.17:56897 1 W1I] X-LSCACHE: true
    12/14/22 18:51:48.224 [114.119.157.17:56897 1 W1I] LSCACHE_VARY_VALUE: +ismobile
    12/14/22 18:51:48.285 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] ?? No cache due to Admin page
    12/14/22 18:51:48.316 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Ctrl] X Cache_control -> private ( logged in user )
    12/14/22 18:51:48.317 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Media] init
    12/14/22 18:51:48.317 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [LQIP] init
    12/14/22 18:51:48.318 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [CDN] init
    12/14/22 18:51:48.318 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Router] CDN bypassed: is not ajax call
    12/14/22 18:51:48.318 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Router] CDN bypassed: ajax call from admin
    12/14/22 18:51:48.318 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] ? Task init
    12/14/22 18:51:48.319 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Router] LSCWP_CTRL: ucss
    12/14/22 18:51:48.319 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Router] LSCWP_CTRL verified: 'ucss'
    12/14/22 18:51:48.320 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Router] parsed type: gen => LiteSpeed\Router::verify_type()@463 => LiteSpeed\UCSS->handler()@552 => LiteSpeed\Router->handler(ucss)@748
    12/14/22 18:51:48.322 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] ?? 301 from https://www.mmwb.nl/wp-admin/admin.php
    12/14/22 18:51:48.322 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] ?? 301 to https://www.mmwb.nl/wp-admin/admin.php?page=litespeed
    12/14/22 18:51:48.322 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] ?? Compare [from] https [to] https
    12/14/22 18:51:48.322 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] ?? Compare [from] www.mmwb.nl [to] www.mmwb.nl
    12/14/22 18:51:48.323 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] ?? Compare [from] /wp-admin/admin.php [to] /wp-admin/admin.php
    12/14/22 18:51:48.323 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] ?? Compare [from] page=litespeed&LSCWP_CTRL=ucss&LSCWP_NONCE=e85f8735fc&litespeed_type=gen [to] page=litespeed
    12/14/22 18:51:48.323 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] ?? 301 different redirection
    12/14/22 18:51:48.324 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] ?? [Tag] Add --- HTTP.302
    12/14/22 18:51:48.324 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Core] CHK html bypass: miss footer const
    12/14/22 18:51:48.324 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Ctrl] not cacheable before ctrl finalize
    12/14/22 18:51:48.325 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Router] get_role: administrator
    12/14/22 18:51:48.325 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Vary] role in vary_group [group] 99
    12/14/22 18:51:48.325 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Vary] show_admin_bar_front: true
    12/14/22 18:51:48.326 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Vary] admin bar : true
    12/14/22 18:51:48.326 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Vary] no custimzed vary
    12/14/22 18:51:48.326 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Ctrl] ? forced no cache [reason] DONOTCACHEPAGE const
    12/14/22 18:51:48.326 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] ?? X-LiteSpeed-Cache-Control: no-cache
    12/14/22 18:51:48.327 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] [Core] CHK html bypass: miss footer const
    12/14/22 18:51:48.327 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.0.26',
    1 => 'X-LiteSpeed-Tag: 231_tag_priv,public:231_HTTP.302',
    2 => 'X-Redirect-By: WordPress',
    3 => 'Location: https://www.mmwb.nl/wp-admin/admin.php?page=litespeed',
    4 => 'X-LiteSpeed-Cache-Control: no-cache',
    )
    12/14/22 18:51:48.327 [2a02:a44e:391e:1:8d6f:dcb4:dc73:b756:39796 1 Sw3] End response
    Thread Starter mmwbadmin

    (@mmwbadmin)

    Hi @qtwrk ,

    Situation is slightly better. Larger chunks of posts/pages are processed for UCSS in a reasonable time frame. “Force Cron” worked once (see above) but is now back to just “a page refresh”.

    Latest UCSS timestamp on QUIC.cloud (e.g. 16:21) and LSCWP dashboard (e.g. 18:05) are out of sync.

    • This reply was modified 1 year, 11 months ago by mmwbadmin.
    Thread Starter mmwbadmin

    (@mmwbadmin)

    Hi @qtwrk , UCSS generation never comes to a close. Today 2 pages have been processed so far (timestamped 00:51 and 07:41). Queue = 292

    Force cron has no effect. Looks like a page refresh, nothing happens

    • This reply was modified 1 year, 11 months ago by mmwbadmin.
    Plugin Support qtwrk

    (@qtwrk)

    from the QC dashboard , it looks like UCSS generates every now and then across the entire day

    have you checked/counted the generated UCSS file in /wp-content/litespeed/ucss ?

    Thread Starter mmwbadmin

    (@mmwbadmin)

    Hi @qtwrk

    Yes, UCSS generates every now and then across the day. Over the last few days the number of generated CSS files in /wp-content/litespeed/ucss was:

    Dec 16 : 40
    Dec 17 : 10
    Dec 18 : 120
    Dec 19 : 30
    Dec 20 : 70 (today)

    Today at 16:25 last generated CSS file is timestamped at 13:18. Queue = 172. Active node = 12

    ‘Force cron’ still out of order.

    Regards

    Thread Starter mmwbadmin

    (@mmwbadmin)

    Hi @qtwrk ,

    This is log for clicking “Force cron”:

    12/20/22 18:47:06.072 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php ? page=litespeed-page_optm&LSCWP_CTRL=ucss&LSCWP_NONCE=...
    12/20/22 18:47:06.072 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] HTTP_REFERER: https://www.mmwb.nl/wp-admin/admin.php?page=litespeed-page_optm
    12/20/22 18:47:06.072 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] User Agent: Mozilla/5.0 (X11; CrOS x86_64 15183.69.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
    12/20/22 18:47:06.072 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
    12/20/22 18:47:06.072 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] Accept Encoding: gzip, deflate, br
    12/20/22 18:47:06.072 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] Cookie _lscache_vary: 3b37e02470c3b8a5a8ef0f71290db657
    12/20/22 18:47:06.072 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] X-LSCACHE: true
    12/20/22 18:47:06.072 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] LSCACHE_VARY_VALUE: +webp
    12/20/22 18:47:06.278 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] ?? No cache due to Admin page
    12/20/22 18:47:06.298 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Ctrl] X Cache_control -> private ( logged in user )
    12/20/22 18:47:06.298 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Media] init
    12/20/22 18:47:06.299 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [LQIP] init
    12/20/22 18:47:06.299 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [CDN] init
    12/20/22 18:47:06.299 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Router] CDN bypassed: is not ajax call
    12/20/22 18:47:06.300 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Router] CDN bypassed: ajax call from admin
    12/20/22 18:47:06.300 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] ? Task init
    12/20/22 18:47:06.300 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Router] LSCWP_CTRL: ucss
    12/20/22 18:47:06.301 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Router] LSCWP_CTRL verified: 'ucss'
    12/20/22 18:47:06.302 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Router] parsed type: gen => LiteSpeed\Router::verify_type()@463 => LiteSpeed\UCSS->handler()@552 => LiteSpeed\Router->handler(ucss)@748
    12/20/22 18:47:06.303 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] ?? 301 from https://www.mmwb.nl/wp-admin/admin.php
    12/20/22 18:47:06.303 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] ?? 301 to https://www.mmwb.nl/wp-admin/admin.php?page=litespeed-page_optm
    12/20/22 18:47:06.303 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] ?? Compare [from] https [to] https
    12/20/22 18:47:06.304 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] ?? Compare [from] www.mmwb.nl [to] www.mmwb.nl
    12/20/22 18:47:06.304 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] ?? Compare [from] /wp-admin/admin.php [to] /wp-admin/admin.php
    12/20/22 18:47:06.304 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] ?? Compare [from] page=litespeed-page_optm&LSCWP_CTRL=ucss&LSCWP_NONCE=e2780b0707&litespeed_type=gen [to] page=litespeed-page_optm
    12/20/22 18:47:06.304 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] ?? 301 different redirection
    12/20/22 18:47:06.305 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] ?? [Tag] Add --- HTTP.302
    12/20/22 18:47:06.305 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Core] CHK html bypass: miss footer const
    12/20/22 18:47:06.305 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Ctrl] not cacheable before ctrl finalize
    12/20/22 18:47:06.306 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Router] get_role: administrator
    12/20/22 18:47:06.306 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Vary] role in vary_group [group] 99
    12/20/22 18:47:06.306 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Vary] show_admin_bar_front: true
    12/20/22 18:47:06.307 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Vary] admin bar : true
    12/20/22 18:47:06.307 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Vary] set_cookie ---> admin_bar:1;logged-in:1;role:99;role_exclude_cache:1
    12/20/22 18:47:06.307 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Vary] no custimzed vary
    12/20/22 18:47:06.308 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Ctrl] ? forced no cache [reason] DONOTCACHEPAGE const
    12/20/22 18:47:06.308 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] ?? X-LiteSpeed-Cache-Control: no-cache
    12/20/22 18:47:06.308 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] [Core] CHK html bypass: miss footer const
    12/20/22 18:47:06.309 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.0.26',
    1 => 'X-LiteSpeed-Tag: 231_tag_priv,public:231_HTTP.302',
    2 => 'X-Redirect-By: WordPress',
    3 => 'Location: https://www.mmwb.nl/wp-admin/admin.php?page=litespeed-page_optm',
    4 => 'Set-Cookie: _lscache_vary=admin_bar%3A1%3Blogged-in%3A1%3Brole%3A99%3Brole_exclude_cache%3A1; expires=Thu, 22-Dec-2022 17:47:06 GMT; Max-Age=172800; path=/; secure; HttpOnly',
    5 => 'X-LiteSpeed-Cache-Control: no-cache',
    )
    12/20/22 18:47:06.309 [2a02:a44e:391e:1:e4f4:776b:2651:b60c:40368 1 U6q] End response
    Plugin Support qtwrk

    (@qtwrk)

    the log looks weird , it does not even POSTing to UCSS node

    I was exepcting something like

    
    
    12/21/22 02:00:25.970 [79.116.26.106:61202 1 xJV] [UCSS] Checking combined file /home/litespeedtest/public_html/wp-content/litespeed/css/ef2681ff2ba715a18e7baa7d73f625b2.css
    12/21/22 02:00:25.971 [79.116.26.106:61202 1 xJV] [UCSS] Generating: --- array (
    'url' => 'https://test.mydomain.com',
    'queue_k' => ' https://test.mydomain.com',
    'user_agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54',
    'is_mobile' => 0,
    'is_webp' => 1,
    'html' => ' test wp – Just another WordPress site '.wp-block-archives-dropdown label{display:block}.wp-block-avatar{box-sizing:border-box}.wp-block-avatar.aligncenter{text-align:center}.wp-block-audio{box-sizing:border-box}.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button__link{cursor:pointer;display:inline-block;text-align:center;word-break:break-word;box-sizing:border-box}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}:where(.wp-block-button__link){box-shadow:none;text-decoration:none;border-radius:9999px;padding:calc(.667em + 2px) calc(1.333em + 2px)}.wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>….',
    'whitelist' =>
    array (
    0 => '.pace-inactive',
    1 => '.et_pb_number_counter.active',
    ),
    )
    12/21/22 02:00:25.980 [79.116.26.106:61202 1 xJV] ?? posting to : https://node123.quic.cloud/queue
    12/21/22 02:00:28.310 [79.116.26.106:61202 1 xJV] ?? Carry_on usage --- array (
    'usage' =>
    array (
    'total_used' => '30',
    'used' => '30',
    'quota' => '2000',
    'daily_quota' => '200',
    'remaining_daily_quota' => '197',
    'pag_used' => '0',
    'pag_bal' => '0',
    'pkgs' => '4',
    ),
    'promo' => '',
    )
    12/21/22 02:00:28.319 [79.116.26.106:61202 1 xJV] ?? response ok --- array (
    'status' => 'queued',
    )
    12/21/22 02:00:28.323 [79.116.26.106:61202 1 xJV] [UCSS] Saved to queue [k] https://test.mydomain.com
    

    could you please give me one example URL that doesn’t have UCSS yet ?

    Thread Starter mmwbadmin

    (@mmwbadmin)

    Plugin Support qtwrk

    (@qtwrk)

    please create a ticket by mail to support at litespeedtech.com with reference link to this topic

    we will investigate further.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘UCSS cron starts 12 times a day’ is closed to new replies.