You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started working on a custom search engine, but my search engine is not only about links to some websites, it scans the website and gets all texts, which can be useful in searching for the best results. But after getting somewhere over 2000 - 3000 opened websites, my zeronetx client couldn't start. It doesn't matter if the number is 2000 or like my biggest record of 11,100 opened websites, it still crashed after turning off and on.
Error in debug file:
OSError: cannot watch more than 1024 sockets in /src/Site/SiteAnnouncer.py line 201 > ... in mode start
And after some time (typically over 1 minute), the zeronetx client crash.
To fix that I always need to delete all zeronetx files and unzip the clear installation of zeronet.
Steps to reproduce:
open somewhere over 2000 sites
turn off zeronetx
turn it back on and it will stop working
Observed Results:
What happened? This could be a screenshot, a description, a log output (you can send log/debug.log file to [email protected] if necessary), etc.
There are 2 errors in debug.log.... Nothing else but my debug.log has over 165000 lines but it's mostly filled up with these 2 errors, but different trackers or sites.
[2023-06-14 16:14:15,817] WARNING Site:1EASNB..su6c Tracker udp:https://moonburrow.club:6969/announce announce failed: OSError: cannot watch more than 1024 sockets in /src/Site/SiteAnnouncer.py line 201 > ... in mode start
[2023-06-14 16:14:15,822] WARNING Site:1ChKBK..jea6 Tracker https://t.acg.rip:6699/announce announce failed: AnnounceError: No response after 30s in /src/Site/SiteAnnouncer.py line 201 > /plugins/AnnounceBitTorrent/AnnounceBitTorrentPlugin.py line 132 in mode start
Expected Results:
Well if we want to use zeronet as alternative internet for websites etc. this should be fixed. Because when there will be a good search engine on zeronet witch can work a little bit like the Google search engine, then some users can run over the number of opened websites like me.
The text was updated successfully, but these errors were encountered:
When you search that error "cannot watch more than 1024" you can find the issue on original Zeronet project, where maintainer applied some fixes, but these should be already in this Zeronetx fork... Maybe also search that error in general along with "Windows" keyword. If there are any MS Windows tweaks which would increase limit on OS level..
Btw. @canewsin to reproduce the issue, you can use THIS to quickly load thousands of sites.
Step 1: Please describe your environment
Step 2: Describe the problem:
I started working on a custom search engine, but my search engine is not only about links to some websites, it scans the website and gets all texts, which can be useful in searching for the best results. But after getting somewhere over 2000 - 3000 opened websites, my zeronetx client couldn't start. It doesn't matter if the number is 2000 or like my biggest record of 11,100 opened websites, it still crashed after turning off and on.
Error in debug file:
OSError: cannot watch more than 1024 sockets in /src/Site/SiteAnnouncer.py line 201 > ... in mode start
And after some time (typically over 1 minute), the zeronetx client crash.
To fix that I always need to delete all zeronetx files and unzip the clear installation of zeronet.
Steps to reproduce:
Observed Results:
There are 2 errors in debug.log.... Nothing else but my debug.log has over 165000 lines but it's mostly filled up with these 2 errors, but different trackers or sites.
[2023-06-14 16:14:15,817] WARNING Site:1EASNB..su6c Tracker udp:https://moonburrow.club:6969/announce announce failed: OSError: cannot watch more than 1024 sockets in /src/Site/SiteAnnouncer.py line 201 > ... in mode start
[2023-06-14 16:14:15,822] WARNING Site:1ChKBK..jea6 Tracker https://t.acg.rip:6699/announce announce failed: AnnounceError: No response after 30s in /src/Site/SiteAnnouncer.py line 201 > /plugins/AnnounceBitTorrent/AnnounceBitTorrentPlugin.py line 132 in mode start
Expected Results:
Well if we want to use zeronet as alternative internet for websites etc. this should be fixed. Because when there will be a good search engine on zeronet witch can work a little bit like the Google search engine, then some users can run over the number of opened websites like me.
The text was updated successfully, but these errors were encountered: