gaspaio / gearmanui

A web interface to follow activity on a cluster of gearman servers, powered by Silex and AngularJs.
MIT License
170 stars 49 forks source link

Error log gets dirty #9

Open rafis opened 9 years ago

rafis commented 9 years ago

A log file grew very large with these errors:

[10-Aug-2015 10:02:55 America/New_York] PHP Notice:  Undefined offset: 2 in /var/www/gearmanui/vendor/alptis/net-gearman/Net/Gearman/Manager.php on line 151
[10-Aug-2015 10:02:55 America/New_York] PHP Stack trace:
[10-Aug-2015 10:02:55 America/New_York] PHP   1. {main}() /var/www/gearmanui/web/index.php:0
[10-Aug-2015 10:02:55 America/New_York] PHP   2. Silex\Application->run() /var/www/gearmanui/web/index.php:7
[10-Aug-2015 10:02:55 America/New_York] PHP   3. Silex\Application->handle() /var/www/gearmanui/vendor/silex/silex/src/Silex/Application.php:481
[10-Aug-2015 10:02:55 America/New_York] PHP   4. Symfony\Component\HttpKernel\HttpKernel->handle() /var/www/gearmanui/vendor/silex/silex/src/Silex/Application.php:504
[10-Aug-2015 10:02:55 America/New_York] PHP   5. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /var/www/gearmanui/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:73
[10-Aug-2015 10:02:55 America/New_York] PHP   6. call_user_func_array() /var/www/gearmanui/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:129
[10-Aug-2015 10:02:55 America/New_York] PHP   7. GearmanUI\ControllerProvider->GearmanUI\{closure}() /var/www/gearmanui/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:129
[10-Aug-2015 10:02:55 America/New_York] PHP   8. GearmanUI\GearmanFacade->getServersInfo() /var/www/gearmanui/src/GearmanUI/ControllerProvider.php:44
[10-Aug-2015 10:02:55 America/New_York] PHP   9. GearmanUI\GearmanFacade->getServerInfo() /var/www/gearmanui/src/GearmanUI/GearmanFacade.php:47
[10-Aug-2015 10:02:55 America/New_York] PHP  10. Net_Gearman_Manager->workers() /var/www/gearmanui/src/GearmanUI/GearmanFacade.php:75
[10-Aug-2015 10:02:55 America/New_York] PHP Notice:  Undefined offset: 1 in /var/www/gearmanui/vendor/alptis/net-gearman/Net/Gearman/Manager.php on line 151
[10-Aug-2015 10:02:55 America/New_York] PHP Stack trace:
[10-Aug-2015 10:02:55 America/New_York] PHP   1. {main}() /var/www/gearmanui/web/index.php:0
[10-Aug-2015 10:02:55 America/New_York] PHP   2. Silex\Application->run() /var/www/gearmanui/web/index.php:7
[10-Aug-2015 10:02:55 America/New_York] PHP   3. Silex\Application->handle() /var/www/gearmanui/vendor/silex/silex/src/Silex/Application.php:481
[10-Aug-2015 10:02:55 America/New_York] PHP   4. Symfony\Component\HttpKernel\HttpKernel->handle() /var/www/gearmanui/vendor/silex/silex/src/Silex/Application.php:504
[10-Aug-2015 10:02:55 America/New_York] PHP   5. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /var/www/gearmanui/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:73
[10-Aug-2015 10:02:55 America/New_York] PHP   6. call_user_func_array() /var/www/gearmanui/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:129
[10-Aug-2015 10:02:55 America/New_York] PHP   7. GearmanUI\ControllerProvider->GearmanUI\{closure}() /var/www/gearmanui/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:129
[10-Aug-2015 10:02:55 America/New_York] PHP   8. GearmanUI\GearmanFacade->getServersInfo() /var/www/gearmanui/src/GearmanUI/ControllerProvider.php:44
[10-Aug-2015 10:02:55 America/New_York] PHP   9. GearmanUI\GearmanFacade->getServerInfo() /var/www/gearmanui/src/GearmanUI/GearmanFacade.php:47
[10-Aug-2015 10:02:55 America/New_York] PHP  10. Net_Gearman_Manager->workers() /var/www/gearmanui/src/GearmanUI/GearmanFacade.php:75
ernestova commented 9 years ago

+1 also not getting status anywhere.

The XHR request shows : Notice: Undefined offset: 2 in /home/domains/domain.com/vendor/alptis/net-gearman/Net/Gearman/Manager.php on line 151

Notice: Undefined offset: 1 in /home/domains/gui.playclick.net/vendor/alptis/net-gearman/Net/Gearman/Manager.php on line 151
[{"name":"localhost","addr":"127.0.0.1:4730","up":true,"version":"OK 1.1.12","workers":[{"fd":"38","ip":null,"id":null,"abilities":[]},{"fd":"34","ip":null,"id":null,"abilities":[]},{"fd":"39","ip":"127.0.0.1","id":"-","abilities":[]},{"fd":"35","ip":null,"id":null,"abilities":[]},{"fd":"36","ip":null,"id":null,"abilities":[]},{"fd":"37","ip":null,"id":null,"abilities":[]}],"status":{"reverse":{"in_queue":"0","jobs_running":"0","capable_workers":"5"}}}]