Receiving "Fatal error zend opcache cannot allocate buffer for interned strings" After increasing RAM allocated to VM from 256MB to 512 or 1024 MB.



  • I'm seeing enough RAM usage on my pfsense install after starting it up today (it worked first try, too, woohoo) - with everything connected and running, it's sitting idle at about 60% of 209MiB - that I wanted to increase the amount of RAM the VM is allocated to 1 or 2 GB. Unfortunately upon doing so, pfsense completely fails to do anything after booting up and spits out this error:

    "Fatal error zend opcache cannot allocate buffer for interned strings"

    upon attempting to use most of the console commands (though I did not try all of them). It does not even list either my LAN or WAN interfaces.

    Some googling seems to imply this is an issue with PHP's maximum RAM settings, but I have no idea how to go about modifying those nor whether that is actually the issue.

    I assume it would be possible to export the settings to my host system, reinstall pfsense with the new amount of RAM and then import my settings from the host but I would like to avoid if possible.

    I'm not quite sure what information on my setup would be helpful here, so please don't hesitate to ask if you need anything.


  • Netgate Administrator

    Hmm, hard to see how just increasing the RAM available could do that.

    This is just a default install or are you running packages there? Which ones?

    Steve



  • @stephenw10 said in Receiving "Fatal error zend opcache cannot allocate buffer for interned strings" After increasing RAM allocated to VM from 256MB to 512 or 1024 MB.:

    Hmm, hard to see how just increasing the RAM available could do that.

    This is just a default install or are you running packages there? Which ones?

    Steve

    It was just the default install, I believe; I moved my install from VMWare to VirtualBox and increased the RAM while doing the reinstall and it's functioning just fine with 2GBs now, but I don't have the old install running anymore. I can scrub the personal data out of it and send in the disk image of the old install somewhere, if that would be helpful.


  • Netgate Administrator

    If it's easily replicable the devs may want to look at it. I can't test that easily myself.
    Opening a bug report for it is probably best if it is: https://redmine.pfsense.org/

    Steve


Log in to reply