Project

General

Profile

Bug #4619

[cmix-dhcpd] cached subnets consuming too much memory

Added by Daniel Lopez almost 3 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Urgent
Target version:
Start date:
09/16/2016
Due date:
09/21/2016
% Done:

80%

Estimated time:
Repository version:
Module:
DDN
web_user_name:
web_email:

Description

refactor refresh-cache.php

2016-09-16 10:25:30 CRIT: [f7ec] 500 Application error
Exception: Array
(
[message] => Unable to read response, or response is empty
[stacktrace] => #0 /usr/share/cmi-api/library/Common/Model/AbstractRestClientModel.php(296): Zend_Http_Client->request('GET')
#1 /usr/share/cmi-api/library/Common/Model/AbstractRestClientModel.php(269): Common_Model_AbstractRestClientModel->sendRequest(Object(Zend_Http_Client), 'GET')
#2 /usr/share/cmi-api/library/Common/Model/AbstractRestClientModel.php(192): Common_Model_AbstractRestClientModel->executeAndHandle(Object(Zend_Http_Client), 'GET')
#3 /usr/share/cmi-api/library/Common/Model/AbstractRestClientModel.php(58): Common_Model_AbstractRestClientModel->get('dhcp/subnet?sta...')
#4 /usr/share/cmi-api/library/Common/Controller/AbstractRestController.php(40): Common_Model_AbstractRestClientModel->findByQuery(Array)
#5 /usr/share/cmi-api/library/Common/Controller/AbstractVappRestController.php(27): Common_Controller_AbstractRestController->indexAction()
#6 /usr/share/php/Zend/Controller/Action.php(516): Common_Controller_AbstractVappRestController->indexAction()
#7 /usr/share/php/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')
#8 /usr/share/php/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /usr/share/php/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#10 /usr/share/php/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#11 /usr/share/cmi-api/public/index.php(46): Zend_Application->run()
#12 {main}
[file] => /usr/share/php/Zend/Http/Client.php
[line] => 1079
)

Request: Array
(
[method] => GET
[uri] => /cmi-api/appliances/43/dhcp/subnet?start-index=0&max-results=25
[params] => Array
(
[vappId] => 43
[cmixModule] => dhcp
[entity] => subnet
[controller] => cmix-proxy
[action] => index
[start-index] => 0
[max-results] => 25
)

)

History

#1

Updated by Daniel Lopez almost 3 years ago

  • Subject changed from [cmix-dhcpd] cached subnets conduming too much memory to [cmix-dhcpd] cached subnets consuming too much memory
#2

Updated by Albert Sole Domingo over 2 years ago

  • Due date set to 09/19/2016
  • Status changed from New to Resolved
  • % Done changed from 0 to 80
#3

Updated by Daniel Lopez over 2 years ago

  • Status changed from Resolved to In Progress
  • % Done changed from 80 to 30
#4

Updated by Daniel Lopez over 2 years ago

deleted cache.
increase max_execution_time, php memory and vm memory.
Testing labs.
Must refactor

#5

Updated by Daniel Lopez over 2 years ago

created dhcpd_parser.pl to parse dhcpd subnets.

#6

Updated by Albert Sole Domingo over 2 years ago

  • Due date changed from 09/19/2016 to 09/21/2016
  • Status changed from In Progress to Resolved
  • % Done changed from 30 to 80
#7

Updated by Daniel Lopez over 2 years ago

updated packages that fix subnets visualization. Testing hosts.

Also available in: Atom PDF