[ubuntu] VirtualBox Flask Server / Ubuntu 16.04 32-bit / Server stops responding periodically

[ubuntu] VirtualBox Flask Server / Ubuntu 16.04 32-bit / Server stops responding periodically

 
I’m not sure where to post this since I don’t really know if this is an issue with Flask, VirtualBox (6.0) or Ubuntu (16.04 LTS). Please let me know if this isn’t an appropriate place to post.

Intro
My company installs Ubuntu VMs for our clients that run a local Flask web server on their system. I know Flask is not meant to be used for production, but each individual server handles about 15 users max (and often just 1 or 2) and often only one or two users at a time. So far it’s been working well for dozens of clients over several months.

Problem
We have a couple of clients where the application becomes inaccessible in users’ browsers after a certain period of time. I can SSH to the VM and see that the flask service still seems to be running without issue. Restarting the service doesn’t resolve the issue, but restarting the entire VM does resolve it.

Nothing should change in the application configuration when the VM restarts. All networking and port settings are static. So something is clearly getting hung up. Since the application output doesn’t show anything off and the flask service seems to restart fine internally, I’m guessing the issue is with Ubuntu or VirtualBox (or something on the client machine/network).

Questions
I’m wondering if anyone has had this issue before, where they have a working Flask server that runs very reliably in most cases, but have an instance that periodically stops responding after a certain amount of time even though the VM is accessible and flask appears to be running fine internally? Does anyone know why this might happen?

I apologize for lack of details and logs – our access to the client machine is limited

Any help or suggestions would be much appreciated!

 

Previous [ubuntu] Ubuntu 18.04 LTS freezing during boot up
Next [ubuntu] Ubuntu + Apache2 + PHP7.4 (PHP not execute when files not own by root)
 

About author

You might also like

Ubuntu Dsicussions 0 Comments

[ubuntu] onscreen keyboard suddenly does not type at login.

I have a weird issue with Ubuntu 20.04 with the on-screen keyboard. I have a Dell 2 in 1. Sometimes I need to log in with the on-screen keyboard as

Ubuntu Dsicussions 0 Comments

[ubuntu] Partitions for installation on external hard drive

Hello, I want to install ubuntu on an external SSD (240 GB) to use it on different PCs. I watched different tutorials and some people only partition the hard drive

Ubuntu Dsicussions 0 Comments

[ubuntu] Fonts have blue shadows in ubuntu 20.04

Recently I have installed ubuntu20.04.1, linux kernel 5.4.0.26-generic, in my desktop from a usb disk. After installing nvidia driver, version 450, all fonts in this system have blue shadows. Screenshot

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply