• Resolved adnanshawkat

    (@adnanshawkat)


    After updating the plugin our site is getting 502 bad gateway & by investigating figured out that it’s causing issue from the plugin as the plugin is trying to allocate a lot of memory which the server is unable to provide hence it went down. I don’t know what’s going on can you help me figure out what might be causing the issue.

    Here’s the system report:

    
    

    ### WordPress Environment ###

    WordPress address (URL): https://vaccina.se/reseintyg
    Site address (URL): https://vaccina.se/reseintyg
    WC Version: 4.8.0
    REST API Version: ? 4.8.0
    WC Blocks Version: ? 3.8.1
    Action Scheduler Version: ? 3.1.6
    WC Admin Version: ? 1.7.3
    Log Directory Writable: ?
    WP Version: 5.6
    WP Multisite: –
    WP Memory Limit: 4 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: sv_SE
    External object cache: ?

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.3.25
    PHP Post Max Size: 256 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 7.66.0
    OpenSSL/1.1.1g-fips

    SUHOSIN Installed: –
    MySQL Version: 5.7.26-29-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 4.8.0
    WC Database Prefix: uoa_
    Total Database Size: 167.59MB
    Database Data Size: 152.63MB
    Database Index Size: 14.96MB
    uoa_woocommerce_sessions: Data: 4.02MB + Index: 0.13MB + Engine InnoDB
    uoa_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    uoa_woocommerce_order_items: Data: 0.20MB + Index: 0.09MB + Engine InnoDB
    uoa_woocommerce_order_itemmeta: Data: 1.52MB + Index: 1.94MB + Engine InnoDB
    uoa_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    uoa_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uoa_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uoa_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_actionscheduler_actions: Data: 0.39MB + Index: 0.47MB + Engine InnoDB
    uoa_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_actionscheduler_logs: Data: 0.30MB + Index: 0.25MB + Engine InnoDB
    uoa_admin_columns: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_comments: Data: 1.52MB + Index: 0.66MB + Engine InnoDB
    uoa_email_log: Data: 64.55MB + Index: 0.00MB + Engine InnoDB
    uoa_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_itsec_dashboard_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_itsec_distributed_storage: Data: 7.02MB + Index: 0.02MB + Engine InnoDB
    uoa_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    uoa_itsec_logs: Data: 8.02MB + Index: 1.02MB + Engine InnoDB
    uoa_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_itsec_temp: Data: 0.11MB + Index: 0.20MB + Engine InnoDB
    uoa_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uoa_iwp_backup_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uoa_iwp_processed_iterator: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uoa_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uoa_options: Data: 5.03MB + Index: 0.06MB + Engine InnoDB
    uoa_postmeta: Data: 52.17MB + Index: 7.80MB + Engine InnoDB
    uoa_posts: Data: 6.08MB + Index: 0.45MB + Engine InnoDB
    uoa_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    uoa_rank_math_analytics_objects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uoa_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_rank_math_sc_analytics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uoa_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_usermeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    uoa_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    uoa_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uoa_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uoa_wc_customer_lookup: Data: 0.13MB + Index: 0.13MB + Engine InnoDB
    uoa_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_wc_order_product_lookup: Data: 0.23MB + Index: 0.27MB + Engine InnoDB
    uoa_wc_order_stats: Data: 0.20MB + Index: 0.22MB + Engine InnoDB
    uoa_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    uoa_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    uoa_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uoa_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    uoa_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    uoa_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    ### Post Type Counts ###

    attachment: 30
    custom_css: 2
    customize_changeset: 1
    elementor_library: 10
    page: 13
    post: 4
    postman_sent_mail: 250
    product: 1
    product_variation: 2
    revision: 1
    shop_coupon: 18
    shop_order: 1630
    shop_order_refund: 228

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?

    ### Active Plugins (21) ###

    InfiniteWP – Client: by Revmakx – 1.9.4.8
    All-in-One WP Migration: by ServMask – 7.32
    Blocksy Companion: by CreativeThemes – 1.7.46
    Code Snippets: by Code Snippets Pro – 2.14.0
    Duplicate Page: by mndpsingh287 – 4.3
    Elementor Pro: by Elementor.com – 3.0.9
    Elementor: by Elementor.com – 3.0.15
    Email Log: by Sudar – 2.4.3
    Email Override: by Shawon – 1.0 – Installed version not tested with active version of WooCommerce 4.0
    Flexible Checkout Fields PRO: by WP Desk – 2.3.3
    Flexible Checkout Fields: by WP Desk – 2.9.0
    Insert Headers and Footers: by WPBeginner – 1.5.0
    Make Column Clickable Elementor: by Fernando Acosta – 1.3.1
    Post SMTP: by Yehuda Hassine – 2.0.16
    Rank Math SEO: by Rank Math – 1.0.55
    SG Optimizer: by SiteGround – 5.7.12
    WooCommerce Stripe Gateway: by WooCommerce – 4.7.0
    WooCommerce Swish Ecommerce Gateway: by Redlight Media – 4.6.1
    WooCommerce: by Automattic – 4.8.0
    WP STAGING PRO: by WP-STAGING – 3.1.8
    WP-Sweep: by Lester ‘GaMerZ’ Chan – 1.1.3

    ### Inactive Plugins (2) ###

    iThemes Security Pro: by iThemes – 6.8.3
    Klarna Checkout for WooCommerce: by Krokedil – 2.4.1

    ### Dropin Plugins (1) ###

    object-cache.php: Memcached

    ### Must Use Plugins (3) ###

    Elementor Safe Mode: by Elementor.com – 1.0.0
    InfiniteWP – Client Loader: by Revmakx –
    WP Staging Optimizer: by René Hermenau – 1.2

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: SEK (kr)
    Currency Position: right_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)

    Connected to WooCommerce.com: –

    ### WC Pages ###

    Shop base: #10 – /shop/
    Cart: #11 – /cart/
    Checkout: #12 – /checkout/
    My account: #13 – /my-account/
    Terms and conditions: #189 – /kopvillkor/

    ### Theme ###

    Name: Blocksy
    Version: 1.7.60
    Author URL: https://creativethemes.com
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ?

    ### Templates ###

    Overrides: blocksyy/woocommerce/cart/cart.php
    blocksyy/woocommerce/cart/mini-cart.php
    blocksyy/woocommerce/checkout/form-checkout.php
    blocksyy/woocommerce/content-widget-product.php
    blocksyy/woocommerce/content-widget-reviews.php
    blocksyy/woocommerce/product-searchform.php

    ### Swish Ecommerce ###

    Swish Testmode: –
    Merchant Swish number: 1233838661
    Swish Technical Supplier: ?

    ### Action Scheduler ###

    Complete: 1,263
    Oldest: 2020-12-05 12:24:19 +0000
    Newest: 2021-01-05 09:11:58 +0000

    Pending: 1
    Oldest: 2021-01-07 15:07:36 +0000
    Newest: 2021-01-07 15:07:36 +0000

    
    

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Adam Heckler

    (@adamkheckler)

    After updating the plugin our site is getting 502 bad gateway & by investigating figured out that it’s causing issue from the plugin as the plugin is trying to allocate a lot of memory which the server is unable to provide hence it went down.

    Interesting. I wouldn’t expect our Stripe gateway to do that under normal circumstances. What’s probably happening is that some other plugin/theme is taking up most of the memory, and then when Stripe goes to use its normal amount, it pushes the memory used over the limit.

    What is the exact error you saw in the logs, and the process that led you to determine Stripe was the cause?

    What exactly did you update before this error started occurring?

    Thanks!

    Thread Starter adnanshawkat

    (@adnanshawkat)

    Hi Adam,

    One of the issue is given below:

    A error of type E_COMPILE_ERROR occurred on line 339 in the following file: / home / customer / www / vaccina.se/ public_html / reseintyg / wp- content / plugins / woocommerce- gateway-stripe / woocommerce- gateway-stripe.php . Error: require_once (): Failed opening required '/ home / customer / www / vaccina. se / public_html / reseintyg / wp- content / plugins / woocommerce- gateway-stripe / includes / compat / class-wc-stripe-email- failed-authentication.php '(include_path ='.: / usr / local /php73/pear')

    Then again as I’ve told you it keeps overloading the memory allocation here’s the error:
    [21-Dec-2020 09:34:11 UTC] PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 102367483144 bytes) in /home/customer/www/vaccina.se/public_html/reseintyg/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php on line 59

    Hopefully these would help you understand how things are messy right now don’t know why but its happening on siteground cloud server. Can you please let us know if anything is wrong with your plugin maybe?

    Plugin Support Adam Heckler

    (@adamkheckler)

    A error of type E_COMPILE_ERROR occurred on line 339

    Hmm, this might be due to an incomplete installation of the Stripe plugin. Can you try uninstalling it and then immediately reinstalling it again? That should fix any corrupted files and perhaps prevent this E_COMPILE_ERROR error.

    As for the fatal error of Allowed memory size of 2147483648 bytes exhausted, that is a lot of memory. I’m not sure why Stripe would be trying to reserve so much. It may have to do with the other error you pointed out. If this was happening to everyone, we’d expect to be seeing a lot more threads and tickets about this, but we’re not.

    Can you please try reinstalling Stripe and seeing if that solves the issues? Let us know. ??

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi @adnanshawkat

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thanks,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[NSFW] Plugin is allocating memory over 20gb’ is closed to new replies.