I'm having a embedded device with a running OpenWrt Linux. I have installed and configured the pakages
nginx like described on OpenWrt Wiki: https://wiki.openwrt.org/doc/howto/http.nginx Furthermore I have installed the packages
Everything seems to work correctly basic files like images, static HTML pages etc. as well as PHP scripts.
My web page has a JS script (AJAX) which polls a PHP script every second. After about 5 to 10 minutes nginx responses with a
502 Bad Gateway error on all PHP pages. If I check the running process on my linux machine I can see that the process
php5-fastcgi isn't running anymore. The PHP log is empty and the log of Nginx shows the connection error to the FastCGI server of PHP only.
I know there are lot of topics about this on the internet but I didn't find a solution yet.
Maybe anyone could help! Thanks for all suggestions!