More infos: "Memory limit is used for all scripts instead of one?"

From: Date: Thu, 28 Jun 2001 14:00:37 +0000
Subject: More infos: "Memory limit is used for all scripts instead of one?"
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-58325@lists.php.net to get a copy of this message
Hi Zeev! I tested a little around: 1) I dropped our leased-line, so there is no load. 2) I set the mem_limit to 12M. 3) Reboot 4) I used the 2 test-scripts as shown in one of my last mails. I called both scripts via wget at the same time. Each script should allocate 8M. 5) The wget-script then automatically saves the result and waits for 10 seconds. Then looping 4) and 5) 100 times. When I looked at the results I saw that in 40-50% of cases I will get the described out-of-mem-error!? And this can't be, because there was >400MB free memory. Do you have an idea what I can do now? After that I made a reboot and plugged our leased-line back in place. I fear that the server will crash again tonight. But the server will now write the results from 'ps', 'pstree' and 'free' every 2 minutes to a text-file. I hope this will explain some things. ... tobias wiersch from .de

« previous php.dev (#58325) next »