lcdproc multiple processes running


  • LAYER 8

    i noticed that there is something wrong with lcdproc

    root    1705   0.0  0.5  59524  39068  -  SN   19:03      0:33.80 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   10014   0.0  0.5  59524  39068  -  SN   19:02      0:34.29 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   10695   0.0  0.5  59524  39068  -  SN   19:01      0:34.38 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   14562   0.0  0.5  59524  39068  -  SN   19:02      0:33.80 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   19146   0.0  0.5  59524  39068  -  SN   19:02      0:33.98 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   23793   0.0  0.5  59524  39068  -  SN   19:03      0:33.62 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   24984   0.0  0.5  59524  38808  -  SN   15:37      0:40.41 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   32554   0.0  0.5  59524  39068  -  SN   19:01      0:34.57 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   39917   0.0  0.5  59524  38808  -  SN   15:37      0:40.62 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   51840   0.0  0.5  59524  39068  -  SN   19:03      0:32.87 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   52580   0.0  0.5  59524  39068  -  SN   19:03      0:32.89 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   60936   0.0  0.5  59524  39068  -  SN   19:03      0:33.73 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   61469   0.0  0.5  59524  39068  -  SN   19:01      0:34.08 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   69809   0.0  0.5  59524  39068  -  SN   19:02      0:33.24 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
    root   17332   0.0  0.0  11164   2504  0  S+   12:26      0:00.00 grep lcd
    
    Mar 16 15:07:25 _gateway php-fpm[50125]: lcdproc: Sync: Begin package sync
    Mar 16 15:07:25 _gateway php-fpm[50125]: lcdproc: Sync: Begin package sync
    Mar 16 15:07:25 _gateway php-fpm[50125]: lcdproc: Sync: Restarting the service
    Mar 16 15:07:25 _gateway php-fpm[50125]: lcdproc: Sync: Restarting the service
    Mar 16 15:07:27 _gateway php-fpm[50125]: lcdproc: Sync: End package sync
    Mar 16 15:07:27 _gateway php-fpm[50125]: lcdproc: Sync: End package sync
    Mar 16 15:07:27 _gateway php[81801]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:07:27 _gateway php[81801]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:07:29 _gateway php[87642]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:07:29 _gateway php[87642]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:14:44 _gateway php-fpm[50125]: lcdproc: Sync: Begin package sync
    Mar 16 15:14:44 _gateway php-fpm[50125]: lcdproc: Sync: Begin package sync
    Mar 16 15:14:44 _gateway php-fpm[50125]: lcdproc: Sync: Restarting the service
    Mar 16 15:14:44 _gateway php-fpm[50125]: lcdproc: Sync: Restarting the service
    Mar 16 15:14:45 _gateway php-fpm[50125]: lcdproc: Sync: End package sync
    Mar 16 15:14:45 _gateway php-fpm[50125]: lcdproc: Sync: End package sync
    Mar 16 15:14:45 _gateway php[47231]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:14:45 _gateway php[47231]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:14:48 _gateway php[65269]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:14:48 _gateway php[65269]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:14:52 _gateway php[87642]: lcdproc: Connection to LCDd process lost  ()
    Mar 16 15:14:52 _gateway php[87642]: lcdproc: Connection to LCDd process lost  ()
    Mar 16 15:14:52 _gateway php[87642]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:14:52 _gateway php[87642]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:23:53 172.17.0.254 php-fpm[668]: lcdproc: Sync: Begin package sync
    Mar 16 15:23:53 172.17.0.254 php-fpm[668]: lcdproc: Sync: Begin package sync
    Mar 16 15:23:53 172.17.0.254 php-fpm[668]: lcdproc: Sync: Restarting the service
    Mar 16 15:23:53 172.17.0.254 php-fpm[668]: lcdproc: Sync: Restarting the service
    Mar 16 15:23:53 172.17.0.254 php[95443]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:23:53 172.17.0.254 php[95443]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:23:54 172.17.0.254 php-fpm[668]: lcdproc: Sync: End package sync
    Mar 16 15:23:54 172.17.0.254 php-fpm[668]: lcdproc: Sync: End package sync
    Mar 16 15:23:56 172.17.0.254 php[34710]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:23:56 172.17.0.254 php[34710]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:23:59 172.17.0.254 php[42517]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:23:59 172.17.0.254 php[42517]: lcdproc: Start client procedure. Error counter: (0)
    Mar 16 15:24:36 172.17.0.254 php-fpm[668]: lcdproc: Sync: Begin package sync
    Mar 16 15:24:36 172.17.0.254 php-fpm[668]: lcdproc: Sync: Begin package sync
    Mar 16 15:24:36 172.17.0.254 php-fpm[668]: lcdproc: Sync: Restarting the service
    Mar 16 15:24:36 172.17.0.254 php-fpm[668]: lcdproc: Sync: Restarting the service
    Mar 16 15:24:37 172.17.0.254 php-fpm[668]: lcdproc: Sync: End package sync
    Mar 16 15:24:37 172.17.0.254 php-fpm[668]: lcdproc: Sync: End package sync
    Mar 16 15:24:38 172.17.0.254 php[19489]: lcdproc: Start client procedure. Error counter: (0)
    

    i need to stop the service , kill all remaining lcdproc or wait for all the process to die themselves, restart


  • Netgate Administrator

    Yes, that has been a problem for some time. The logic needs reviewing there.

    Usually the server cannot start more than once as it fails to get access to the port and errors out but the client can. And having multiple clients connected to one server is valid in LCDproc so there is nothing to prevent it.

    Steve


Log in to reply