Hotel Booking Memory Leak: Broken Website

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1211252
    Corey Benoit
    Participant

    Hi there,

    Today I am having quite the issue with your plugin.

    I simply edited the permalink for an accommodation and it broke my whole website.

    It is spiking my whole memory up to 1.56GB – 1.81GB on my cPanel hosting, and every time I get the host to clear the 1 process that is still running, it works again. I load the website, then it happens again.

    The website cannot load and gets an internal 500 error due to the memory leak.

    I get them to clear the process again, and then try disabling the “Hotel Booking” plugin and this does not happen anymore.

    I have a lot of content edited and written on there since my last roll back and it is completely halting my development that is due soon.

    I need help as soon as possible.

    #1211253
    Corey Benoit
    Participant

    [09-Nov-2021 00:30:10 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 00:42:01 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 00:54:11 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 00:54:39 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 00:54:50 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/season.php on line 78
    [09-Nov-2021 00:55:11 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/season-price.php on line 197
    [09-Nov-2021 00:55:38 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/season-price.php on line 197
    [09-Nov-2021 00:55:44 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/season.php on line 78
    [09-Nov-2021 00:59:48 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:00:14 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:00:44 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/season.php on line 75
    [09-Nov-2021 01:01:09 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:01:52 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:01:58 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:02:28 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:02:29 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:02:38 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/season.php on line 75
    [09-Nov-2021 01:03:43 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/season.php on line 75
    [09-Nov-2021 01:03:59 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/season.php on line 75
    [09-Nov-2021 01:04:46 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:04:54 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 10485760 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/season-price.php on line 201
    [09-Nov-2021 01:07:12 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:16:32 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:16:48 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20971520 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/rate.php on line 169
    [09-Nov-2021 01:17:59 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:26:05 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:29:47 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:40:45 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:47:53 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:47:59 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2097160 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/season.php on line 78
    [09-Nov-2021 01:49:16 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:49:20 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/season.php on line 75
    [09-Nov-2021 01:50:52 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:50:56 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:53:49 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 01:53:53 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 02:05:53 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 02:05:58 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 8388616 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/entities/season.php on line 78
    [09-Nov-2021 02:06:33 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13
    [09-Nov-2021 02:06:36 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/floweran/heartlake.leadlaunch.ca/wp-content/plugins/motopress-hotel-booking/includes/utils/date-utils.php on line 13

    #1212468
    Corey Benoit
    Participant

    It seems that the issue happened shortly after I set the AirBNB sync, and I flushed the hotel booking databases to start fresh since it’s only in development.

    This is a complete flaw in your plugin, and is rendering it almost too unstable for me to even use! How can my clients rely on the most important feature when this is an issue that has not been addressed after months?

    The issue is the same as this:

    Very high cpu usage, sync calls every second

    #1212646
    Andre Flores
    Moderator

    Hello Corey,

    The issue may indeed occur because of the database overload with synchronization logs. First of all, you should make sure to delete all the logs under Calendar Sync Status tab at the top admin bar and then set the “Automatically delete sync logs older then” option to Day.
    Also, check so your Hotel Booking plugin is up-to-date (v. 4.0.0), as we have implemented an improvement regarding sync logs in the latest version, so it should work much better now with ALL the sync logs being removed in set interval.
    You may also set the shorter sync logs deletion interval via Cron.

    Regards,
    Andre

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.