Pages:
Author

Topic: New GekkoScience product, the Smart Hub - page 2. (Read 1405 times)

newbie
Activity: 25
Merit: 0
March 13, 2024, 03:35:08 PM
#72
Hi All - Just curious....  Is there any way to have each individual miner have it's own settings (pool, frequency, etc.)?


thanks!
hero member
Activity: 2492
Merit: 621
March 13, 2024, 01:43:10 PM
#71
Another Update.

Woke up this morning and RAM usage had dropped down to 23%. Didnt have time to check anything until now. RAM usage up to 30% but cgminer has restarted. Hub remained on as the counter is now at 25 Days etc.

So not sure what the mem leak is or what happened before to start this investigation. But so far it seems to be keeping itself in check.
hero member
Activity: 2492
Merit: 621
March 01, 2024, 02:56:32 PM
#70
Just thought I would update this.

Its been 9Days 6Hours 48mins since it restarted and is currently on 67.7% ram usage.

Still on the same instance of cgminer and its definitely cgminer ram usage thats increasing.

I'll keep monitoring and report back in a few days.

Cheers, please do.

Is there anything one app/process that is taking up a a large chunk of this RAM?

Only cgminer. On TOP its showing 45.3% mem usage.

Current stats are:-

74.3% RAM  after 13day 6 Hours and change.
jr. member
Activity: 31
Merit: 10
March 01, 2024, 09:55:29 AM
#69
Just thought I would update this.

Its been 9Days 6Hours 48mins since it restarted and is currently on 67.7% ram usage.

Still on the same instance of cgminer and its definitely cgminer ram usage thats increasing.

I'll keep monitoring and report back in a few days.

Cheers, please do.

Is there anything one app/process that is taking up a a large chunk of this RAM?
jr. member
Activity: 31
Merit: 10
March 01, 2024, 09:50:03 AM
#68
Hello Everyone - I just got this unit and it has been running fine all night.  This morning I came in and the hashing stopped.  Went to the web browser and am getting this below.  Suggestions??

Note:  I am a total NOOB when it comes to all of this.  Please be kind!



AttributeError
AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2552, in __call__
return [Suspicious link removed]gi_app(environ, start_response)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2532, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/pi/Defaults/HTML/mainpage.py", line 174, in index
lcd_data = cgminer_data.get("LCD", {})
AttributeError: 'NoneType' object has no attribute 'get'
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.

You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:

dump() shows all variables in the frame
dump(obj) dumps all that's known about the object


Hi, this is indicitive of CGMiner crashing could be pool connection, internet connection or mining hardware related). For optimum diagnostics, you need to SSH in to the unit and see what CGminer is doing and if it is running, etc. This is all documented early on in this post.

Who did you get the SmartHub from?

Cheers
IamGPIO
newbie
Activity: 25
Merit: 0
February 29, 2024, 11:43:18 AM
#67
Hello Everyone - I just got this unit and it has been running fine all night.  This morning I came in and the hashing stopped.  Went to the web browser and am getting this below.  Suggestions??

Note:  I am a total NOOB when it comes to all of this.  Please be kind!



AttributeError
AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2552, in __call__
return [Suspicious link removed]gi_app(environ, start_response)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2532, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/pi/Defaults/HTML/mainpage.py", line 174, in index
lcd_data = cgminer_data.get("LCD", {})
AttributeError: 'NoneType' object has no attribute 'get'
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.

You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:

dump() shows all variables in the frame
dump(obj) dumps all that's known about the object
hero member
Activity: 2492
Merit: 621
February 26, 2024, 03:33:19 PM
#66
Just thought I would update this.

Its been 9Days 6Hours 48mins since it restarted and is currently on 67.7% ram usage.

Still on the same instance of cgminer and its definitely cgminer ram usage thats increasing.

I'll keep monitoring and report back in a few days.
hero member
Activity: 2492
Merit: 621
February 18, 2024, 05:34:02 PM
#65
Thanks for the reply GPIO. I've been monitoring it today and noticed that it is the cgminer "file" casuing the slow increase in ram usage. Yesterday on intitial restart they were at 2.1%. Today they are at 3.9%.

Still can't fathom why though. It hasn't restarted, still the same instance (767 after the restart) on screen as it was before, all sticks running as requested.

More than happy to flash the SD Card with your current .img file to give it a try. Just means I'll have to go and change the Price Ticker currency again  Cheesy

I am happy to wait until the updates aswell. Its simply issue that a restart solves once a week really.

The current image I have is no different to the one you have, except the one I have may have Doom embedded in the web interface.... somewhere... Smiley.

Aside from that, there are no implemement changes as yet that I am ina place to release. i have made changes but its all very piece-meal at the moment.  I will keep probing and see if I can figure out what is causing the memory usage to creep up.



oooh Doom in the web interface. Sounds like I should look for a little symbol on the screen like the film "The Net"  Cheesy

I'll carry on as is and wait for the update(s). Like I said its only a restart once a week and I seem to be the only one affected at the moment. I may just let it run and see if it does max-out at some point and stays running.
jr. member
Activity: 31
Merit: 10
February 18, 2024, 05:28:38 PM
#64
Thanks for the reply GPIO. I've been monitoring it today and noticed that it is the cgminer "file" casuing the slow increase in ram usage. Yesterday on intitial restart they were at 2.1%. Today they are at 3.9%.

Still can't fathom why though. It hasn't restarted, still the same instance (767 after the restart) on screen as it was before, all sticks running as requested.

More than happy to flash the SD Card with your current .img file to give it a try. Just means I'll have to go and change the Price Ticker currency again  Cheesy

I am happy to wait until the updates aswell. Its simply issue that a restart solves once a week really.

The current image I have is no different to the one you have, except the one I have may have Doom embedded in the web interface.... somewhere... Smiley.

Aside from that, there are no implemement changes as yet that I am ina place to release. i have made changes but its all very piece-meal at the moment.  I will keep probing and see if I can figure out what is causing the memory usage to creep up.

hero member
Activity: 2492
Merit: 621
February 18, 2024, 04:54:00 PM
#63
Thanks for the reply GPIO. I've been monitoring it today and noticed that it is the cgminer "file" casuing the slow increase in ram usage. Yesterday on intitial restart they were at 2.1%. Today they are at 3.9%.

Still can't fathom why though. It hasn't restarted, still the same instance (767 after the restart) on screen as it was before, all sticks running as requested.

More than happy to flash the SD Card with your current .img file to give it a try. Just means I'll have to go and change the Price Ticker currency again  Cheesy

I am happy to wait until the updates aswell. Its simply issue that a restart solves once a week really.
jr. member
Activity: 31
Merit: 10
February 17, 2024, 05:06:26 PM
#62
Ok so running HTOP has revealed a couple of things that are strange to me (not being linux proficient and all that).

I have:-

15x "gekkoscreentrimmed4.py" running using 13.7% mem each

34 x cgminer config files running using 17.5% mem each

All those are highlighted green which I assume means they are running. (I know the math doesn't add up if you add all the percentages together).

EDIT:
After a restart I now have (39.7% RAM usage on screen):-

17x "gekkoscreentrimmed4.py" running using 13.8% each
35x cgminer config files running using 2.1% each

I may well be looking at the wrong thing though.

The BTC price updater scripts/files are minimal usage compared to the lot listed above.

My first thought with this is various processor threads which is why the "17 x 13.8%" doesn't add up. If you run "top" insteads of "htop" you should get the single resource use per application running. The Python3 instances will be the BTC Price updater and also the screen program that runs the OLED screen.

I have looked at a SmartHub I have running on the desk behind me with 4 x R909's connected and I am max'd out at 67% RAM usage with zero restarts on any screen instances.

I am happy to send you the .img file for you to reflash the SD card if you want to try that.

Cheers
IamGPIO
hero member
Activity: 2492
Merit: 621
February 17, 2024, 08:39:50 AM
#61
Ok so running HTOP has revealed a couple of things that are strange to me (not being linux proficient and all that).

I have:-

15x "gekkoscreentrimmed4.py" running using 13.7% mem each

34 x cgminer config files running using 17.5% mem each

All those are highlighted green which I assume means they are running. (I know the math doesn't add up if you add all the percentages together).

EDIT:
After a restart I now have (39.7% RAM usage on screen):-

17x "gekkoscreentrimmed4.py" running using 13.8% each
35x cgminer config files running using 2.1% each

I may well be looking at the wrong thing though.

The BTC price updater scripts/files are minimal usage compared to the lot listed above.
jr. member
Activity: 31
Merit: 10
February 17, 2024, 03:01:37 AM
#60
Ok so its pretty much been 2days since the restart and I’ve noticed that the RAM usage is steadily increasing. Its roughly 4% per day.

On the initial restart it was 40% and now its 48%. CPU usage seems about the same, anywhere from 10-15%.

I can only assume that cgminer is restarting in the background and increasing the ram usage each time. As for the cause….I don’t know, maybe one of my Compac-Fs is slowly giving up.

EDIT, So today I've noticed RAM usage has increased to 52% as I type this. But in cgminer, no sticks have restarted and cgminer is still on the same instance (number 767 when I entered the screen list in putty). So not sure why the ram usage is increasing. Anyone have any ideas?

So there is a script running on the SmartHub (BTC Price Updater) - that pulls the BTC price and sticks it in memory (RAM Disk) until it's needed (60 second intervals). I did this to reduce unnecessary writing to the SD card.

Kill this and see if that makes and difference to the RAM usage. It shouldn't do I as wrote the script to overwrite every previous intry and flush the buffer to prevent this exact issue.
As far as the smarthub software implemention goes, I believe this is the only thing I can contribute to RAM usage.

As others have said, use HTOP to get an idea of where any memory use is coming from. It sound like something has a memory leak.


Cheers
IamGPIO
full member
Activity: 658
Merit: 118
February 16, 2024, 08:47:12 PM
#59
Ok so its pretty much been 2days since the restart and I’ve noticed that the RAM usage is steadily increasing. Its roughly 4% per day.

On the initial restart it was 40% and now its 48%. CPU usage seems about the same, anywhere from 10-15%.

I can only assume that cgminer is restarting in the background and increasing the ram usage each time. As for the cause….I don’t know, maybe one of my Compac-Fs is slowly giving up.

EDIT, So today I've noticed RAM usage has increased to 52% as I type this. But in cgminer, no sticks have restarted and cgminer is still on the same instance (number 767 when I entered the screen list in putty). So not sure why the ram usage is increasing. Anyone have any ideas?

SSH in and run TOP to see what's eating the RAM
hero member
Activity: 2492
Merit: 621
February 14, 2024, 05:56:26 PM
#58
Ok so its pretty much been 2days since the restart and I’ve noticed that the RAM usage is steadily increasing. Its roughly 4% per day.

On the initial restart it was 40% and now its 48%. CPU usage seems about the same, anywhere from 10-15%.

I can only assume that cgminer is restarting in the background and increasing the ram usage each time. As for the cause….I don’t know, maybe one of my Compac-Fs is slowly giving up.

EDIT, So today I've noticed RAM usage has increased to 52% as I type this. But in cgminer, no sticks have restarted and cgminer is still on the same instance (number 767 when I entered the screen list in putty). So not sure why the ram usage is increasing. Anyone have any ideas?
legendary
Activity: 3318
Merit: 1848
Curmudgeonly hardware guy
February 14, 2024, 02:36:41 PM
#57
Once during testing, I had a pod that dropped a chip and cgminer started to misbehave, which pegged the CPU use. I mentioned the bug to kano and his preferred fix was "stop using hardware that fails". That's about the only time I've seen one of these guys not running smoothly so could be related to your issue. My test guy ran 40 days uptime with no problems before a power outage forced an unplanned restart.
hero member
Activity: 938
Merit: 642
Magic
February 14, 2024, 09:00:55 AM
#56
I always wonder about the small hashrate that people archive with this kinds of miners if compared to a more professional miners. Still it is a very nice hobby and the resale value is also very good, so it’s probably still worth it.
hero member
Activity: 2492
Merit: 621
February 14, 2024, 03:29:34 AM
#55
Will do Fuzzy.

Still monitoring at the moment. Since the restart its been fine. I’m making note of data on that shows on the screen when I can and will report back.
legendary
Activity: 3612
Merit: 2506
Evil beware: We have waffles!
February 13, 2024, 09:53:49 PM
#54
So odd thing happening at the moment.
Came home to find the green light of the front flashing and hashrate steadily decreasing.
SSh into it and its responding very slowly. A good minute to got the login screen, then another minute or so to get passed it.
I've restarted the hub and will see how it goes.
Post about it in the Gekko channel on Kano's discord site. Sidehack hangs out quite a bit there as does the guy Sidehack worked with for the Smarthub.
legendary
Activity: 4116
Merit: 7849
'The right to privacy matters'
February 13, 2024, 11:48:47 AM
#53
So odd thing happening at the moment.

Came home to find the green light of the front flashing and hashrate steadily decreasing.

SSh into it and its responding very slowly. A good minute to got the login screen, then another minute or so to get passed it.

I've restarted the hub and will see how it goes.

follow up on this please 🙏.
Pages:
Jump to: