Hi
I have a problem with an apache server: I have a VPS with CentOS 5.9 installed. I have installed cpanel vps and through him I installed Apache 2.4 and PHP 5.4.
The problem is: if I use a simple php script to upload files and I upload a 800 mb, all free memory on the server is consumed for several minutes and then returns to normal and the scrip ended with error Failed to write file to disk (php Return Code: 7).
I have limited PHP to 64MB and I use the "memory_get_usage" to see exactly how consuming and the result was less than 1 mb. I have set apache RLimitMEM limited to 80 MB but it did not work
Can you help me how can I limit apache / php that you do not consume more than ex. 200 mb?
Thanks a lot
I have a problem with an apache server: I have a VPS with CentOS 5.9 installed. I have installed cpanel vps and through him I installed Apache 2.4 and PHP 5.4.
The problem is: if I use a simple php script to upload files and I upload a 800 mb, all free memory on the server is consumed for several minutes and then returns to normal and the scrip ended with error Failed to write file to disk (php Return Code: 7).
I have limited PHP to 64MB and I use the "memory_get_usage" to see exactly how consuming and the result was less than 1 mb. I have set apache RLimitMEM limited to 80 MB but it did not work
Can you help me how can I limit apache / php that you do not consume more than ex. 200 mb?
Thanks a lot