Hi,
Dan Ackroyd wrote:
On 19 August 2017 at 15:28, Admin NxPoint <admin.nxpo...@gmail.com> wrote:
Hi,
At this moment PHP doesn't know how to use the SWAP memory from linux,
Why would it need to 'know' how to use swap memory?
My understanding is that the normal way to get a program to use swap
memory is to:
i) Enable swapping in the operating system.
ii) Set the program to use more memory than is physically usable.
To clarify to uh… Admin?, PHP will use swap memory automatically; PHP
doesn't manage swap memory itself, that's the OS's job, but PHP uses the
same virtual memory as any other process does, so if the OS allows
swapping, PHP may end up using it.
If the PHP memory limit is the problem, raise it or disable it.
I think either you've misunderstood how swap works, or haven't
explained why that isn't suitable for your use case.
--
Andrea Faulds
https://ajf.me/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php