I have a pi5 16gb running a python 3.12 server with fastapi and a minicomputer with a php server which makes curl call to the pi whenever it needs data (every minute or so). Mostly, the pi answers the curl call immediately but sometimes it takes 10, 20 even 30 seconds even though its not doing anything else. On the php server, I log the time it calls curl.exec and on the pi i log when the url is called so i can see the delay. They both used wired ethernet and both have a static ip on the same internal network so the delay is not in the router. Can anybody offer some clue as to what might be causing the delay? The pi is just looping around and a threaded 1 minute timer reads data from a bme688 temperature sensor. I also log the time to do this periodic check and its less than 2ms so the problem lies with the pi not reacting to the curl post call
Many thanks, Bill
Many thanks, Bill
Statistics: Posted by badger6125 — Tue May 27, 2025 7:22 pm