hourly scheduled reports generate apparently loop on reporting-service whent try to build a pdf to send using web capture that cause ram saturation as you can see
root 25164 25163 0 12:05 ? 00:00:00 node ./node_modules/phantomjs/bin/phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=1c0c0e8c857e4db6a079de7953f8f2e1 /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_11_05_00.353.png
root 25170 25164 3 12:05 ? 00:15:18 /usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/phantomjs/lib/phant om/bin/phantomjs captureWebpage.jshttp://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=1c0c0e8c857e4db6a079de7953f8f2e1 /usr/local/AppDynamics/Controller/reporting_service/reports/output/temp__0160121_11_05_00.353.png
root 27123 2758 0 13:05 ? 00:00:00 /bin/bash ./executeNodeCommand.sh phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=189403f2cd384a96b54f35144121f954 /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_12_05_00.753.png
root 27124 27123 0 13:05 ? 00:00:00 node ./node_modules/phantomjs/bin/phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=189403f2cd384a96b54f35144121f954 /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_12_05_00.753.png
root 27130 27124 3 13:05 ? 00:13:03 /usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/phantomjs/lib/phant om/bin/phantomjs captureWebpage.jshttp://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=189403f2cd384a96b54f35144121f954 /usr/local/AppDynamics/Controller/reporting_service/reports/output/temp__0160121_12_05_00.753.png
root 29044 2758 0 14:05 ? 00:00:00 /bin/bash ./executeNodeCommand.sh phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=094d2c75116b4e6290507c4d7857efad /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_13_05_00.274.png
root 29045 29044 0 14:05 ? 00:00:00 node ./node_modules/phantomjs/bin/phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=094d2c75116b4e6290507c4d7857efad /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_13_05_00.274.png
root 29051 29045 3 14:05 ? 00:10:48 /usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/phantomjs/lib/phant om/bin/phantomjs captureWebpage.jshttp://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=094d2c75116b4e6290507c4d7857efad /usr/local/AppDynamics/Controller/reporting_service/reports/output/temp__0160121_13_05_00.274.png
root 31020 2758 0 15:04 ? 00:00:00 /bin/bash ./executeNodeCommand.sh phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=00cdaf3efaa54a439e55ee3804c146d0 /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_14_05_00.231.png
root 31021 31020 0 15:05 ? 00:00:00 node ./node_modules/phantomjs/bin/phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=00cdaf3efaa54a439e55ee3804c146d0 /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_14_05_00.231.png
root 31023 31021 3 15:05 ? 00:08:33 /usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/phantomjs/lib/phant om/bin/phantomjs captureWebpage.jshttp://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=00cdaf3efaa54a439e55ee3804c146d0 /usr/local/AppDynamics/Controller/reporting_service/reports/output/temp__0160121_14_05_00.231.png
bug in
String' of null
at /usr/local/AppDynamics/Controller/reporting_service/reports/lib/logger/logger.js:130:23
at Function._.each._.forEach (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/underscore/underscore.js:87:22)
at Object.reportSerializer [as report] (/usr/local/AppDynamics/Controller/reporting_service/reports/lib/logger/logger.js:129:5)
at /usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:725:50
at Array.forEach (native)
at Logger._applySerializers (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:717:35)
at mkRecord (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:825:25)
at Logger.info (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:853:19)
at Object.process (/usr/local/AppDynamics/Controller/reporting_service/reports/lib/report/report.js:73:13)
at Object.process [as handle] (/usr/local/AppDynamics/Controller/reporting_service/reports/lib/server/server.js:103:10)
> ./executeNodeCommand.sh phantomjs captureWebpage.js 'http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=d253c591908943fba2270b2802dd262c' '/usr/loc
al/AppDynamics/Controller/reporting_service/reports/output/temp__0160120_06_05_00.190.png'
TypeError: 'null' is not an object (evaluating 'dimen[0]')
captureWebpage.js:92
bunyan: ERROR: This should never happen. This is a bug in <https://github.com/trentm/node-bunyan> or in this application. Exception from "report" Logger serializer: TypeError: Cannot call method 'to
String' of null
at /usr/local/AppDynamics/Controller/reporting_service/reports/lib/logger/logger.js:130:23
at Function._.each._.forEach (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/underscore/underscore.js:87:22)
at Object.reportSerializer [as report] (/usr/local/AppDynamics/Controller/reporting_service/reports/lib/logger/logger.js:129:5)
at /usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:725:50
at Array.forEach (native)
at Logger._applySerializers (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:717:35)
at mkRecord (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:825:25)
at Logger.info (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:853:19)
at Object.process (/usr/local/AppDynamics/Controller/reporting_service/reports/lib/report/report.js:73:13)
at Object.process [as handle] (/usr/local/AppDynamics/Controller/reporting_service/reports/lib/server/server.js:103:10)
> ./executeNodeCommand.sh phantomjs captureWebpage.js 'http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=87cfc138771745d6a233413ccfa394f1' '/usr/loc
al/AppDynamics/Controller/reporting_service/reports/output/temp__0160120_07_05_00.137.png'
TypeError: 'null' is not an object (evaluating 'dimen[0]')
to prevet ram saturation please comment out line 92 on Install_DIR/reporting_services/reports/captureWebpage.js and add this
page.viewportSize = { width: 1920, height: 500 };
save file
do not need to restart report-service
this workaround generate emty or blank report but close correctly phantomjs instance on operating system