Comments (6)
For what it's worth, I've been experiencing freezes in the service lately (haven't run the test suite).
I'm pretty confident that the freezes described in this issue where caused by the docker setup, and not related to any bug in the actual Flexo code, and I'm also confident that this issue has now been fixed. So what you're describing is probably another issue.
I've created a separate issue from your description. If you gain any more information about this issue, like a pattern that it always occurs in a specific situation, please let me know, because these sorts of things are difficult to troubleshoot.
from flexo.
The problem seems to be that, while our docker containers are running, certain actions can only be executed with a delay. For example, if NGINX is running on localhost – even without docker – then the following will show that connection establishment is sometimes delayed when our docker-compose tests are running:
while true; do echo -n '' | nc -N 127.0.0.1 80; date +%s%N; sleep 0.1; done | ./analyze_nanos.py
from flexo.
It seems to be unrelated to sockets:
while true; do echo -n '' | date +%s%N; sleep 0.1; done | ./analyze_nanos.py
Gave the following output when the docker tests were running:
>>> Threshold exceeded at 2020-12-06 18:45:54.307145: 1.493492608
>>> Threshold exceeded at 2020-12-06 18:45:58.851240: 4.544129866
from flexo.
Another example:
while true; do date +%s%N; sleep 0.1; done | ./analyze_nanos.py
>>> Threshold exceeded at 2020-12-06 19:11:48.709007: 2.51274226
from flexo.
while true; do strace --absolute-timestamps=format:unix,precision:ns /bin/true 2>&1; done | ./analyze_nanos.py
>>> Threshold exceeded at 2020-12-06 21:32:27.167433: 19.471243619918823
1607286727.695725213 +++ exited with 0 +++
1607286747.166968830 execve("/bin/true", ["/bin/true"], 0x7ffc168da2e8 /* 61 vars */) = 0
from flexo.
For what it's worth, I've been experiencing freezes in the service lately (haven't run the test suite).
I've not been able to get any response with HTTP, and the log shows nothing happens. Even restarting flexo doesn't work immediately. Then, after maybe 1s-2m, it just starts responding again like nothing happened.
Haven't looked into it, so could definitely be something local, though thought I'd mention anyway just in case.
from flexo.
Related Issues (20)
- add liveness/readyness enpoints HOT 3
- Feature Request: Object Storage (S3) HOT 3
- [Potential Bug] DemarshallError(Error("unknown variant `ftp`, expected one of `http`, `https`, `rsync`", line: 1, column: 227697)) HOT 3
- [Potential Bug] JSON fallback is not used
- Docker `latest` tag not updated HOT 1
- Flexo docker fails to start: "No such file or directory", then "Unable to fetch mirrors remotely" HOT 2
- [feature request] Prefetch HOT 4
- [Potential Bug] High CPU useage due to stuck fetch cycle HOT 5
- serving databases (core.db, extra.db, community.db, ...) HOT 7
- IO Error using Linux 5.16.12 and ZFS 2.1.2 HOT 2
- Improve validation for GET request path
- Is Flexo expected to be run with a reverse proxy? HOT 1
- [Question] Can you listen on multiple ip addresses? HOT 1
- signature from <package> is invalid HOT 23
- Listen to multiple IPs HOT 1
- ARM cache issues HOT 1
- Panic on nonexistent `latency_test_results.json` due to invalid status.json format HOT 1
- Implement support for Manjaro
- Flexo stops working from time to time HOT 2
- Different mirrors serving the same package with different size HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flexo.