Results 1 to 6 of 6

Thread: hspcd memory usage

  1. #1

    Default hspcd memory usage

    Running hspc 3.3.3.00 in a Centos container. I have been disturbed to see the hspcd memory usage at up around the 380 mbyte mark per thread (using top - res) which , with any significant traffic blows my memory up to unsustainable amounts. Given that the hspcd seems to be a modified httpd (which typically uses a couple of meg), is this normal ?

    If so , are we expected to host this product on a box which supports 380 m per user or what ? Is there any way to reduce this .



  2. #2
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    14,638

    Default

    I can suggest you uninstall all unused plug-ins in PBAS system for improving memory usage. By default there are a lot of plugins loaded. Also increasing RAM size up to 4G or more (under certain load) on Virtuozzo hardware node should have the most significant effect on performance.



  3. #3

    Default

    Are these the "-D" items on the hspcd command line ? Where do plugins get uninstalled - in the PBAS reseller control centre ? I have not specifically installed anything so am unsure what plugins are running anyway.



  4. #4
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    14,638

    Default

    You can find all installed plugins with something like

    rpm -qa | grep plugin

    You will see all plugin packages - domain, payments, etc. plugins. You can remove all unused plugin packages with usual 'rpm -e plugin_name' and run 'hspc-upgrade-manager --finish' just in case. For example:

    [root@pbas /]# rpm -e hspc-plugin-dm-ascio-3.3.3-02.60.swsoft
    => [clean factory] 'plugin-dm-ascio'
    [root@pbas /]# hspc-upgrade-manager --finish



  5. #5

    Default

    Thanks for that. By uninstalling unneeded plugins I managed to reduce the memory footprint of each hspcd process by about 40M, they still sit at 340 M which is incredibly high. Is this the expected amount ? And am I correct in assuming that each logged-in user requires one hspcd process ?



  6. #6
    Parallels Team dkolvakh's Avatar
    Join Date
    Dec 2009
    Posts
    76

    Default

    The only one way to install \ uninstall PBAS components correctly is the PBAS installer. Note: you should use installer exactly the same version as your deployment is.
    Before uninstall desired plugins, make sure that they aren't configured\used in PBAS.

    Install \ uninstall PBAS components using rpm abilities may harm your deployment.
    Last edited by dkolvakh; Apr 23, 2012 at 11:12 PM.



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •