[symfony-users] Re: cli memory problem...

2011-03-26 Thread Jonathan Franks
Gabriel, you were right! It was a problem with jailshell / cpanel. We fixed it by disabling fork bomb protection. For anybody else with this problem, look here... http://www.mickgenie.com/blog/jailed-shell-memory-issue/

Re: [symfony-users] Re: cli memory problem...

2011-03-24 Thread aosmith
Date: Wed, 23 Mar 2011 10:43:57 To: symfony-users@googlegroups.com Reply-To: symfony-users@googlegroups.com Subject: [symfony-users] Re: cli memory problem... Hi Gabriel. Thanks! Following ur advice, I used a script to test memory usage that I found here... http://magazine.joomla.org/issues/Issue

[symfony-users] Re: cli memory problem...

2011-03-23 Thread Jonathan Franks
Hi Gabriel. Thanks! Following ur advice, I used a script to test memory usage that I found here... http://magazine.joomla.org/issues/Issue-Dec-2010/item/295-Are-you-getting-your-fair-share-of-PHP-memory?tmpl=componentprint=1 And you were right! Through the web, the script happily gets up to

[symfony-users] Re: cli memory problem...

2011-03-23 Thread Gabriel Petchesi
My suspicion is that the limitation is not related to PHP or Apche in any way, it's probably some setting on a system level that affects all running processes. That is why I said that you should try also with a compiled C program this test to verify that the limitation affects all processes.

[symfony-users] Re: cli memory problem...

2011-03-23 Thread Jonathan Franks
Thanks Gabriel. Since my last email, i tried to run php with the -n flag (to use no php.ini). With this flag, my script can get up to 80mb, which is the limit set by the the bash stack (i think). So it appears that it is something in or loaded by the php.ini. Looking at the output from...

[symfony-users] Re: cli memory problem...

2011-03-22 Thread Gabriel Petchesi
Just a wild guess, maybe there is something on the hosting provider side that still limits process memory usage, so it may only look like it's not limited for PHP script. My suggestion is to test this assumption, create a simple PHP scripts that consumes memory and see how much memory it can

[symfony-users] Re: cli memory problem...

2011-03-22 Thread Richtermeister
You can also try explicitly setting the memory limit in your project configuration via: ini_set(memory_limit, 60M); or whichever is appropriate. Expecially long-running tasks can be hogs. Daniel On Mar 22, 8:35 am, Jonathan Franks jonat...@ifranks.com wrote: Hi, I know this issue has been