• The below request is consuming the whole server resources, any solution to this?
    
    /wp-json/wp/v2/posts?_embed&per_page=10
    
    Request count 200 to 300 in 30 minutes

    “GET /wp-json/wp/v2/posts?_embed&per_page=10 HTT P/1.0” 200 74813 “-” “okhttp/4.9.1”

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator James Huff

    (@macmanx)

    Referencing https://www.ads-software.com/support/topic/cpu-and-ram-usage-high-after-activation/ does this continue if Easy Table of Contents is deactivated?

    Thread Starter manukkd

    (@manukkd)

    It is not related to Easy Table of Contents. Still hitting after the deactivation.

    My hosting provider warn me about over CPU usage and they have shared a Get request hitting to my server, I will share the request here hitting to my server. currently, I have disabled all Rest API requests by using a plugins. but still hitting the request and currently, it’s accessible to public
    
    some requests are as follows, now it is hitting more than 300 requests per 15 minute
    
    “GET /wp-json/wp/v2/posts?_embed&per_page=10 H TTP/1.0” 401 935 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36”
    
    “GET /wp-json/wp/v2/posts?_embed&per_page=10 HT TP/1.0” 401 935 “-” “okhttp/4.9.2”
    
    Any Solution on this?
    Moderator James Huff

    (@macmanx)

    Ok, referencing https://www.ads-software.com/support/topic/rest-api-request-cause-over-cpu-usage/ does this continue if Wordfence is deactivated?

    Thread Starter manukkd

    (@manukkd)

    does this continue if Wordfence is deactivated?

    yes

    Thread Starter manukkd

    (@manukkd)

    I have deactivated all the plugins, still it is hitting

    Moderator James Huff

    (@macmanx)

    Does it continue if you switch to the Twenty Twenty One theme?

    Thread Starter manukkd

    (@manukkd)

    I haven’t tried that

    Shall I try with switch to Twenty Twenty One theme?

    Thread Starter manukkd

    (@manukkd)

    see some more hittings to the server

    /wp-json/wp/v2/posts?_embed&per_page=10
    598

    /wp-json/wp/v2/posts?_embed=1&search=carifour%20job&orderby=date&per_page=5
    1
    /wp-json/wp/v2/posts?_embed=1&search=restuarant%20supervisor%20in%20uAe&orderby=date&per_page=5
    1

    /wp-json/wp/v2/posts?_embed=1&search=restuarant%20job%20in%20dubai&orderby=date&per_page=5
    1
    /wp-json/wp/v2/posts?_embed=1&search=souschef%20vacancy&orderby=date&per_page=5
    1

    //wp-json/wp/v2/users/`

    • This reply was modified 3 years ago by manukkd.
    Moderator James Huff

    (@macmanx)

    Shall I try with switch to Twenty Twenty One theme?

    Yes.

    Does it continue if you switch to the Twenty Twenty One theme?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘server resources issue wp-json’ is closed to new replies.