Comments (8)
I think this is related to your other issue. In #41 the daemon is crashing because the Python standard threading library throws an unexpected exception that it couldn't start a thread. That shouldn't happen unless Linux is out of pids or something crazy like that.
Can you attempt to reproduce this issue on 0.9.7 or git instead of 0.9.1?
If you can reproduce, it could be that either multiprocessing.cpu_count()
is returning something insane, or it could be that Python isn't cleaning up threads properly because on x86_64 and daemon 0.9.7 this has been pretty much bulletproof
from canto-next.
I have reproduced it on 0.9.7: here is the log. I can also say with great certainty that multiprocessing.cpu_count()
is not to blame here, as it returns the very sensible 2
on the server machine when tested.
from canto-next.
The top line of that log is still daemon 0.9.1...
from canto-next.
I just noticed in the backtrace you just ran bin/canto-daemon from the source. You have to actually install canto-next. If you don't want to install to root, you can use a prefix with setup.py and change your PYTHONPATH. Some details here
from canto-next.
Ah, OK. Sorry about that - I'm not very Python-literate. Will read and try again.
from canto-next.
Sorry for the delay - I was in a different country for the last two weeks. I've modified my version to match, but now I get even weirder behaviour: specifically, canto-curses doesn't even connect to it, and as the log indicates, it seems to just time out. For reference, canto-curses --version
outputs the version as 0.9.3 on my machine.
from canto-next.
That daemon log doesn't look bad, and isn't spawning threads everywhere so I'll call that progress. The curses-log is the file that's probably interesting in this case, but you're also six releases behind there.
Try with canto-curses 0.9.9 and see if you can reproduce. If you can, attach both daemon- and curses-log from the same directory.
from canto-next.
Alrighty, having tested with canto-curses 0.9.9, I can confirm that performance is fine. It's a little bit slow, but given the (lack of) horsepower on the device, and the fact that I'm running it over an SSH tunnel, I think it's OK. Gonna close this now - thank you for your patience.
from canto-next.
Related Issues (20)
- Feature request: Owncloud support
- Canto-daemon won't start HOT 2
- Ubuntu Trusty Package install does not work HOT 1
- Please document data storage HOT 1
- TypeError: 'NoneType' object is not iterable HOT 1
- Proxy / PAC
- Installation instructions for Debian HOT 2
- Cannot change update interval HOT 1
- canto didn't displayed TUI HOT 2
- request: socks/http proxy HOT 2
- Object of type 'timedelta' is not JSON serializable HOT 1
- No module named 'canto_next' HOT 2
- Please update pypi package HOT 1
- Canto-daemon crashes instead of staying up HOT 1
- Pip build doesn't declare feedparser as a dependency HOT 2
- dead? HOT 3
- How can i uninstall canto[next,curses] HOT 2
- pypi sdist for release 0.9.8 missing HOT 1
- json.decoder.JSONDecodeError: Expecting value: line 13 column 5 (char 296)
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 canto-next.