Raspberry Pi with Azure IoT Edge crashes when disconnected for longer durations [closed] - azure-iot-hub

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 months ago.
Improve this question
I have installed Azure IoT Edge on Raspberry Pi to perform some analytics and data manipulations on the device. My Raspberry Pi is connected with different devices such as Arduino boards and acts as a gateway to Azure IoT Hub. This Raspberry Pi receives hundreds of messages per second from all the connected devices.
Everything works as expected and I could see the data on the IoT Hub when there is a good connection between the Raspberry Pi and the Hub. I am testing a scenario where the connection between the Pi and IoT Hub would be out for extended periods. I have looked into the Offline capabilities of IoT Edge device to track the data during the disconnects.
I noticed that the device is running out of memory and getting crashed when I test this for longer duration. Is there a way to prevent the Pi from getting crashed

Related

How to run USB2.0 devices on a USB3.0 hub and get USB3.0 bandwdith [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
I'm working on an application that uses multiple cameras. Until recently, its been with network cameras; now I'm trying to move this over to USB cameras.
I'm aware of the limitations of USB2.0 bandwidth for this, so I just assumed that I could plug several USB2.0 cameras into a USB3.0 hub (which is then plugged into a USB3.0 port of course) and the streams from those USB2.0 cameras would then ride on the higher bandwidth USB3.0 interface...
This is not the case. Apparently, the USB3.0 connection uses different pins in the connector to isolate the two different interfaces, so if you have multiple USB2.0 devices plugged into a USB3.0 hub, they are still limited by the USB2.0 bandwidth.
So, is there any device/solution (like a USB2.0-to-USB3.0 converter) that will allow me to put a USB2.0 device onto the USB3.0 bus so that multiple USB2.0 devices can ride on the USB3.0 bus?
I don't think that there is any kind of the converter you mean. You need just to have camera with USB 3.0 device controller to use USB 3.0 bandwidth. When you use USB 3.0 host and USB 3.0 hub connected to it - you already use USB 3.0 bandwidth between them but when you connect USB 2.0 device to this hub - it will of course use only USB 2.0 bandwidth (between hub and device) and it will always be the bottleneck in this case.

Remote Access of Raspberry pi using Xming and putty, Error [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am trying to get started with raspberry pi, model B. As a way to avoid having to buy a monitor and hdmi cable and keyboard and mouse (no, I do not already have a tv, monitor, hdmi cable, usb keyboad and usb mouse), I am trying to use remote access through my laptop by connecting it to the router. I assigned fixed ip to raspberry pi by editing its cmdline.txt file. I can successfully ping it. (I am using raspbian). I can connect to it by using Xming and putty, well mostly. When I hit scratch, a program slowly loads, takes several seconds to fully draw the window. When I hit lxsession, I see a bunch of errors, but the raspbian desktop gets loaded but its empty. Why am I getting those errors? and Why is the desktop empty?
Basically all I did was:
burned the raspbian OS to sd card.
Edited the cmdline.txt to append ip=xxx.xxx.xx (to match the same group as my computer's ip; I can ping my pie)
Connect Rp to my home router using ethernet cable.
install Xming and putty in my laptop and start them.
Enable X-11 forwarding in putty, and login to raspberry pi's ip address from 2.
try to load 'lxsession'
Is there anything I am missing?
I have attached here the screen shot of the error:
PS: I accidentally posted this question into stackexchange instead. Sorry for double post.
i don't know about the xming....but u can use vncserver to load the screen on your laptop...it is very easy to install on the pi and very easy to access the desktop of your pi via your laptop.....
it is detailed shown on the this following link...
https://kushrami.wordpress.com/2015/01/26/how-to-load-raspberry-pis-desktop-on-your-laptop-screen/

Can I use a wifi router to connect a client computer software to another local computer without connecting the router to an internet connection? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
good day, may I ask if anyone knows if it's possible to connect two or three computers through a wifi router? It's hard to put it in one sentence so in detailed explanation, I would be making a software (java) in a main computer (I'll call it the server), another computer would then access the server through a client/server type of setup. Basically the computer (connected to the same wifi hot spot as the server) would access the software on the server either through php/jsp and utilize that software in an office setup wherein all the centralized data on the server is accessible to the connecting computer. I would put in a log-in screen first as standard practice to protect access to the server. I was hoping to ask if this is possible (since it's the same setup as using a LAN/wired connection in an office). If it's possible I'll try to research on how to do it (I heard I'll have to read more on sockets programming for this). If you need more detail on the scenario I would gladly provide it. Thank you for answers in advance.
*my next development goal would be to connect the server through a dial-up modem to connect to a remote computer connected to a dial-up modem as well. I'm trying to avoid internet connectivity to increase security problems and to make it more exclusive. Then maybe connect a couple of android tablets as well that is connected to the server for portability. so that would be around 2-3 computers connected to the server and a few portable tablets accessing the data. it would be great if anyone could point me in the direction for the first few steps on connecting the computer to the servers as well... right now I've already developed a java software that is working but it's only on the server and not connected to any router/computer at the moment.
Thanks again.
Yes, this is all perfectly possible. Your question however is in the wrong exchange. Stackoverflow is more for actual programming issues.

Broadband account getting locked if multiple machines used [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
I have subscribed to a broadband Internet connection provided by a local cable TV provider.
Normally, I use my laptop which has Windows 7 for light surfing. I have set up a Broadband connection(PPPoE) for the same as per the provider's instructions.
The issue arises when I remove the cable from my laptop and plug it into my desktop and try to use it by setting up a connection there,too. My account either gets locked immediately or even if it connects, when I connect the cable back to my laptop, it appears surely locked. Then I have to call up the provider to unlock it :(
I'm sure that the provider is storing something on each machine and disallowing use of multiple machines. This is a real disadvantage as I can't download overnight by using my desktop.
Please guide as to how I must get rid of this inconvenience.
Thanks and regards !
It could be because the connection is tied to the MAC Address of the network card. If the cable modem has a USB port you could try that option to connect to a USB port on the PC and laptop - you may have to install the drivers on the laptop and PC.
Another option you could try (if any of the systems have two network cards) is to setup ICS (Internet Connection Sharing). ICS can also be setup in the scenario of USB connected cable modem + single network card.

USB tethering for my mobile with PC? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am using Wi-Fi connection for my android device. It is signal is very week and most of the time i am fed up with internet connection not available.
But i have a PC in my hand with which is in LAN connection.. Is there any way to use this internet connection my mobile using USB cable?
Just curious to know that this will solve my problem. If yes, please give me in detail.
PC LAN connection to Mobile is not at all possible. But, you can use the mobile connection in PC using USB tethering.
Yes it is possible. Look for "USB Reverse Tethering" in the google play store. It is not easy but it is possible.
There also another way to do this, with "Virtual WiFi Router", they use the of your computer as hotspot. But take care when you install it, always refuse all the program they try to install on your computer. It is possible to install without adware program.
Take a look at this. It is the ICS (Internet Connection Sharing) setup guide for Windows 7 on Microsoft's website: http://windows.microsoft.com/en-US/windows-vista/Using-...