• Resolved refataitta

    (@refataitta)


    Hello,
    When I refresh any feed it gets stuck, and when refreshing the website I receive server errors.

    One of the errors stating ”error establishing database connection” and ”host database server down”

    I tried deactivating the plugin. I tried searching for error logs but I cant find the ”error.log” in the dropdown so I am not sure what to do about that.

    I have a small number of products (less than 700).

    Downloaded the WP control plugin, and there is no error notification on top of the cron-events page of this plugin.

    Kindly advice

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter refataitta

    (@refataitta)

    The plugin, wordpress. and wordpress, all up to date

    Hi,

    Sounds like you might have an issue with your database (connection).

    You mentioned you looked for an error.log but did you also check out the WooCommerce fatal error logs of today? Instructions on how to retrieve it can be found here: https://docs.woocommerce.com/document/finding-php-error-logs/

    Please share the content of today’s error log here.

    Thread Starter refataitta

    (@refataitta)

    I can’t find the ”fatal-errors.log” in the dropdown in the woocommerce logs section.

    Is there an alternative?

    It will look a bit different than fatal-errors.log, it should have a date in it, like this: https://www.dropbox.com/s/nvv1ofvkkhww0dj/errorloglikethis.png?dl=0

    Thread Starter refataitta

    (@refataitta)

    Thank you for your time
    I know, the point is I can’t find anything related as shown in the screenshot here https://i2.paste.pics/59705540c349e0eb9b8b74c2e9d51e23.png

    I even added a thread on woocommerce here asking about it.

    Waiting your feedback

    Than most likely there are no WooCommerce fatal error logs. You mentioned this:

    One of the errors stating ”error establishing database connection” and ”host database server down”

    Perhaps you can reach out to your host asking if they have logs available that show what has happened?

    Thread Starter refataitta

    (@refataitta)

    Thank you,

    I contacted my host and here is their reply:

    ”’`Hi there,

    When I clicked it, I looked at your running processes and saw these and many more all at once running :

    aiething 1524964 2.2 0.0 288204 26880 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524965 1.7 0.0 288204 26348 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524967 2.0 0.0 288204 26184 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524968 2.0 0.0 286156 25668 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524969 1.7 0.0 286156 25128 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524970 1.7 0.0 286156 24896 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524971 1.7 0.0 286156 25172 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524972 2.0 0.0 288204 26432 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524973 2.0 0.0 288204 26244 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524975 2.3 0.0 286156 25032 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524976 2.3 0.0 286156 25032 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524978 3.0 0.0 288204 26840 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524979 2.3 0.0 288204 26288 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524980 2.0 0.0 286156 24712 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524984 2.3 0.0 286156 25136 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524986 2.6 0.0 288204 26336 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524988 2.3 0.0 286156 25220 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524992 2.3 0.0 286156 25144 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524998 2.0 0.0 286156 25108 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1524999 2.3 0.0 286156 25556 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1525000 2.3 0.0 286156 24616 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1525001 2.3 0.0 286156 25308 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1525002 2.3 0.0 286156 25044 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1525003 2.3 0.0 286156 25128 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1525004 1.6 0.0 284108 23504 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1525005 2.0 0.0 286156 24048 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1525006 2.0 0.0 286156 24612 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1525007 2.3 0.0 286156 25044 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1525009 2.3 0.0 284108 23564 ? RNs 06:19 0:00 \_ lsphp:/home/aiething/public_html/index.php
    aiething 1525015 2.0 0.0 286152 23644 ? RNs 06:19 0:00 \_ lsphp:/aiething/public_html/wp-admin/admin-ajax.php
    aiething 1525018 2.0 0.0 286152 23700 ? RNs 06:19 0:00 \_ lsphp:/aiething/public_html/wp-admin/admin-ajax.php
    aiething 1525020 2.0 0.0 286152 24176 ? RNs 06:19 0:00 \_ lsphp:/aiething/public_html/wp-admin/admin-ajax.php
    aiething 1525021 2.3 0.0 286152 24728 ? RNs 06:19 0:00 \_ lsphp:/aiething/public_html/wp-admin/admin-ajax.php
    aiething 1525022 2.0 0.0 286152 24048 ? RNs 06:19 0:00 \_ lsphp:/aiething/public_html/wp-admin/admin-ajax.php
    aiething 1525023 2.0 0.0 286152 24004 ? RNs 06:19 0:00 \_ lsphp:/aiething/public_html/wp-admin/admin-ajax.php
    aiething 1525025 2.0 0.0 286152 24520 ? RNs 06:19 0:00 \_ lsphp:/aiething/public_html/wp-admin/admin-ajax.php
    aiething 1525026 2.0 0.0 286152 24020 ? RNs 06:19 0:00 \_ lsphp:/aiething/public_html/wp-admin/admin-ajax.php
    aiething 1525028 2.0 0.0 286152 23640 ? RNs 06:19 0:00 \_ lsphp:/aiething/public_html/wp-admin/admin-ajax.php

    The script is spawning so many processes at once its causing your hosting accounts entry process limit to be overloaded / reached, to solve this issue you will need to alter your script so that it does not create so many processes at once / symultaneously.`”’

    Waiting your feedback

    Hi,

    Those requests are not (all) coming from our plugin so something else might happen. Requests to this file “public_html/wp-admin/admin-ajax.php” indeed might come from our plugin as it does a quick check per feed if it needs to be updated or not. Than again, those should not already result in a database connection issue.

    Anyhow as a last resort you could try lowering the batch size of the plugin to a really low batch size of lets say 250 so it uses less of your server resources. I doubt it will solve the issue but it is worthwhile trying. This is how you can lower it from the default 750 products per batch to 250: https://adtribes.io/batch-size-configuration-product-feed/

    Thread Starter refataitta

    (@refataitta)

    Hi,

    Unfortunately it doesnt work.

    How can I get technical help for this issue?

    I am afraid there is nothing more we can do about this from our side. The issue seems to lay in the low server / database connections or resources you are allowed to use from your host. Perhaps you can ask them to increase those?

    Assuming the issue at hand has been resolved or our support is no longer required I am going to close this topic for housekeeping reasons now. Please do not hesitate to reach out to our support-team again whenever you need our help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Server error when refreshing feeds’ is closed to new replies.