Giter Site home page Giter Site logo

Comments (2)

fosterseth avatar fosterseth commented on June 10, 2024

any trends in the API calls you are making? what endpoints, how busy is the system when this happens (does it coincide with high traffic overall)?

are the uswgi processes staying health when you see timeouts?

from awx.

sylvain-de-fuster avatar sylvain-de-fuster commented on June 10, 2024

Hello,

It doesn't seem to be a specific/unique endpoint impacted.
Usually, we use endpoints matching these purposes :

  • Create job templates
  • Create schedules
  • Create inventories
  • Launch jobs

The system doesn't have to be heavy loaded to experience theses errors.

It's very "precise" :
For example, a playbook with a task that use awx.awx.schedule with a loop can :

  • run perfectly
  • fail on one unique iteration of the list parsed

All that regardless of system usage.

For the uswgi part, do you have specific logs of metrics that could help me answering you ?

I can notice some messages like that in the web container but not sure it always coincide to timeouts and are related generally speaking :

• Lots ok WSCONNECT/WSDISCONNECT sometimes

127.0.0.1:39582 - - [24/Jan/2024:15:15:11] "WSCONNECTING /websocket/" - -
127.0.0.1:39582 - - [24/Jan/2024:15:15:11] "WSCONNECT /websocket/" - -
127.0.0.1:39596 - - [24/Jan/2024:15:15:15] "WSCONNECTING /websocket/" - -
127.0.0.1:39596 - - [24/Jan/2024:15:15:15] "WSCONNECT /websocket/" - -
127.0.0.1:39816 - - [24/Jan/2024:15:15:23] "WSCONNECTING /websocket/" - -
127.0.0.1:39816 - - [24/Jan/2024:15:15:23] "WSCONNECT /websocket/" - -
127.0.0.1:39826 - - [24/Jan/2024:15:15:23] "WSCONNECTING /websocket/" - -
127.0.0.1:39826 - - [24/Jan/2024:15:15:23] "WSCONNECT /websocket/" - -
127.0.0.1:39826 - - [24/Jan/2024:15:15:30] "WSDISCONNECT /websocket/" - -
127.0.0.1:53770 - - [24/Jan/2024:15:15:34] "WSDISCONNECT /websocket/" - -
127.0.0.1:44636 - - [24/Jan/2024:15:15:42] "WSCONNECTING /websocket/" - -
127.0.0.1:44636 - - [24/Jan/2024:15:15:43] "WSCONNECT /websocket/" - -
127.0.0.1:44644 - - [24/Jan/2024:15:15:45] "WSCONNECTING /websocket/" - -
127.0.0.1:44644 - - [24/Jan/2024:15:15:45] "WSCONNECT /websocket/" - -
127.0.0.1:44654 - - [24/Jan/2024:15:15:45] "WSCONNECTING /websocket/" - -
127.0.0.1:44654 - - [24/Jan/2024:15:15:45] "WSCONNECT /websocket/" - -
127.0.0.1:44654 - - [24/Jan/2024:15:15:57] "WSDISCONNECT /websocket/" - -
127.0.0.1:44336 - - [24/Jan/2024:15:16:19] "WSDISCONNECT /websocket/" - -
127.0.0.1:33904 - - [24/Jan/2024:15:16:21] "WSCONNECTING /websocket/" - -
127.0.0.1:33904 - - [24/Jan/2024:15:16:21] "WSCONNECT /websocket/" - -
127.0.0.1:33912 - - [24/Jan/2024:15:16:21] "WSCONNECTING /websocket/" - -
127.0.0.1:33912 - - [24/Jan/2024:15:16:21] "WSCONNECT /websocket/" - -
127.0.0.1:33912 - - [24/Jan/2024:15:16:23] "WSDISCONNECT /websocket/" - -
127.0.0.1:33926 - - [24/Jan/2024:15:16:23] "WSCONNECTING /websocket/" - -

• Some uWSGI kills/respawned

worker 2 killed successfully (pid: 1476)
Respawned uWSGI worker 2 (new pid: 1501)
mounting awx.wsgi:application on /

If I check all the web logs (2024-01-24 15:17:17,684 to 2024-01-25 13:25:34,331 for this case)

# kubectl logs pod/awx-faky-web-XXXXXX -c awx-faky-web | grep 'Respawned uWSGI' | wc -l
48

If you need more informations, don't hesitate.

from awx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.