aaronwmorris / indi-allsky

Software to manage a Linux-based All Sky Camera.
GNU General Public License v3.0
188 stars 31 forks source link

Memory swap full. #1313

Open clambert24 opened 3 weeks ago

clambert24 commented 3 weeks ago

Ok. Decided to re install everything on a new bugger sd card as was running out of storage quickly. Now it's saying memory swap full. What does this mean and hiw to fix it? 20240608_141721

aaronwmorris commented 3 weeks ago

I have some things you can perform documented in the wiki

https://github.com/aaronwmorris/indi-allsky/wiki/Memory-Optimizations

clambert24 commented 3 weeks ago

Yup that sorted it, thank you. Got it down to 30%

clambert24 commented 2 weeks ago

Ok, so my problem wasn't resolved. Turned out my pi 3B had an issue and kept shutting down/hanging after about 30 minutes.
Found a spare pi 4 so had to re install everything from scratch is I thi k I messed up the swap file issue and didn't know how to solv it. I'm back up running again on a pi4 with a 64mb sd card, but still have a 100% full swap file. I'm not sure exactly how to fix that or exactly what to type/do.

aaronwmorris commented 2 weeks ago

When the swap is full, can you provide the output of ./misc/support_info.sh ?

clambert24 commented 2 weeks ago

it was 100% earlier, but now its 98%. hopefully this gives you an idea.

/home/admin/indi-allsky/misc/support_info.sh: line 61: warning: command substitution: ignored null byte in input #################################

indi-allsky support info

#################################


Distribution: debian
Release: 12
Arch: aarch64
Bits: 64

CPUs: 4
Memory: 1891248 kB

System: Raspberry Pi 4 Model B Rev 1.5

Linux raspberrypi 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux

Time
Fri 14 Jun 18:48:28 BST 2024

System timezone
Europe/London

Uptime
 18:48:28 up 19:26,  2 users,  load average: 0.39, 0.42, 0.37

Memory
               total        used        free      shared  buff/cache   available
Mem:         1891248      990484      257564       84932      797928      900764
Swap:         204796      201688        3108

Filesystems
Filesystem     1K-blocks     Used Available Use% Mounted on
udev              672452        0    672452   0% /dev
tmpfs             189128     1412    187716   1% /run
/dev/mmcblk0p2  60801648 13733240  43960056  24% /
tmpfs             945624      584    945040   1% /dev/shm
tmpfs               5120       16      5104   1% /run/lock
/dev/mmcblk0p1    522230    76402    445828  15% /boot/firmware
tmpfs             189124       40    189084   1% /run/user/1000

sysctl info
vm.swappiness = 60

system python: Python 3.11.2

indiserver: /usr/local/bin/indiserver

IP Info
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether d8:3a:dd:26:a6:9d brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.86/24 brd 192.168.0.255 scope global dynamic noprefixroute eth0
       valid_lft 59652sec preferred_lft 59652sec
    inet6 fe80::70be:dec7:e0a4:233b/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether d8:3a:dd:26:a6:9e brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.176/24 brd 192.168.0.255 scope global dynamic noprefixroute wlan0
       valid_lft 59666sec preferred_lft 59666sec
    inet6 fe80::450f:ad5c:2244:4447/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

User info
uid=1000(admin) gid=1000(admin) groups=1000(admin),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),102(input),105(render),106(netdev),115(lpadmin),993(gpio),994(i2c),995(spi),999(systemd-journal)

Process info
admin       1089  0.1  0.0   9488  1152 ?        Ss   Jun13   1:39 /usr/local/bin/indiserver -p 7624 indi_simulator_telescope indi_simulator_ccd
admin       1109  0.0  0.1  41236  2176 ?        S    Jun13   1:07 indi_simulator_telescope
admin       1110  0.0  0.0 123340  1536 ?        Sl   Jun13   0:52 indi_simulator_ccd
admin       2104  0.0  0.7  33392 15104 ?        SNs  Jun13   0:14 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/python3 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/gunicorn --config /etc/indi-allsky/gunicorn.conf.py indi_allsky.wsgi
admin       2121  0.0  9.5 891096 179952 ?       SNl  Jun13   0:41 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/python3 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/gunicorn --config /etc/indi-allsky/gunicorn.conf.py indi_allsky.wsgi
admin       2130  0.0  4.3 653988 82976 ?        SNsl Jun13   0:44 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
admin       2134  0.3  4.0 565812 77204 ?        Sl   Jun13   3:42 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
admin       2136 12.5 13.6 742376 258324 ?       Sl   Jun13 145:31 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
admin       2137  0.7 10.0 657228 189608 ?       SNl  Jun13   9:10 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
admin      32287  0.3  0.1   6800  2944 ?        SN   18:48   0:00 /bin/bash /home/admin/indi-allsky/misc/support_info.sh

USB info
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 4037:2804  2.4G Composite Devic
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

USB Permissions
      123      0 drwxr-xr-x   4 root     root           80 Jan  1  1970 /dev/bus/usb
      124      0 drwxr-xr-x   2 root     root          100 Jan  1  1970 /dev/bus/usb/001
      125      0 crw-rw-r--   1 root     root     189,   0 Jun 13 23:12 /dev/bus/usb/001/001
      142      0 crw-rw-r--   1 root     root     189,   1 Jun 13 23:12 /dev/bus/usb/001/002
      271      0 crw-rw-r--   1 root     root     189,   2 Jun 13 23:12 /dev/bus/usb/001/003
      126      0 drwxr-xr-x   2 root     root           60 Jan  1  1970 /dev/bus/usb/002
      127      0 crw-rw-r--   1 root     root     189, 128 Jun 13 23:12 /dev/bus/usb/002/001

video device Permissions
crw-rw----+ 1 root video 81, 14 Jun 13 23:12 /dev/video0
crw-rw----+ 1 root video 81, 15 Jun 13 23:12 /dev/video1
crw-rw----+ 1 root video 81,  8 Jun 13 23:12 /dev/video10
crw-rw----+ 1 root video 81,  9 Jun 13 23:12 /dev/video11
crw-rw----+ 1 root video 81, 11 Jun 13 23:12 /dev/video12
crw-rw----+ 1 root video 81,  0 Jun 13 23:12 /dev/video13
crw-rw----+ 1 root video 81,  1 Jun 13 23:12 /dev/video14
crw-rw----+ 1 root video 81,  2 Jun 13 23:12 /dev/video15
crw-rw----+ 1 root video 81,  3 Jun 13 23:12 /dev/video16
crw-rw----+ 1 root video 81, 12 Jun 13 23:12 /dev/video18
crw-rw----+ 1 root video 81,  4 Jun 13 23:12 /dev/video19
crw-rw----+ 1 root video 81,  5 Jun 13 23:12 /dev/video20
crw-rw----+ 1 root video 81,  6 Jun 13 23:12 /dev/video21
crw-rw----+ 1 root video 81,  7 Jun 13 23:12 /dev/video22
crw-rw----+ 1 root video 81, 10 Jun 13 23:12 /dev/video23
crw-rw----+ 1 root video 81, 13 Jun 13 23:12 /dev/video31

v4l info
bcm2835-codec-decode (platform:bcm2835-codec):
    /dev/video10
    /dev/video11
    /dev/video12
    /dev/video18
    /dev/video31
    /dev/media4

bcm2835-isp (platform:bcm2835-isp):
    /dev/video13
    /dev/video14
    /dev/video15
    /dev/video16
    /dev/video20
    /dev/video21
    /dev/video22
    /dev/video23
    /dev/media0
    /dev/media3

unicam (platform:fe801000.csi):
    /dev/video0
    /dev/video1
    /dev/media2

rpivid (platform:rpivid):
    /dev/video19
    /dev/media1

Module info
Module                  Size  Used by
rfcomm                 53248  4
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq                81920  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
cmac                   12288  3
algif_hash             12288  1
aes_arm64              12288  3
aes_generic            32768  1 aes_arm64
algif_skcipher         12288  1
af_alg                 28672  6 algif_hash,algif_skcipher
bnep                   24576  2
brcmfmac_wcc           12288  0
brcmfmac              348160  1 brcmfmac_wcc
hci_uart               49152  0
btbcm                  24576  1 hci_uart
brcmutil               24576  1 brcmfmac
bluetooth             606208  33 hci_uart,btbcm,bnep,rfcomm
cfg80211              995328  1 brcmfmac
imx477                 24576  3
raspberrypi_hwmon      12288  0
binfmt_misc            16384  1
joydev                 24576  0
ecdh_generic           16384  2 bluetooth
ecc                    36864  1 ecdh_generic
bcm2835_unicam         49152  8
rfkill                 32768  6 bluetooth,cfg80211
bcm2835_codec          45056  0
rpivid_hevc            45056  0
bcm2835_isp            28672  10
bcm2835_v4l2           40960  0
v4l2_dv_timings        40960  1 bcm2835_unicam
v4l2_mem2mem           53248  2 bcm2835_codec,rpivid_hevc
v4l2_fwnode            20480  2 imx477,bcm2835_unicam
libaes                 12288  3 aes_arm64,bluetooth,aes_generic
bcm2835_mmal_vchiq     36864  3 bcm2835_codec,bcm2835_v4l2,bcm2835_isp
v4l2_async             20480  3 v4l2_fwnode,imx477,bcm2835_unicam
videobuf2_vmalloc      12288  1 bcm2835_v4l2
videobuf2_dma_contig    20480  4 bcm2835_codec,bcm2835_unicam,rpivid_hevc,bcm2835_isp
videobuf2_memops       12288  2 videobuf2_vmalloc,videobuf2_dma_contig
videobuf2_v4l2         32768  6 bcm2835_codec,bcm2835_unicam,bcm2835_v4l2,rpivid_hevc,v4l2_mem2mem,bcm2835_isp
snd_bcm2835            24576  1
videodev              319488  24 v4l2_async,bcm2835_codec,v4l2_fwnode,videobuf2_v4l2,imx477,bcm2835_unicam,bcm2835_v4l2,rpivid_hevc,v4l2_mem2mem,bcm2835_isp
vc_sm_cma              28672  2 bcm2835_mmal_vchiq,bcm2835_isp
raspberrypi_gpiomem    12288  0
videobuf2_common       73728  10 bcm2835_codec,videobuf2_vmalloc,videobuf2_dma_contig,videobuf2_v4l2,bcm2835_unicam,bcm2835_v4l2,rpivid_hevc,v4l2_mem2mem,videobuf2_memops,bcm2835_isp
mc                     65536  14 v4l2_async,videodev,bcm2835_codec,videobuf2_v4l2,imx477,bcm2835_unicam,videobuf2_common,rpivid_hevc,v4l2_mem2mem,bcm2835_isp
nvmem_rmem             12288  0
uio_pdrv_genirq        12288  0
uio                    20480  1 uio_pdrv_genirq
fuse                  139264  5
i2c_dev                16384  0
dm_mod                143360  0
ip_tables              32768  0
x_tables               57344  1 ip_tables
ipv6                  573440  58
vc4                   372736  17
snd_soc_hdmi_codec     20480  2
drm_display_helper     16384  1 vc4
v3d                    90112  8
cec                    53248  1 vc4
drm_dma_helper         24576  3 vc4
gpu_sched              53248  1 v3d
drm_kms_helper        233472  2 drm_dma_helper,vc4
drm_shmem_helper       24576  1 v3d
drm                   688128  18 gpu_sched,drm_kms_helper,drm_dma_helper,v3d,vc4,drm_shmem_helper,drm_display_helper
snd_soc_core          307200  2 vc4,snd_soc_hdmi_codec
drm_panel_orientation_quirks    24576  1 drm
i2c_mux_pinctrl        12288  0
snd_compress           20480  1 snd_soc_core
i2c_mux                12288  1 i2c_mux_pinctrl
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm               151552  5 snd_bcm2835,snd_soc_hdmi_codec,snd_compress,snd_soc_core,snd_pcm_dmaengine
i2c_brcmstb            12288  0
i2c_bcm2835            16384  1
snd_timer              36864  3 snd_seq,snd_hrtimer,snd_pcm
snd                   122880  14 snd_seq,snd_seq_device,snd_bcm2835,snd_soc_hdmi_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
backlight              24576  2 drm_kms_helper,drm

git status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean

git log
commit cea15e9891fe9e29c8a01cf9b138b28156f80dfc
Merge: d8d2bb9d 010dca14
Author: Aaron W Morris <aaron@aarmor.net>
Date:   Thu Jun 13 14:30:05 2024 -0400

    Merge pull request #1320 from aaronwmorris/dev

    add BH1750 light sensors support

indi version: 2.0.7

indi packages

indi connections
LISTEN 0      5                    0.0.0.0:7624                 0.0.0.0:*           
ESTAB  0      0                  127.0.0.1:7624               127.0.0.1:53944       
ESTAB  0      0                  127.0.0.1:53944              127.0.0.1:7624        

Detected indi properties
looking for *.*.*
Connected to localhost on port 7624
Queried properties from *
CCD Simulator.CCD_SIMULATE_CRASH is write-only
Telescope Simulator.MOUNT_TYPE is write-only
Telescope Simulator.SIM_PIER_SIDE is write-only
Telescope Simulator.MOUNT_MODEL is write-only
Telescope Simulator.FLIP_HA is write-only
CCD Simulator.CONNECTION.CONNECT=Off
CCD Simulator.CONNECTION.DISCONNECT=On
CCD Simulator.DRIVER_INFO.DRIVER_NAME=CCD Simulator
CCD Simulator.DRIVER_INFO.DRIVER_EXEC=indi_simulator_ccd
CCD Simulator.DRIVER_INFO.DRIVER_VERSION=1.0
CCD Simulator.DRIVER_INFO.DRIVER_INTERFACE=22
CCD Simulator.POLLING_PERIOD.PERIOD_MS=1000
CCD Simulator.DEBUG.ENABLE=Off
CCD Simulator.DEBUG.DISABLE=On
CCD Simulator.CONFIG_PROCESS.CONFIG_LOAD=Off
CCD Simulator.CONFIG_PROCESS.CONFIG_SAVE=Off
CCD Simulator.CONFIG_PROCESS.CONFIG_DEFAULT=Off
CCD Simulator.CONFIG_PROCESS.CONFIG_PURGE=Off
CCD Simulator.ACTIVE_DEVICES.ACTIVE_TELESCOPE=Telescope Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_ROTATOR=Rotator Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_FOCUSER=Focuser Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_FILTER=CCD Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_SKYQUALITY=SQM
Telescope Simulator.CONNECTION.CONNECT=On
Telescope Simulator.CONNECTION.DISCONNECT=Off
CCD Simulator.SIMULATOR_SETTINGS.SIM_XRES=1280
CCD Simulator.SIMULATOR_SETTINGS.SIM_YRES=1024
CCD Simulator.SIMULATOR_SETTINGS.SIM_XSIZE=5.2000000000000001776
CCD Simulator.SIMULATOR_SETTINGS.SIM_YSIZE=5.2000000000000001776
CCD Simulator.SIMULATOR_SETTINGS.SIM_MAXVAL=65000
CCD Simulator.SIMULATOR_SETTINGS.SIM_SATURATION=1
CCD Simulator.SIMULATOR_SETTINGS.SIM_LIMITINGMAG=17
CCD Simulator.SIMULATOR_SETTINGS.SIM_NOISE=10
CCD Simulator.SIMULATOR_SETTINGS.SIM_SKYGLOW=19.5
CCD Simulator.SIMULATOR_SETTINGS.SIM_OAGOFFSET=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_POLAR=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_POLARDRIFT=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_PEPERIOD=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_PEMAX=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_TIME_FACTOR=1
CCD Simulator.SIMULATOR_SETTINGS.SIM_ROTATION=0
Telescope Simulator.DRIVER_INFO.DRIVER_NAME=Telescope Simulator
Telescope Simulator.DRIVER_INFO.DRIVER_EXEC=indi_simulator_telescope
Telescope Simulator.DRIVER_INFO.DRIVER_VERSION=1.0
Telescope Simulator.DRIVER_INFO.DRIVER_INTERFACE=5
Telescope Simulator.POLLING_PERIOD.PERIOD_MS=250
Telescope Simulator.DEBUG.ENABLE=Off
Telescope Simulator.DEBUG.DISABLE=On
Telescope Simulator.CONFIG_PROCESS.CONFIG_LOAD=Off
Telescope Simulator.CONFIG_PROCESS.CONFIG_SAVE=Off
Telescope Simulator.CONFIG_PROCESS.CONFIG_DEFAULT=Off
Telescope Simulator.CONFIG_PROCESS.CONFIG_PURGE=Off
Telescope Simulator.CONNECTION_MODE.CONNECTION_SERIAL=On
Telescope Simulator.CONNECTION_MODE.CONNECTION_TCP=Off
Telescope Simulator.DEVICE_PORT.PORT=/dev/ttyUSB0
Telescope Simulator.DEVICE_BAUD_RATE.9600=On
Telescope Simulator.DEVICE_BAUD_RATE.19200=Off
Telescope Simulator.DEVICE_BAUD_RATE.38400=Off
Telescope Simulator.DEVICE_BAUD_RATE.57600=Off
Telescope Simulator.DEVICE_BAUD_RATE.115200=Off
Telescope Simulator.DEVICE_BAUD_RATE.230400=Off
Telescope Simulator.DEVICE_AUTO_SEARCH.INDI_ENABLED=On
Telescope Simulator.DEVICE_AUTO_SEARCH.INDI_DISABLED=Off
Telescope Simulator.DEVICE_PORT_SCAN.Scan Ports=Off
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_GPS=GPS Simulator
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_DOME=Dome Simulator
CCD Simulator.EQUATORIAL_PE.RA_PE=0
CCD Simulator.EQUATORIAL_PE.DEC_PE=0
CCD Simulator.SIM_FOCUSING.SIM_FOCUS_POSITION=36700
CCD Simulator.SIM_FOCUSING.SIM_FOCUS_MAX=100000
CCD Simulator.SIM_FOCUSING.SIM_SEEING=3.5
CCD Simulator.SIMULATE_BAYER.INDI_ENABLED=Off
CCD Simulator.SIMULATE_BAYER.INDI_DISABLED=On
CCD Simulator.ACTIVE_DEVICES.ACTIVE_TELESCOPE=Telescope Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_ROTATOR=Rotator Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_FOCUSER=Focuser Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_FILTER=CCD Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_SKYQUALITY=SQM
Telescope Simulator.DOME_POLICY.DOME_IGNORED=On
Telescope Simulator.DOME_POLICY.DOME_LOCKS=Off
Telescope Simulator.MOUNT_AXES.PRIMARY=2.420600509367432096e-05
Telescope Simulator.MOUNT_AXES.SECONDARY=52.700001000000007423
Telescope Simulator.ON_COORD_SET.TRACK=On
Telescope Simulator.ON_COORD_SET.SLEW=Off
Telescope Simulator.ON_COORD_SET.SYNC=Off
Telescope Simulator.EQUATORIAL_EOD_COORD.RA=11.34669146464111833
Telescope Simulator.EQCCD Simulator.CCD_SIMULATE_CRASH is write-only
Telescope Simulator.MOUNT_TYPE is write-only
Telescope Simulator.SIM_PIER_SIDE is write-only
Telescope Simulator.MOUNT_MODEL is write-only
UATORIAL_EOD_COORD.DEC=52.700000762939453125
Telescope Simulator.TELESCOPE_ABORT_MOTION.ABORT=Off
Telescope Simulator.TELESCOPE_TRACK_MODE.TRACK_SIDEREAL=On
Telescope Simulator.TELESCOPE_TRACK_MODE.TRACK_SOLAR=Off
Telescope Simulator.TELESCOPE_TRACK_MODE.TRACK_LUNAR=Off
Telescope Simulator.TELESCOPE_TRACK_MODE.TRACK_CUSTOM=Off
Telescope Simulator.TELESCOPE_TRACK_STATE.TRACK_ON=Off
Telescope Simulator.TELESCOPE_TRACK_STATE.TRACK_OFF=On
Telescope Simulator.TELESCOPE_TRACK_RATE.TRACK_RATE_RA=15.04106717867020393
Telescope Simulator.TELESCOPE_TRACK_RATE.TRACK_RATE_DE=0
Telescope Simulator.TELESCOPE_MOTION_NS.MOTION_NORTH=Off
Telescope Simulator.TELESCOPE_MOTION_NS.MOTION_SOUTH=Off
Telescope Simulator.TELESCOPE_MOTION_WE.MOTION_WEST=Off
Telescope Simulator.TELESCOPE_MOTION_WE.MOTION_EAST=Off
Telescope Simulator.TELESCOPE_REVERSE_MOTION.REVERSE_NS=Off
Telescope Simulator.TELESCOPE_REVERSE_MOTION.REVERSE_WE=Off
Telescope Simulator.TELESCOPE_SLEW_RATE.SLEW_GUIDE=Off
Telescope Simulator.TELESCOPE_SLEW_RATE.SLEW_CENTERING=Off
Telescope Simulator.TELESCOPE_SLEW_RATE.SLEW_FIND=Off
Telescope Simulator.TELESCOPE_SLEW_RATE.SLEW_MAX=On
Telescope Simulator.TARGET_EOD_COORD.RA=0
Telescope Simulator.TARGET_EOD_COORD.DEC=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_XRES=1280
CCD Simulator.SIMULATOR_SETTINGS.SIM_YRES=1024
CCD Simulator.SIMULATOR_SETTINGS.SIM_XSIZE=5.2000000000000001776
CCD Simulator.SIMULATOR_SETTINGS.SIM_YSIZE=5.2000000000000001776
CCD Simulator.SIMULATOR_SETTINGS.SIM_MAXVAL=65000
CCD Simulator.SIMULATOR_SETTINGS.SIM_SATURATION=1
CCD Simulator.SIMULATOR_SETTINGS.SIM_LIMITINGMAG=17
CCD Simulator.SIMULATOR_SETTINGS.SIM_NOISE=10
CCD Simulator.SIMULATOR_SETTINGS.SIM_SKYGLOW=19.5
CCD Simulator.SIMULATOR_SETTINGS.SIM_OAGOFFSET=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_POLAR=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_POLARDRIFT=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_PEPERIOD=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_PEMAX=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_TIME_FACTOR=1
CCD Simulator.SIMULATOR_SETTINGS.SIM_ROTATION=0
CCD Simulator.EQUATORIAL_PE.RA_PE=0
CCD Simulator.EQUATORIAL_PE.DEC_PE=0
CCD Simulator.SIM_FOCUSING.SIM_FOCUS_POSITION=36700
CCD Simulator.SIM_FOCUSING.SIM_FOCUS_MAX=100000
CCD Simulator.SIM_FOCUSING.SIM_SEEING=3.5
CCD Simulator.SIMULATE_BAYER.INDI_ENABLED=Off
CCD Simulator.SIMULATE_BAYER.INDI_DISABLED=On
Telescope Simulator.TIME_UTC.UTC=2024-06-13T22:25:00
Telescope Simulator.TIME_UTC.OFFSET=1.00
Telescope Simulator.GEOGRAPHIC_COORD.LAT=52.700000762939453125
Telescope Simulator.GEOGRAPHIC_COORD.LONG=-0.43999999761581420898
Telescope Simulator.GEOGRAPHIC_COORD.ELEV=0
Telescope Simulator.TELESCOPE_PARK.PARK=On
Telescope Simulator.TELESCOPE_PARK.UNPARK=Off
Telescope Simulator.TELESCOPE_PARK_POSITION.PARK_HA=0
Telescope Simulator.TELESCOPE_PARK_POSITION.PARK_DEC=52.700000762939453125
Telescope Simulator.TELESCOPE_PARK_OPTION.PARK_CURRENT=Off
Telescope Simulator.TELESCOPE_PARK_OPTION.PARK_DEFAULT=Off
Telescope Simulator.TELESCOPE_PARK_OPTION.PARK_WRITE_DATA=Off
Telescope Simulator.TELESCOPE_PARK_OPTION.PARK_PURGE_DATA=Off
Telescope Simulator.USEJOYSTICK.ENABLE=Off
Telescope Simulator.USEJOYSTICK.DISABLE=On
Telescope Simulator.SNOOP_JOYSTICK.SNOOP_JOYSTICK_DEVICE=Joystick
Telescope Simulator.TELESCOPE_TIMED_GUIDE_NS.TIMED_GUIDE_N=0
Telescope Simulator.TELESCOPE_TIMED_GUIDE_NS.TIMED_GUIDE_S=0
Telescope Simulator.TELESCOPE_TIMED_GUIDE_WE.TIMED_GUIDE_W=0
Telescope Simulator.TELESCOPE_TIMED_GUIDE_WE.TIMED_GUIDE_E=0
Telescope Simulator.GUIDE_RATE.GUIDE_RATE_WE=0.5
Telescope Simulator.GUIDE_RATE.GUIDE_RATE_NS=0.5
Telescope Simulator.TELESCOPE_HOME.FIND=Off
Telescope Simulator.TELESCOPE_HOME.SET=Off
Telescope Simulator.TELESCOPE_HOME.GO=Off
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_GPS=GPS Simulator
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_DOME=Dome Simulator
Telescope Simulator.DOME_POLICY.DOME_IGNORED=On
Telescope Simulator.DOME_POLICY.DOME_LOCKS=Off
Telescope Simulator.USEJOYSTICK.ENABLE=Off
Telescope Simulator.USEJOYSTICK.DISABLE=On
Telescope Simulator.SNOOP_JOYSTICK.SNOOP_JOYSTICK_DEVICE=Joystick
Telescope Simulator.MOUNT_AXES.PRIMARY=Telescope Simulator.FLIP_HA is write-only
2.420600509367432096e-05
Telescope Simulator.MOUNT_AXES.SECONDARY=52.700001000000007423

libcamera: not detected

libcamera packages
ii  libcamera-ipa:arm64                  0.2.0+rpt20240418-1                 arm64        complex camera support library (IPA modules)
ii  libcamera-tools                      0.2.0+rpt20240418-1                 arm64        complex camera support library (tools)
ii  libcamera0.2:arm64                   0.2.0+rpt20240418-1                 arm64        complex camera support library
ii  pipewire-libcamera:arm64             0.3.65-3+rpt7+deb12u1               arm64        PipeWire libcamera plugin
ii  python3-libcamera:arm64              0.2.0+rpt20240418-1                 arm64        complex camera support library (Python bindings)

libcamera cameras
rpicam-hello: /usr/bin/rpicam-hello
Available cameras
-----------------
0 : imx477 [4056x3040 12-bit RGGB] (/base/soc/i2c0mux/i2c@1/imx477@1a)
    Modes: 'SRGGB10_CSI2P' : 1332x990 [120.05 fps - (696, 528)/2664x1980 crop]
           'SRGGB12_CSI2P' : 2028x1080 [50.03 fps - (0, 440)/4056x2160 crop]
                             2028x1520 [40.01 fps - (0, 0)/4056x3040 crop]
                             4056x3040 [10.00 fps - (0, 0)/4056x3040 crop]

python packages
ii  libpython3-dev:arm64                 3.11.2-1+b1                         arm64        header files and a static library for Python (default)
ii  libpython3-stdlib:arm64              3.11.2-1+b1                         arm64        interactive high-level object-oriented language (default python3 version)
ii  libpython3.11:arm64                  3.11.2-6                            arm64        Shared Python runtime library (version 3.11)
ii  libpython3.11-dev:arm64              3.11.2-6                            arm64        Header files and a static library for Python (v3.11)
ii  libpython3.11-minimal:arm64          3.11.2-6                            arm64        Minimal subset of the Python language (version 3.11)
ii  libpython3.11-stdlib:arm64           3.11.2-6                            arm64        Interactive high-level object-oriented language (standard library, version 3.11)
ii  python-apt-common                    2.6.0                               all          Python interface to libapt-pkg (locales)
ii  python-babel-localedata              2.10.3-1                            all          tools for internationalizing Python applications - locale data files
ii  python-is-python3                    3.11.1-3                            all          symlinks /usr/bin/python to python3
ii  python3                              3.11.2-1+b1                         arm64        interactive high-level object-oriented language (default python3 version)
ii  python3-apt                          2.6.0                               arm64        Python 3 interface to libapt-pkg
ii  python3-asgiref                      3.6.0-1                             all          ASGI in-memory channel layer (Python3 version)
ii  python3-astroid                      2.14.2-1                            all          rebuild a new abstract syntax tree from Python's AST (Python3)
ii  python3-asttokens                    2.2.1-1                             all          annotate Python asbtract syntax trees with code references (Python 3)
ii  python3-av                           10.0.0-1+rpt4                       arm64        pythonic bindings for FFmpeg's libraries
ii  python3-babel                        2.10.3-1                            all          tools for internationalizing Python applications - Python 3.x
ii  python3-blinker                      1.5-1                               all          Fast, simple object-to-object and broadcast signaling (Python3)
ii  python3-bs4                          4.11.2-2                            all          error-tolerant HTML parser for Python 3
ii  python3-cairo:arm64                  1.20.1-5+b1                         arm64        Python3 bindings for the Cairo vector graphics library
ii  python3-certifi                      2022.9.24-1                         all          root certificates for validating SSL certs and verifying TLS hosts (python3)
ii  python3-cffi-backend:arm64           1.15.1-5+b1                         arm64        Foreign Function Interface for Python 3 calling C code - runtime
ii  python3-chardet                      5.1.0+dfsg-2                        all          Universal Character Encoding Detector (Python3)
ii  python3-charset-normalizer           3.0.1-2                             all          charset, encoding and language detection (Python 3)
ii  python3-click                        8.1.3-2                             all          Wrapper around optparse for command line utilities - Python 3.x
ii  python3-colorama                     0.4.6-2                             all          Cross-platform colored terminal text in Python - Python 3.x
ii  python3-colorzero                    2.0-2                               all          Construct, convert, and manipulate colors in a Pythonic manner.
ii  python3-cryptography                 38.0.4-3                            arm64        Python library exposing cryptographic recipes and primitives (Python 3)
ii  python3-cups:arm64                   2.0.1-5+b4                          arm64        Python3 bindings for CUPS
ii  python3-cupshelpers                  1.5.18-1                            all          Python utility modules around the CUPS printing system
ii  python3-dbus                         1.3.2-4+b1                          arm64        simple interprocess messaging system (Python 3 interface)
ii  python3-debconf                      1.5.82                              all          interact with debconf from Python 3
ii  python3-dev                          3.11.2-1+b1                         arm64        header files and a static library for Python (default)
ii  python3-dill                         0.3.6-1                             all          Serialize all of Python 3 (almost)
ii  python3-distlib                      0.3.6-1                             all          low-level components of python distutils2/packaging
ii  python3-distro                       1.8.0-1                             all          Linux OS platform information API
ii  python3-distutils                    3.11.2-3                            all          distutils package for Python 3.x
ii  python3-docutils                     0.19+dfsg-6                         all          text processing system for reStructuredText (implemented in Python 3)
ii  python3-dotenv                       0.21.0-1                            all          Get and set values in the .env file in local and production servers
ii  python3-filelock                     3.9.0-1                             all          platform independent file locking module
ii  python3-flask                        2.2.2-3                             all          micro web framework based on Werkzeug and Jinja2 - Python 3.x
ii  python3-gi                           3.42.2-3+b1                         arm64        Python 3 bindings for gobject-introspection libraries
ii  python3-gi-cairo                     3.42.2-3+b1                         arm64        Python 3 Cairo bindings for the GObject library
ii  python3-gpiozero                     2.0-1                               all          Simple API for controlling devices attached to a Pi's GPIO pins
ii  python3-html5lib                     1.1-3                               all          HTML parser/tokenizer based on the WHATWG HTML5 specification
ii  python3-idna                         3.3-1                               all          Python IDNA2008 (RFC 5891) handling (Python 3)
ii  python3-importlib-metadata           4.12.0-1                            all          library to access the metadata for a Python package - Python 3.x
ii  python3-isort                        5.6.4-1                             all          library for sorting Python imports (Python 3)
ii  python3-itsdangerous                 2.1.2-3                             all          Various helpers to pass trusted data to untrusted environment - Python 3.x
ii  python3-jedi                         0.18.2-1                            all          autocompletion tool for Python 3
ii  python3-jinja2                       3.1.2-1                             all          small but fast and easy to use stand-alone template engine
ii  python3-jwt                          2.6.0-1                             all          Python 3 implementation of JSON Web Token
ii  python3-kms++                        0~git20231115~065257+9ae90ce-1      arm64        C++ library for kernel mode setting - python3 bindings
ii  python3-lazy-object-proxy            1.9.0-1+b1                          arm64        Python 3 fast and thorough lazy object proxy
ii  python3-lgpio                        0.2.2-1~rpt1                        arm64        Control GPIO pins via gpiochip devices - python3 bindings
ii  python3-lib2to3                      3.11.2-3                            all          Interactive high-level object-oriented language (lib2to3)
ii  python3-libcamera:arm64              0.2.0+rpt20240418-1                 arm64        complex camera support library (Python bindings)
ii  python3-libevdev                     0.5-3                               all          Python 3 wrapper for libevdev
ii  python3-libgpiod:arm64               1.6.3-1+b3                          arm64        Python bindings for libgpiod (Python 3)
ii  python3-logilab-common               1.9.8-1                             all          useful miscellaneous modules used by Logilab projects (Python3)
ii  python3-lxml:arm64                   4.9.2-1+b1                          arm64        pythonic binding for the libxml2 and libxslt libraries
ii  python3-markupsafe                   2.1.2-1+b1                          arm64        HTML/XHTML/XML string library
ii  python3-mccabe                       0.7.0-1                             all          Python code complexity checker (Python 3)
ii  python3-minimal                      3.11.2-1+b1                         arm64        minimal subset of the Python language (default python3 version)
ii  python3-more-itertools               8.10.0-2                            all          library with routines for operating on iterables, beyond itertools (Python 3)
ii  python3-mypy                         1.0.1-1                             arm64        public modules for mypy (Python 3)
ii  python3-mypy-extensions              0.4.3-4                             all          Experimental type system extensions for mypy typechecker (Python 3)
ii  python3-numpy                        1:1.24.2-1                          arm64        Fast array facility to the Python 3 language
ii  python3-oauthlib                     3.2.2-1                             all          generic, spec-compliant implementation of OAuth for Python3
ii  python3-olefile                      0.46-3                              all          Python module to read/write MS OLE2 files
ii  python3-opengl                       3.1.6+dfsg-3                        all          Python bindings to OpenGL (Python 3)
ii  python3-openssl                      23.0.0-1                            all          Python 3 wrapper around the OpenSSL library
ii  python3-parso                        0.8.3-1                             all          Python parser that supports error recovery - Python 3.X
ii  python3-pexpect                      4.8.0-4                             all          Python 3 module for automating interactive applications
ii  python3-pgzero                       1.2.post4+dfsg-2                    all          Zero-boilerplate games programming framework based on Pygame (Python 3)
ii  python3-picamera2                    0.3.18-1                            all          Libcamera based python library
ii  python3-pidng                        4.0.9-1+bookworm                    arm64        Create Adobe DNG RAW files using Python (Python 3)
ii  python3-piexif                       1.1.3-2                             all          pure-Python EXIF manipulation library
ii  python3-pigpio                       1.79-1+rpt1                         all          Python module which talks to the pigpio daemon (Python 3)
ii  python3-pil:arm64                    9.4.0-1.1+deb12u1                   arm64        Python Imaging Library (Python3)
ii  python3-pip                          23.0.1+dfsg-1+rpt1                  all          Python package installer
ii  python3-pip-whl                      23.0.1+dfsg-1+rpt1                  all          Python package installer (pip wheel)
ii  python3-pkg-resources                66.1.1-1                            all          Package Discovery and Resource Access using pkg_resources
ii  python3-platformdirs                 2.6.0-1                             all          determining appropriate platform-specific directories (Python 3)
ii  python3-prctl                        1.8.1-1+b2                          arm64        Python interface to the prctl() syscall (Python 3)
ii  python3-psutil                       5.9.4-1+b1                          arm64        module providing convenience functions for managing processes (Python3)
ii  python3-ptyprocess                   0.7.0-5                             all          Run a subprocess in a pseudo terminal from Python 3
ii  python3-pycryptodome                 3.11.0+dfsg1-4                      arm64        cryptographic Python library (Python 3)
ii  python3-pygame                       2.1.2+dfsg-5+b1                     arm64        SDL bindings for games development (Python 3)
ii  python3-pygments                     2.14.0+dfsg-1                       all          syntax highlighting package written in Python 3
ii  python3-pyinotify                    0.9.6-2                             all          simple Linux inotify Python bindings
ii  python3-pyqt5                        5.15.9+dfsg-1                       arm64        Python 3 bindings for Qt5
ii  python3-pyqt5.sip                    12.11.1-1                           arm64        runtime module for Python extensions using SIP
ii  python3-pyudev                       0.24.0-1                            all          Python3 bindings for libudev
ii  python3-renderpm:arm64               3.6.12-1+b1                         arm64        python low level render interface
ii  python3-reportlab                    3.6.12-1                            all          ReportLab library to create PDF documents using Python3
ii  python3-reportlab-accel:arm64        3.6.12-1+b1                         arm64        C coded extension accelerator for the ReportLab Toolkit
ii  python3-requests                     2.28.1+dfsg-1                       all          elegant and simple HTTP library for Python3, built for human beings
ii  python3-requests-oauthlib            1.3.0+ds-1                          all          module providing OAuthlib auth support for requests (Python 3)
ii  python3-responses                    0.18.0-1                            all          Utility library for mocking out the requests Python 3 library
ii  python3-roman                        3.3-3                               all          module for generating/analyzing Roman numerals for Python 3
ii  python3-rpi.gpio                     0.7.1~a4-1+b4                       arm64        Module to control Raspberry Pi GPIO channels (Python 3)
ii  python3-rtimulib                     7.2.1-6+bookworm                    arm64        Versatile C++ and Python 9-dof, 10-dof and 11-dof IMU library (Python 3)
ii  python3-send2trash                   1.8.1~b0-2                          all          Python module for sending file to trash natively
ii  python3-sense-hat                    2.6.0-1                             all          Sense HAT python library (Python 3)
ii  python3-serial                       3.5-1.1                             all          pyserial - module encapsulating access for the serial port
ii  python3-setuptools                   66.1.1-1                            all          Python3 Distutils Enhancements
ii  python3-setuptools-whl               66.1.1-1                            all          Python Distutils Enhancements (wheel package)
ii  python3-simplejpeg                   1.6.6-1                             arm64        Simple package for fast JPEG encoding and decoding
ii  python3-simplejson                   3.18.3-1                            arm64        simple, fast, extensible JSON encoder/decoder for Python 3.x
ii  python3-six                          1.16.0-4                            all          Python 2 and 3 compatibility library
ii  python3-smbc                         1.0.23-2+b4                         arm64        Python 3 bindings for the Samba client library
ii  python3-smbus:arm64                  4.3-2+b3                            arm64        Python 3 bindings for Linux SMBus access through i2c-dev
ii  python3-smbus2                       0.4.2-1                             arm64        another pure Python implementation of the python-smbus package
ii  python3-soupsieve                    2.3.2-1                             all          modern CSS selector implementation for BeautifulSoup (Python 3)
ii  python3-spidev                       20200602~200721-1+bookworm          arm64        Bindings for Linux SPI access through spidev (Python 3)
ii  python3-tk:arm64                     3.11.2-3                            arm64        Tkinter - Writing Tk applications with Python 3.x
ii  python3-toml                         0.10.2-1                            all          library for Tom's Obvious, Minimal Language - Python 3.x
ii  python3-tomlkit                      0.11.7-1                            all          style-preserving TOML library for Python
ii  python3-twython                      3.8.2+dfsg-2                        all          Pure Python3 wrapper for the Twitter API
ii  python3-typeshed                     0.0~git20221107.4f381af-1           all          collection of library stubs for Python, with static types
ii  python3-typing-extensions            4.4.0-1                             all          Backported and Experimental Type Hints for Python
ii  python3-tz                           2022.7.1-4                          all          Python3 version of the Olson timezone database
ii  python3-urllib3                      1.26.12-1                           all          HTTP library with thread-safe connection pooling for Python3
ii  python3-v4l2                         0.3.3-1                             all          Python bindings for the v4l2 userspace api
ii  python3-venv                         3.11.2-1+b1                         arm64        venv module for python3 (default python3 version)
ii  python3-virtualenv                   20.17.1+ds-1                        all          Python virtual environment creator
ii  python3-webencodings                 0.5.1-5                             all          Python implementation of the WHATWG Encoding standard
ii  python3-werkzeug                     2.2.2-3                             all          collection of utilities for WSGI applications (Python 3.x)
ii  python3-wheel                        0.38.4-2                            all          built-package format for Python
ii  python3-wheel-whl                    0.38.4-2                            all          built-package format for Python (wheel wheel)
ii  python3-wrapt                        1.14.1-2+b2                         arm64        decorators, wrappers and monkey patching. - Python 3.x
ii  python3-yaml                         6.0-3+b2                            arm64        YAML parser and emitter for Python3
ii  python3-zipp                         1.0.0-6                             all          pathlib-compatible Zipfile object wrapper - Python 3.x
ii  python3.11                           3.11.2-6                            arm64        Interactive high-level object-oriented language (version 3.11)
ii  python3.11-dev                       3.11.2-6                            arm64        Header files and a static library for Python (v3.11)
ii  python3.11-minimal                   3.11.2-6                            arm64        Minimal subset of the Python language (version 3.11)
ii  python3.11-venv                      3.11.2-6                            arm64        Interactive high-level object-oriented language (pyvenv binary, version 3.11)

Detected indi-allsky virtualenv
virtualenv python: Python 3.11.2
virtualenv PATH: /home/admin/indi-allsky/virtualenv/indi-allsky/bin:/usr/local/bin:/usr/bin:/bin
flask command: /home/admin/indi-allsky/virtualenv/indi-allsky/bin/flask

virtualenv python modules
alembic==1.13.1
apache-libcloud==3.8.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
asciitree==0.3.3
astroalign==2.5.1
astropy==6.1.0
astropy-iers-data==0.2024.6.10.0.30.47
astropy_healpix==1.0.3
astroscrappy==1.2.0
bcrypt==4.1.3
blinker==1.8.2
boto3==1.34.126
botocore==1.34.126
Bottleneck==1.3.8
cachetools==5.3.3
ccdproc==2.4.2
certifi==2024.6.2
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
cloudpickle==3.0.0
cryptography==42.0.8
Cython==3.0.10
dask==2024.5.2
dbus-python==1.3.2
ephem==4.1.5
fasteners==0.19
fish2pano==0.4.1
Flask==3.0.3
Flask-Login==0.6.3
Flask-Migrate==4.0.7
Flask-SQLAlchemy==3.1.1
Flask-WTF==1.2.1
fsspec==2024.6.0
google-api-core==2.19.0
google-api-python-client==2.133.0
google-auth==2.30.0
google-auth-httplib2==0.2.0
google-auth-oauthlib==1.2.0
google-cloud-core==2.4.1
google-cloud-storage==2.17.0
google-crc32c==1.5.0
google-resumable-media==2.7.1
googleapis-common-protos==1.63.1
greenlet==3.0.3
gunicorn==22.0.0
httplib2==0.22.0
idna==3.7
imageio==2.34.1
imageio-ffmpeg==0.5.1
importlib_metadata==7.1.0
inotify==0.2.10
is-safe-url==1.0
itsdangerous==2.2.0
Jinja2==3.1.4
jmespath==1.0.1
lazy_loader==0.4
locket==1.0.0
lxml==5.2.2
Mako==1.3.5
MarkupSafe==2.1.5
mysql-connector-python==8.4.0
networkx==3.3
nose==1.3.7
numcodecs==0.12.1
numpy==1.26.4
oauthlib==3.2.2
opencv-python-headless==4.10.0.82
packaging==24.1
paho-mqtt==2.1.0
paramiko==3.4.0
partd==1.4.2
passlib==1.7.4
piexif==1.1.3
pillow==10.3.0
prettytable==3.10.0
proto-plus==1.23.0
protobuf==4.25.3
psutil==5.9.8
pyasn1==0.6.0
pyasn1_modules==0.4.0
pycparser==2.22
pycurl==7.45.3
pyerfa==2.0.1.4
pygifsicle==1.0.7
pyindi-client @ git+https://github.com/indilib/pyindi-client.git@6f8fa8042f60f7b3079f6d66a0b8ee720af09d64
PyMySQL==1.1.1
PyNaCl==1.5.0
pyparsing==3.1.2
python-dateutil==2.9.0.post0
PyYAML==6.0.1
rawpy==0.21.0
reproject==0.13.1
requests==2.32.3
requests-oauthlib==2.0.0
requests-toolbelt==1.0.0
rsa==4.9
s3transfer==0.10.1
scikit-image==0.23.2
scipy==1.13.1
semantic-version==2.10.0
sep==1.2.1
setuptools-rust==1.9.0
shapely==2.0.4
six==1.16.0
SQLAlchemy==2.0.30
support-developer==1.0.5
tifffile==2024.5.22
toolz==0.12.1
typing_extensions==4.12.2
uritemplate==4.1.1
urllib3==2.2.1
wcwidth==0.2.13
Werkzeug==3.0.3
WTForms==3.1.2
zarr==2.18.2
zipp==3.19.2

indi-allsky config (passwords redacted) 2024-06-14 18:48:40,836 [INFO] MainProcess config._dump() [919]: Dumping config

{
  "ENCRYPT_PASSWORDS_comment": "Do not manually adjust",
  "ENCRYPT_PASSWORDS": false,
  "CAMERA_INTERFACE": "libcamera_imx477",
  "INDI_SERVER": "localhost",
  "INDI_PORT": 7624,
  "INDI_CAMERA_NAME": "",
  "OWNER": "Chris Lambert",
  "LENS_NAME": "AllSky Lens",
  "LENS_FOCAL_LENGTH": 2.5,
  "LENS_FOCAL_RATIO": 2,
  "LENS_IMAGE_CIRCLE": 4000,
  "LENS_ALTITUDE": 90,
  "LENS_AZIMUTH": 0,
  "CCD_CONFIG": {
    "NIGHT": {
      "GAIN": 100,
      "BINNING": 1
    },
    "MOONMODE": {
      "GAIN": 75,
      "BINNING": 1
    },
    "DAY": {
      "GAIN": 20,
      "BINNING": 1
    }
  },
  "INDI_CONFIG_DEFAULTS": {
    "SWITCHES": {},
    "PROPERTIES": {},
    "TEXT": {}
  },
  "INDI_CONFIG_DAY": {},
  "CCD_EXPOSURE_MAX": 30,
  "CCD_EXPOSURE_DEF": 0,
  "CCD_EXPOSURE_MIN": 0,
  "CCD_EXPOSURE_MIN_DAY": 0,
  "CCD_BIT_DEPTH": 0,
  "EXPOSURE_PERIOD": 30,
  "EXPOSURE_PERIOD_DAY": 30,
  "FOCUS_MODE": false,
  "FOCUS_DELAY": 4,
  "CFA_PATTERN": "BGGR",
  "SCNR_ALGORITHM": "average_neutral",
  "WBR_FACTOR": 1,
  "WBG_FACTOR": 1,
  "WBB_FACTOR": 1,
  "AUTO_WB": false,
  "SATURATION_FACTOR": 1,
  "CCD_COOLING": false,
  "CCD_TEMP": 15,
  "TEMP_DISPLAY": "c",
  "PRESSURE_DISPLAY": "hPa",
  "CCD_TEMP_SCRIPT": "",
  "GPS_ENABLE": false,
  "TARGET_ADU": 75,
  "TARGET_ADU_DAY": 75,
  "TARGET_ADU_DEV": 10,
  "TARGET_ADU_DEV_DAY": 20,
  "ADU_ROI": [],
  "ADU_FOV_DIV": 4,
  "DETECT_STARS": true,
  "DETECT_STARS_THOLD": 0.6,
  "DETECT_METEORS": false,
  "DETECT_MASK": "",
  "DETECT_DRAW": false,
  "LOGO_OVERLAY": "",
  "SQM_ROI": [],
  "SQM_FOV_DIV": 4,
  "LOCATION_NAME": "Carlby",
  "LOCATION_LATITUDE": 53,
  "LOCATION_LONGITUDE": -0,
  "LOCATION_ELEVATION": 35,
  "TIMELAPSE_ENABLE": true,
  "TIMELAPSE_SKIP_FRAMES": 4,
  "DAYTIME_CAPTURE": true,
  "DAYTIME_TIMELAPSE": true,
  "DAYTIME_CONTRAST_ENHANCE": false,
  "NIGHT_CONTRAST_ENHANCE": false,
  "CONTRAST_ENHANCE_16BIT": false,
  "CLAHE_CLIPLIMIT": 3,
  "CLAHE_GRIDSIZE": 8,
  "NIGHT_SUN_ALT_DEG": -6,
  "NIGHT_MOONMODE_ALT_DEG": 0,
  "NIGHT_MOONMODE_PHASE": 33,
  "WEB_NONLOCAL_IMAGES": false,
  "WEB_LOCAL_IMAGES_ADMIN": false,
  "WEB_EXTRA_TEXT": "",
  "WEB_STATUS_TEMPLATE": "Status: {status:s}\nLat: {latitude:0.1f}/Long: {longitude:0.1f}\nSidereal: {sidereal_time:s}\nMode: {mode:s}\nSun: {sun_alt:0.1f}&deg; {sun_dir:s}\nMoon: {moon_alt:0.1f}&deg; {moon_dir:s}\nPhase: {moon_phase_str:s} <span data-bs-toggle=\"tooltip\" data-bs-placement=\"right\" title=\"{moon_phase:0.0f}%\">{moon_glyph:s}</span>\nSmoke: {smoke_rating:s} {smoke_rating_status}\nKp-index: {kpindex:0.2f} {kpindex_rating:s} {kpindex_trend:s} {kpindex_status:s}\nAurora: {ovation_max:d}% {ovation_max_status}",
  "HEALTHCHECK": {
    "DISK_USAGE": 90,
    "SWAP_USAGE": 90
  },
  "IMAGE_STRETCH": {
    "MODE1_ENABLE": false,
    "MODE1_GAMMA": 3,
    "MODE1_STDDEVS": 2.25,
    "SPLIT": false,
    "MOONMODE": false,
    "DAYTIME": false
  },
  "KEOGRAM_ANGLE": 0,
  "KEOGRAM_H_SCALE": 100,
  "KEOGRAM_V_SCALE": 33,
  "KEOGRAM_CROP_TOP": 0,
  "KEOGRAM_CROP_BOTTOM": 0,
  "KEOGRAM_LABEL": true,
  "STARTRAILS_MAX_ADU": 65,
  "STARTRAILS_MASK_THOLD": 190,
  "STARTRAILS_PIXEL_THOLD": 1,
  "STARTRAILS_MIN_STARS": 0,
  "STARTRAILS_TIMELAPSE": true,
  "STARTRAILS_TIMELAPSE_MINFRAMES": 250,
  "STARTRAILS_SUN_ALT_THOLD": -15,
  "STARTRAILS_MOONMODE_THOLD": true,
  "STARTRAILS_MOON_ALT_THOLD": 91,
  "STARTRAILS_MOON_PHASE_THOLD": 101,
  "STARTRAILS_USE_DB_DATA": true,
  "IMAGE_CALIBRATE_DARK": true,
  "IMAGE_EXIF_PRIVACY": false,
  "IMAGE_FILE_TYPE": "jpg",
  "IMAGE_FILE_COMPRESSION": {
    "jpg": 90,
    "png": 5,
    "tif": 5,
    "jpeg": 90
  },
  "IMAGE_FOLDER": "/var/www/html/allsky/images",
  "IMAGE_LABEL_TEMPLATE": "# size:60 [Use 60 for higher resolution cameras]\n# xy:-30,30 (Upper Right)\n# anchor:ra (Right Justified)\n# color:150,0,0\n{timestamp:%d.%m.%Y %H:%M:%S}\n# color:100,100,0\nLat {latitude:0.0f} Long {longitude:0.0f}\n# color:150,150,150\nTiangong {tiangong_up:s} [{tiangong_next_h:0.1f}h/{tiangong_next_alt:0.0f}°]\nHubble {hst_up:s} [{hst_next_h:0.1f}h/{hst_next_alt:0.0f}°]\nISS {iss_up:s} [{iss_next_h:0.1f}h/{iss_next_alt:0.0f}°]\n# xy:-15,-450 (Lower Right) [Use -15,-450 for size 60]\n# color:175,175,0\nSun {sun_alt:0.0f}°\n# color:125,0,0\nMercury {mercury_alt:0.0f}°\n# color:100,150,150\nVenus {venus_alt:0.0f}°\n# color:150,0,0\nMars {mars_alt:0.0f}°\n# color:100,100,0\nJupiter {jupiter_alt:0.0f}°\n# color:100,100,150\nSaturn {saturn_alt:0.0f}°\n# color:150,150,150\nMoon {moon_phase:0.0f}% {moon_alt:0.0f}°\n# xy:15,-210 (Lower Left)  [Use 15,-210 for size 60]\n# anchor:la (Left Justified)\n# color:0,150,150\nStars {stars:d}\n# color:150,50,50\nKp-index {kpindex:0.2f}\n# color:150,150,150\nSmoke {smoke_rating:s}\n# xy:30,30 (Upper Left)\n# color:0,150,0\nExposure {exposure:0.6f}\n# color:150,50,0\nGain {gain:d}\n# color:50,50,150\nTemp {temp:0.1f}°{temp_unit:s}\n# color:150,0,150\nStretch {stretch:s}\nStacking {stack_method:s}\n# color:200,200,200 (default color)\n# additional labels will be added here\n{sensor_temp_10:0.1f}",
  "URL_TEMPLATE": "https://{bucket}.s3.{region}.{host}",
  "IMAGE_EXTRA_TEXT": "",
  "IMAGE_CROP_ROI": [],
  "IMAGE_ROTATE": "",
  "IMAGE_ROTATE_ANGLE": 0,
  "IMAGE_FLIP_V": true,
  "IMAGE_FLIP_H": true,
  "IMAGE_SCALE": 100,
  "NIGHT_GRAYSCALE": false,
  "DAYTIME_GRAYSCALE": false,
  "IMAGE_CIRCLE_MASK": {
    "ENABLE": false,
    "DIAMETER": 1500,
    "OFFSET_X": 0,
    "OFFSET_Y": 0,
    "BLUR": 35,
    "OPACITY": 100,
    "OUTLINE": false
  },
  "FISH2PANO": {
    "ENABLE": false,
    "DIAMETER": 3000,
    "OFFSET_X": 0,
    "OFFSET_Y": 0,
    "ROTATE_ANGLE": -90,
    "SCALE": 0.5,
    "MODULUS": 2,
    "FLIP_H": false,
    "ENABLE_CARDINAL_DIRS": true,
    "DIRS_OFFSET_BOTTOM": 25,
    "OPENCV_FONT_SCALE": 0.8,
    "PIL_FONT_SIZE": 30
  },
  "IMAGE_SAVE_FITS": false,
  "IMAGE_SAVE_FITS_PRE_DARK": false,
  "IMAGE_EXPORT_RAW": "",
  "IMAGE_EXPORT_FOLDER": "/var/www/html/allsky/images/export",
  "IMAGE_EXPORT_FLIP_V": false,
  "IMAGE_EXPORT_FLIP_H": false,
  "IMAGE_STACK_METHOD": "maximum",
  "IMAGE_STACK_COUNT": 1,
  "IMAGE_STACK_ALIGN": false,
  "IMAGE_ALIGN_DETECTSIGMA": 5,
  "IMAGE_ALIGN_POINTS": 50,
  "IMAGE_ALIGN_SOURCEMINAREA": 10,
  "IMAGE_STACK_SPLIT": false,
  "THUMBNAILS": {
    "IMAGES_AUTO": true
  },
  "IMAGE_EXPIRE_DAYS": 30,
  "TIMELAPSE_EXPIRE_DAYS": 365,
  "IMAGE_QUEUE_MAX": 3,
  "IMAGE_QUEUE_MIN": 1,
  "IMAGE_QUEUE_BACKOFF": 0.5,
  "FFMPEG_FRAMERATE": 35,
  "FFMPEG_BITRATE": "20000k",
  "FFMPEG_VFSCALE": "",
  "FFMPEG_CODEC": "libx264",
  "FFMPEG_EXTRA_OPTIONS": "",
  "FITSHEADERS": [
    [
      "INSTRUME",
      "indi-allsky"
    ],
    [
      "OBSERVER",
      ""
    ],
    [
      "SITE",
      ""
    ],
    [
      "OBJECT",
      ""
    ],
    [
      "NOTES",
      ""
    ]
  ],
  "IMAGE_LABEL_SYSTEM": "pillow",
  "TEXT_PROPERTIES": {
    "DATE_FORMAT": "%Y%m%d %H:%M:%S",
    "FONT_FACE": "FONT_HERSHEY_SIMPLEX",
    "FONT_AA": "LINE_AA",
    "FONT_SCALE": 0.8,
    "FONT_THICKNESS": 1,
    "FONT_OUTLINE": true,
    "FONT_HEIGHT": 30,
    "FONT_X": 30,
    "FONT_Y": 30,
    "FONT_COLOR": [
      200,
      200,
      200
    ],
    "PIL_FONT_FILE": "fonts-freefont-ttf/FreeMonoBold.ttf",
    "PIL_FONT_CUSTOM": "",
    "PIL_FONT_SIZE": 60
  },
  "CARDINAL_DIRS": {
    "ENABLE": true,
    "FONT_COLOR": [
      255,
      0,
      0
    ],
    "SWAP_NS": false,
    "SWAP_EW": false,
    "CHAR_NORTH": "N",
    "CHAR_EAST": "E",
    "CHAR WEST": "W",
    "CHAR_SOUTH": "S",
    "DIAMETER": 4000,
    "OFFSET_X": 0,
    "OFFSET_Y": 0,
    "OFFSET_TOP": 15,
    "OFFSET_LEFT": 15,
    "OFFSET_RIGHT": 15,
    "OFFSET_BOTTOM": 15,
    "OPENCV_FONT_SCALE": 0.5,
    "PIL_FONT_SIZE": 20,
    "OUTLINE_CIRCLE": false,
    "CHAR_WEST": "W"
  },
  "ORB_PROPERTIES": {
    "MODE": "ha",
    "RADIUS": 9,
    "SUN_COLOR": [
      200,
      200,
      0
    ],
    "MOON_COLOR": [
      128,
      128,
      128
    ],
    "AZ_OFFSET": 0,
    "RETROGRADE": false
  },
  "UPLOAD_WORKERS": 2,
  "FILETRANSFER": {
    "CLASSNAME": "pycurl_sftp",
    "HOST": "",
    "PORT": 0,
    "USERNAME": "",
    "PASSWORD": "REDACTED",
    "PASSWORD_E": "REDACTED",
    "PRIVATE_KEY": "",
    "PUBLIC_KEY": "",
    "CONNECT_TIMEOUT": 10,
    "TIMEOUT": 60,
    "CERT_BYPASS": true,
    "REMOTE_IMAGE_NAME": "image.{ext}",
    "REMOTE_PANORAMA_NAME": "panorama.{ext}",
    "REMOTE_IMAGE_FOLDER": "/home/allsky/upload/allsky",
    "REMOTE_PANORAMA_FOLDER": "/home/allsky/upload/allsky",
    "REMOTE_RAW_FOLDER": "/home/allsky/upload/allsky/export",
    "REMOTE_FITS_FOLDER": "/home/allsky/upload/allsky/fits",
    "REMOTE_METADATA_NAME": "latest_metadata.json",
    "REMOTE_METADATA_FOLDER": "/home/allsky/upload/allsky",
    "REMOTE_VIDEO_FOLDER": "/home/allsky/upload/allsky/videos",
    "REMOTE_KEOGRAM_FOLDER": "/home/allsky/upload/allsky/keograms",
    "REMOTE_STARTRAIL_FOLDER": "/home/allsky/upload/allsky/startrails",
    "REMOTE_STARTRAIL_VIDEO_FOLDER": "/home/allsky/upload/allsky/videos",
    "REMOTE_PANORAMA_VIDEO_FOLDER": "/home/allsky/upload/allsky/videos",
    "REMOTE_ENDOFNIGHT_FOLDER": "/home/allsky/upload/allsky",
    "UPLOAD_IMAGE": 0,
    "UPLOAD_PANORAMA": 0,
    "UPLOAD_RAW": false,
    "UPLOAD_FITS": false,
    "UPLOAD_METADATA": false,
    "UPLOAD_VIDEO": false,
    "UPLOAD_KEOGRAM": false,
    "UPLOAD_STARTRAIL": false,
    "UPLOAD_STARTRAIL_VIDEO": false,
    "UPLOAD_PANORAMA_VIDEO": false,
    "UPLOAD_ENDOFNIGHT": false,
    "LIBCURL_OPTIONS": {}
  },
  "S3UPLOAD": {
    "ENABLE": false,
    "CLASSNAME": "boto3_s3",
    "ACCESS_KEY": "",
    "SECRET_KEY": "REDACTED",
    "SECRET_KEY_E": "REDACTED",
    "CREDS_FILE": "",
    "BUCKET": "change-me",
    "REGION": "us-east-2",
    "NAMESPACE": "",
    "HOST": "amazonaws.com",
    "PORT": 0,
    "CONNECT_TIMEOUT": 10,
    "TIMEOUT": 60,
    "URL_TEMPLATE": "https://{bucket}.s3.{region}.{host}",
    "ACL": "",
    "STORAGE_CLASS": "STANDARD",
    "TLS": true,
    "CERT_BYPASS": false,
    "UPLOAD_FITS": false,
    "UPLOAD_RAW": false
  },
  "MQTTPUBLISH": {
    "ENABLE": false,
    "TRANSPORT": "tcp",
    "HOST": "localhost",
    "PORT": 8883,
    "USERNAME": "indi-allsky",
    "PASSWORD": "REDACTED",
    "PASSWORD_E": "REDACTED",
    "BASE_TOPIC": "indi-allsky",
    "QOS": 0,
    "TLS": true,
    "CERT_BYPASS": true,
    "PUBLISH_IMAGE": true
  },
  "SYNCAPI": {
    "ENABLE": false,
    "BASEURL": "https://example.com/indi-allsky",
    "USERNAME": "",
    "APIKEY": "REDACTED",
    "APIKEY_E": "REDACTED",
    "CERT_BYPASS": false,
    "POST_S3": false,
    "EMPTY_FILE": false,
    "UPLOAD_IMAGE": 1,
    "UPLOAD_PANORAMA": 1,
    "CONNECT_TIMEOUT": 10,
    "TIMEOUT": 60
  },
  "YOUTUBE": {
    "ENABLE": false,
    "SECRETS_FILE": "",
    "PRIVACY_STATUS": "private",
    "TITLE_TEMPLATE": "Allsky {asset_label} - {day_date:%Y-%m-%d} - {timeofday}",
    "DESCRIPTION_TEMPLATE": "",
    "CATEGORY": 22,
    "TAGS": [
      "timelapse",
      "allsky",
      "astronomy"
    ],
    "UPLOAD_VIDEO": false,
    "UPLOAD_STARTRAIL_VIDEO": false,
    "UPLOAD_PANORAMA_VIDEO": false
  },
  "LIBCAMERA": {
    "IMAGE_FILE_TYPE": "dng",
    "AWB": "auto",
    "AWB_DAY": "auto",
    "AWB_ENABLE": false,
    "AWB_ENABLE_DAY": false,
    "EXTRA_OPTIONS": "--tuning-file /usr/share/libcamera/ipa/rpi/vc4/imx477_noir.json",
    "EXTRA_OPTIONS_DAY": "--tuning-file /usr/share/libcamera/ipa/rpi/vc4/imx477_noir.json"
  },
  "PYCURL_CAMERA": {
    "URL": "",
    "IMAGE_FILE_TYPE": "jpg",
    "USERNAME": "",
    "PASSWORD": "REDACTED",
    "PASSWORD_E": "REDACTED"
  },
  "FOCUSER": {
    "CLASSNAME": "",
    "GPIO_PIN_1": "D17",
    "GPIO_PIN_2": "D18",
    "GPIO_PIN_3": "D27",
    "GPIO_PIN_4": "D22"
  },
  "DEW_HEATER": {
    "CLASSNAME": "",
    "ENABLE_DAY": false,
    "PIN_1": "D12",
    "INVERT_OUTPUT": false,
    "LEVEL_DEF": 100,
    "THOLD_ENABLE ": false,
    "MANUAL_TARGET": 0,
    "TEMP_USER_VAR_SLOT": 10,
    "LEVEL_LOW": 33,
    "LEVEL_MED": 66,
    "LEVEL_HIGH": 100,
    "THOLD_DIFF_LOW": 15,
    "THOLD_DIFF_MED": 10,
    "THOLD_DIFF_HIGH": 5,
    "THOLD_ENABLE": false
  },
  "FAN": {
    "CLASSNAME": "",
    "ENABLE_NIGHT": false,
    "PIN_1": "D13",
    "INVERT_OUTPUT": false,
    "LEVEL_DEF": 100,
    "THOLD_ENABLE ": false,
    "TARGET": 30,
    "TEMP_USER_VAR_SLOT": 10,
    "LEVEL_LOW": 33,
    "LEVEL_MED": 66,
    "LEVEL_HIGH": 100,
    "THOLD_DIFF_LOW": 0,
    "THOLD_DIFF_MED": 5,
    "THOLD_DIFF_HIGH": 10,
    "THOLD_ENABLE": false
  },
  "TEMP_SENSOR": {
    "A_CLASSNAME": "",
    "A_PIN_1": "D5",
    "A_USER_VAR_SLOT": 10,
    "A_I2C_ADDRESS": "0x77",
    "B_CLASSNAME": "",
    "B_PIN_1": "D6",
    "B_USER_VAR_SLOT": 15,
    "B_I2C_ADDRESS": "0x76",
    "C_CLASSNAME": "",
    "C_PIN_1": "D16",
    "C_USER_VAR_SLOT": 20,
    "C_I2C_ADDRESS": "0x40",
    "OPENWEATHERMAP_APIKEY": "REDACTED",
    "OPENWEATHERMAP_APIKEY_E": "REDACTED"
  }
}

#################################

end support info

#################################

aaronwmorris commented 2 weeks ago

Setting the swappiness kernel setting is a pretty easy thing to keep the swap usage lower, that is on the memory optimizations page.

You probably need to bump up the swap to 512MB as well.

clambert24 commented 2 weeks ago

Ok. can you please explain in pure english that a child can understand. sorry but i get very confused on what to type and where.

aaronwmorris commented 2 weeks ago

No worries.

For the swappiness, can copy and paste this directly into your console for the raspberry pi.

echo "vm.swappiness = 1" | sudo tee /etc/sysctl.d/90-swappiness.conf

sudo sysctl --system

For the swap, you can follow these instructions. You do not really need to do this one.

clambert24 commented 2 weeks ago

ok. so i did the top one as you said, and it did something, because now the system is saying i am using 0% swappiness and in the support info it sais iv got 204796 free and zero used. so guessing this will be ok now? i tried the other one you mentioned about increasing swap size, but couldnt work out how to change settings. when i did the sudo setup it just said (want /var/swap=200MByte, checking existing: keeping it)

aaronwmorris commented 2 weeks ago

The default swappiness setting in Linux is 60 which causes the kernel to swap when there is [relatively] low memory "pressure". This is supposedly good for desktop systems and prioritizes keeping memory free for new applications to be run. On a server and an allsky system, you do not really want to keep memory free. It should use all available memory at all times, but not use swap unless it is absolutely necessary.

Setting to 1 allows the kernel to primarily steal memory from file cache instead of swapping to disk.

clambert24 commented 2 weeks ago

ok thats great thank you so much for explaining that and helping me. i have set it up now in my garden and shall see what results i have in the morning. thank you.

clambert24 commented 2 weeks ago

Ok, this is not good. Thus morning it said timelapse failed to generate and swap memory is back to 100%

aaronwmorris commented 2 weeks ago

Try upgrading to the latest code, just in case.

If you have the GUI running on the Raspi, you may consider turning it off with the following:

systemctl set-default multi-user.target

systemctl isolate multi-user.target