Skip to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Polisy mystery beep

Featured Replies

I'm trying to solve a little mystery here. I have three Polisys stacked, in my little lab setup. I use them for testing. Just this morning as I was doing other stuff, one of them beeped twice, like a Polisy does during a reboot (though a full reboot beeps three times). I don't know which one, but I've only really been using one of them a lot lately for testing the new releases of IoX and eisy-ui. This beep thing also happened a number of days ago. My first thought was to ssh into each one and look at the unix uptime: no reboots on either one. From my previous endless poking around in these things, I know that some of the beeps come from the udx startup scripts. So I looked at the running udx processes. The "Startup" column in ps -aux shows that udx_svc and udx_cmd have been running for some time, but then I sometimes see a second instance of one or both of these commands, with the startup time of the current time, as I issue the ps -aux command. These second copies quickly terminate. Seems to be happening quite often (I run a while loop every 5 seconds to see the udx processes).

In one instance, I also saw it actually try to run the udx startup script, /usr/local/etc/rc.d/udx. I guess the attempt is so short that I just have to be lucky to catch the process on the fly. I'm not getting beeps, so it must always be failing the startup because udx is already running, though those beeps I heard means it must succeed every few days. I was thinking that maybe this is normal, to restart it in case udx failed for whatever reason. Just to be sure, I ran the same loop on the other two Polisys and on my eisy. Yes, they seem to be attempting regular restarts like that.

So it means that I might be getting periodic udx dying events. The udx log file doesn't show anything unusual for the time when I heard the beeps this morning. Has anyone else noticed this kind of thing on their Polisy?

It's not a problem or an operation issue for me, so I'm only asking casually, in the name of science! 😄

  • Author

Ah yes, found the following in the udx startup script:

restart_timeout=20 #IF YOU WANT AUTO RESTART in case of failure, this has to be there

. /usr/local/etc/udx.d/static/udx.rc

So the remaining question remains why udx fails periodically on one of my Polisys. I should add a line to write the date and time to a log file in the same spot where the script beeps.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.