This topic has 11 replies, 3 voices, and was last updated 9 years by itt.

  • Author
  • #26006
     Harlock_
    Participant

    On http://tools.pingdom.com/ testing my website the loading of the file admin-ajax.php takes a lot of time.
    If “Enable Likes by Ajax” option is ON in the theme options multiple instances of the file is loaded taking the total load of page over 10 seconds.
    What’s the cause?
    Thanks,
    Francesco

    #26008
     Harlock_
    Participant

    You can find my website (still under construction) at http://socceracademy.pro.

    #26237
     itt
    Participant

    HI Dear

    did you fix the issue ?

    my site is on VPS but admin-ajax using 90000 hit per hour is killing me really !!
    did you find any solution for it ?

    what i seen in internet many users have same issue and suffering from this php file
    the pro’s suggesting to disable hearbeat API in function.php but im not sure will effect the theme performance or loading activity and so …

    cheers

    #26248
     Harlock_
    Participant

    I tried to deactivate it but theme doesn’t work perfectly this way.
    So i have to re-activate it waiting for some response by the authors.
    Good luck,
    Francesco

    #26254
     leonardoarias
    Participant

    Hi @harlock_

    That is a memory issue. You need to increment the memory limit in wp-config.php

    I experienced the same problem, and fixed it by increasing the memory limit. I have a dedicated server so I am able to manage that. If you are hosting in a shared server, you may need to contact your service provider to increase the memory limit.

    Regards.

    #26257
     itt
    Participant

    HI@leonardoarias

    yes i did that ( Memory limit ) and help little not much . i kept it on 64 , did you put it higher ?

    cheers

    #26258
     itt
    Participant

    Author answer to me in this link

    #26259
     itt
    Participant
    #26260
     leonardoarias
    Participant

    My developer put 1GB for the memory limit. I know it’s high but we got the resources. Not so sure why he went so high. Since then, my site runs flawlessly.


    @itt

    #26261
     itt
    Participant

    thanks dear

    im on VPS and i have limit till 1GB but im not risking it 🙂
    ill try 256 to see how it goes

    thanks for sharing

    @leonardoarias

    #26263
     itt
    Participant

    OOPS .. i increase it to 256M and my CPU usage jump to 10.2 !!!! woww

    #26268
     itt
    Participant

    my hosting said i can increase till 1GB , for now i kept it on 512M memory limit and CPU usage dropped 80% and site is loading much faster

    thanks for suggestion


    @leonardoarias

Viewing 12 posts - 1 through 12 (of 12 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?