Skip to main content

Composer update command - returns cannot allocate memory

Comments

5 comments

  • cPRex Jurassic Moderator

    Hey there!  Is the user possibly in CageFS on a CloudLinux machine?  That tool could be limiting the amount of RAM for the user in general that is needed to process this request.

    If so, could you try pulling the user out of CageFS and then see if you get a different result from that command?

    0
  • linehostcloud

    I'm using immunify360 as a firewall along with csf, the web server is LiteSpeed, I temporarily solved it by disabling Fork Bomb.

    But I don't know if this is correct... I disabled Fork Bomb, ran the command and reactivated it.

    Is there a safer way to do this permanently?

    0
  • cPRex Jurassic Moderator

    No, that's a correct action to take - if that protection is enabled it will keep shell from executing large commands, so disabling it is the best option.

    1
  • linehostcloud

    thank you very much

    0
  • cPRex Jurassic Moderator

    You're very welcome!

    0

Please sign in to leave a comment.