Unexplained system freezes not showing in error logs with the API not responding

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • esforim
    replied
    Probably discouraging to say this but the forum is just for the community. unless it is a bug report there is no guarantee support. That is a pay support system for that.

    Logging, have you already look at apache log error and enable debug mode yet? Here the documents for that: https://docs.espocrm.com/administrat...oubleshooting/

    As for resolving these issue, it is out of my skill level.

    Lastly see if any of these can help reduce lag/loading/crashing in some way, if one of them does then that mean an hardware issue I would say: https://docs.espocrm.com/administrat...ance-tweaking/

    Also considering you using Cloudron, not sure if they do any throttling of usage.

    Leave a comment:


  • vladimir.d
    replied
    Well, we have managed to sort one issue to get user details view working.
    For some reason when VOIP Integration is disabled (installed but disabled) when it builds nested views it still renders VOIP Messages Panel.
    So we have reactivated VOIP Integration extension as a quick solution for now.
    But probably some logic needs to be refactored to avoid such errors, I suspect they could appear for other extensions as well.



    For the freezing problem we identified that Apache got stuck, so what could we look at to get more insights? (just a reminder that there is nothing in apache logs).

    Leave a comment:


  • marcusquinn
    commented on 's reply
    Hi Den, yes, recommended too - but also in these situations we have to then work out what is platform issues and what is application issues. In this case it is a bit of a combination so we are also seeing their support with access to diagnostic tools.

  • DEN
    replied
    marcusquinn Do you use cloudron?

    Leave a comment:


  • vladimir.d
    replied
    We use EspoCRM cloudron app, so there is a little number of tools installed to the application container, i.e. there is no `htop` installed.
    nginx error_logs and access_logs go to `stdout` and then collected by the container logs, and as we noted above it doesn't contain any specific errors that could lead to identify the problem.
    MySQL slow query logs is switched ON and the log is empty.
    No errors have been found in the database by `mysqlcheck, everything is clean.

    Errors mentioned here appear in the application log only when we switch `Use Cache` option off. Could they be related to incomplete relative data for some entities in the database?
    Are there any tools available to validate crm data completeness?

    Currently it doesn't open `/#User/view/ID` pages, but it opens `/#User/edit/ID`.

    Also we have another instance of EspoCRM with the same config and same customisations, and it works just fine.
    The difference between these instances are just the data and the number of users using it.

    Leave a comment:


  • marcusquinn
    replied
    Thanks DEN we're gathering more detail now and will add to this post asap. Hoping we can fix, we'll detail all the steps along the way as it may help others too.

    Leave a comment:


  • DEN
    replied
    To help you I need more information about your settings MySQL and server.

    ​​You have to monitoring the situation in htop to understand which process eating up the memory.

    Maybe you have some kind of custom customization and when it starts it loops.
    "Custom customization is that Workflow, BPM or other Code customization".

    Also try to Activate MySQL slow query log.
    More detail here: https://takp.me/posts/how-to-get-a-m...-from-aws-rds/.



    Leave a comment:


  • vladimir.d
    replied
    If we clear 'Use Cache' checkbox we get lots of such errors in logs. What do they relate to?

    Leave a comment:


  • vladimir.d
    replied
    In the relation to this issue we get JS errors in the Web Inspector console, when opening entities, e.g. User details. `Clear Cache` and `Rebuild` don't help.

    Leave a comment:


  • marcusquinn
    replied
    Here's an example of a current symptom:

    The platform loads, we can navigate to list views (although some feel slower), and then either some or all details views just don't load. All we see is the "Loading..." message, but the page never loads, and then the message goes.

    Sometimes this happens for all details pages, and then we restart the container and it only happens for User details pages.

    Then after some time from system usage, all details pages don't load again. No errors. No logs.

    Leave a comment:


  • marcusquinn
    replied
    100% thank you - normally we are good with these things and always exhaust all self-diagnostics first. Thats' the frustraton on this one, lack of errors showing.

    Leave a comment:


  • DEN
    replied
    I understand you, but don't be discouraged, the main task for us now is to determine what the problem is.

    Try to analyze the situation using htop.
    Use this command `sudo htop`.

    Leave a comment:


  • marcusquinn
    replied
    Hi DEN thanks for the suggestions. I've upped the RAM allocated to the container from 8GB to 32GB just to be sure - that's not solving it.

    We're looking at logs, but this is the issue, no identifiable error is printing. I have a live business reliant on this now, and they want to invest in Espo, but with now 30+ users unable to work on it and having been unterrupted regularly many times a day for a couple of weeks now, we are all very frustrated.

    The system I love and recommend, the diagnostics and unknown support lines for remedies are very much making everyone anxious and suffer because they want to use it but it needs to stay alive.
    Last edited by marcusquinn; 06-10-2021, 10:04 AM.

    Leave a comment:


  • DEN
    replied
    Hello,

    I think the problem may be due to insufficient RAM on your server or not enough hard disk space.
    In order to identify the problem, you need to refer to the logs of your MySQL database and Apache or Nginx server.

    To do this, follow the path:

    /var/log/mysql/error.log
    /var/log/<apache2 or nginx>/error.log

    You can look at these logs if you have root rights.





    Last edited by DEN; 06-10-2021, 09:47 AM.

    Leave a comment:


  • marcusquinn
    replied
    OK, what's the best channel for support then please?

    Leave a comment:

Working...