FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Out Of Memory with Memory_limit à -1
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Out Of Memory with Memory_limit à -1 [message #169822] Mon, 27 September 2010 18:10 Go to next message
steveleg is currently offline  steveleg
Messages: 5
Registered: September 2010
Karma: 0
Junior Member
We are hosting more than 150 TYPO3 sites. Since the last weeks we
have the "Out of memory" error.

We change the memory_limit parameter to different values with no
result and finally change it to -1.

But even with -1, we still receive the error message :

PHP Fatal error: Out of memory (allocated 1310720) (tried to allocate
98304 bytes)

I am checking phpinfo() and the memory_limit is at -1

This is our configuration
Windows 2003 Server
Apache 2
Php 5.2.1
4 Gb RAM with peak usage at 2GB

Do you have a hint?
Thanks
Re: Out Of Memory with Memory_limit à -1 [message #169831 is a reply to message #169822] Mon, 27 September 2010 21:41 Go to previous messageGo to next message
Bernd Schulz is currently offline  Bernd Schulz
Messages: 10
Registered: September 2010
Karma: 0
Junior Member
Am 27.09.2010 20:10, schrieb steveleg:
> We are hosting more than 150 TYPO3 sites. Since the last weeks we
> have the "Out of memory" error.
>
> This is our configuration
> Windows 2003 Server
> Apache 2
> Php 5.2.1
> 4 Gb RAM with peak usage at 2GB
>
> Do you have a hint?
Maybe PHP can only access 2GB, cause it is 32Bit.
Re: Out Of Memory with Memory_limit [message #169833 is a reply to message #169831] Mon, 27 September 2010 23:09 Go to previous messageGo to next message
rf is currently offline  rf
Messages: 19
Registered: September 2010
Karma: 0
Junior Member
"Bernd Schulz" <ask_me_for_email(at)invalid(dot)invalid> wrote in message
news:4ca10f7a$0$6987$9b4e6d93(at)newsspool4(dot)arcor-online(dot)net...
> Am 27.09.2010 20:10, schrieb steveleg:
>> We are hosting more than 150 TYPO3 sites. Since the last weeks we
>> have the "Out of memory" error.
>>
>> This is our configuration
>> Windows 2003 Server
>> Apache 2
>> Php 5.2.1
>> 4 Gb RAM with peak usage at 2GB
>>
>> Do you have a hint?
> Maybe PHP can only access 2GB, cause it is 32Bit.

A 32 bit address space is 4MB.
Re: Out Of Memory with Memory_limit à -1 [message #169834 is a reply to message #169822] Mon, 27 September 2010 23:11 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 9/27/2010 2:10 PM, steveleg wrote:
> We are hosting more than 150 TYPO3 sites. Since the last weeks we
> have the "Out of memory" error.
>
> We change the memory_limit parameter to different values with no
> result and finally change it to -1.
>
> But even with -1, we still receive the error message :
>
> PHP Fatal error: Out of memory (allocated 1310720) (tried to allocate
> 98304 bytes)
>
> I am checking phpinfo() and the memory_limit is at -1
>
> This is our configuration
> Windows 2003 Server
> Apache 2
> Php 5.2.1
> 4 Gb RAM with peak usage at 2GB
>
> Do you have a hint?
> Thanks

Windows applications cannot use more than 2GB.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Out Of Memory with Memory_limit à -1 [message #169835 is a reply to message #169834] Mon, 27 September 2010 23:31 Go to previous messageGo to next message
Hamish Campbell is currently offline  Hamish Campbell
Messages: 15
Registered: September 2010
Karma: 0
Junior Member
On Sep 28, 12:11 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 9/27/2010 2:10 PM, steveleg wrote:
>
>
>
>
>
>> We are hosting more than 150 TYPO3 sites.   Since the last weeks we
>> have the "Out of memory" error.
>
>> We change the memory_limit parameter to different values with no
>> result and finally change it to -1.
>
>> But even with -1, we still receive the error message :
>
>> PHP Fatal error:  Out of memory (allocated 1310720) (tried to allocate
>> 98304 bytes)
>
>> I am checking phpinfo() and the memory_limit is at -1
>
>> This is our configuration
>> Windows 2003 Server
>> Apache 2
>> Php 5.2.1
>> 4 Gb RAM with peak usage at 2GB
>
>> Do you have a hint?
>> Thanks
>
> Windows applications cannot use more than 2GB.

Hardly.

Memory Limits for Windows Releases

<http://msdn.microsoft.com/en-us/library/aa366778(VS.85).aspx>

Upgrade to Windows Server 2008, it's been 7 years after all. Add a
64bit system and you should be good for the next 7.
Re: Out Of Memory with Memory_limit à -1 [message #169836 is a reply to message #169835] Mon, 27 September 2010 23:24 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 9/27/2010 7:31 PM, Hamish Campbell wrote:
> On Sep 28, 12:11 pm, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>> On 9/27/2010 2:10 PM, steveleg wrote:
>>
>>
>>
>>
>>
>>> We are hosting more than 150 TYPO3 sites. Since the last weeks we
>>> have the "Out of memory" error.
>>
>>> We change the memory_limit parameter to different values with no
>>> result and finally change it to -1.
>>
>>> But even with -1, we still receive the error message :
>>
>>> PHP Fatal error: Out of memory (allocated 1310720) (tried to allocate
>>> 98304 bytes)
>>
>>> I am checking phpinfo() and the memory_limit is at -1
>>
>>> This is our configuration
>>> Windows 2003 Server
>>> Apache 2
>>> Php 5.2.1
>>> 4 Gb RAM with peak usage at 2GB
>>
>>> Do you have a hint?
>>> Thanks
>>
>> Windows applications cannot use more than 2GB.
>
> Hardly.
>
> Memory Limits for Windows Releases
>
> <http://msdn.microsoft.com/en-us/library/aa366778(VS.85).aspx>
>
> Upgrade to Windows Server 2008, it's been 7 years after all. Add a
> 64bit system and you should be good for the next 7.
>

As I said. 2GB max APPLICATION. That is still true with Windows Server
2008.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Out Of Memory with Memory_limit à -1 [message #169837 is a reply to message #169836] Tue, 28 September 2010 00:04 Go to previous messageGo to next message
Hamish Campbell is currently offline  Hamish Campbell
Messages: 15
Registered: September 2010
Karma: 0
Junior Member
On Sep 28, 12:24 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 9/27/2010 7:31 PM, Hamish Campbell wrote:
>
>
>
>
>
>> On Sep 28, 12:11 pm, Jerry Stuckle<jstuck...@attglobal.net>  wrote:
>>> On 9/27/2010 2:10 PM, steveleg wrote:
>
>>>> We are hosting more than 150 TYPO3 sites.   Since the last weeks we
>>>> have the "Out of memory" error.
>
>>>> We change the memory_limit parameter to different values with no
>>>> result and finally change it to -1.
>
>>>> But even with -1, we still receive the error message :
>
>>>> PHP Fatal error:  Out of memory (allocated 1310720) (tried to allocate
>>>> 98304 bytes)
>
>>>> I am checking phpinfo() and the memory_limit is at -1
>
>>>> This is our configuration
>>>> Windows 2003 Server
>>>> Apache 2
>>>> Php 5.2.1
>>>> 4 Gb RAM with peak usage at 2GB
>
>>>> Do you have a hint?
>>>> Thanks
>
>>> Windows applications cannot use more than 2GB.
>
>> Hardly.
>
>> Memory Limits for Windows Releases
>
>> <http://msdn.microsoft.com/en-us/library/aa366778(VS.85).aspx>
>
>> Upgrade to Windows Server 2008, it's been 7 years after all. Add a
>> 64bit system and you should be good for the next 7.
>
> As I said.  2GB max APPLICATION.  That is still true with Windows Server
> 2008.

Ah it's spawning threads from a single process, unlike Unix that will
spawn processors?

Time to consult an Apache group.

Regards

Hamish
Re: Out Of Memory with Memory_limit à -1 [message #169838 is a reply to message #169837] Tue, 28 September 2010 00:06 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
Hamish Campbell wrote:
> On Sep 28, 12:24 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> On 9/27/2010 7:31 PM, Hamish Campbell wrote:
>>
>>
>>
>>
>>
>>> On Sep 28, 12:11 pm, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>>>> On 9/27/2010 2:10 PM, steveleg wrote:
>>>> > We are hosting more than 150 TYPO3 sites. Since the last weeks we
>>>> > have the "Out of memory" error.
>>>> > We change the memory_limit parameter to different values with no
>>>> > result and finally change it to -1.
>>>> > But even with -1, we still receive the error message :
>>>> > PHP Fatal error: Out of memory (allocated 1310720) (tried to allocate
>>>> > 98304 bytes)
>>>> > I am checking phpinfo() and the memory_limit is at -1
>>>> > This is our configuration
>>>> > Windows 2003 Server
>>>> > Apache 2
>>>> > Php 5.2.1
>>>> > 4 Gb RAM with peak usage at 2GB
>>>> > Do you have a hint?
>>>> > Thanks
>>>> Windows applications cannot use more than 2GB.
>>> Hardly.
>>> Memory Limits for Windows Releases
>>> <http://msdn.microsoft.com/en-us/library/aa366778(VS.85).aspx>
>>> Upgrade to Windows Server 2008, it's been 7 years after all. Add a
>>> 64bit system and you should be good for the next 7.
>> As I said. 2GB max APPLICATION. That is still true with Windows Server
>> 2008.
>
> Ah it's spawning threads from a single process, unlike Unix that will
> spawn processors?
>
> Time to consult an Apache group.

Time to move to an operatng system that understands how to make server
processes that actually work and have access to full resources

Dump windows, and go BSD or linux..


>
> Regards
>
> Hamish
Re: Out Of Memory with Memory_limit à -1 [message #169843 is a reply to message #169833] Tue, 28 September 2010 09:03 Go to previous messageGo to next message
Bernd Schulz is currently offline  Bernd Schulz
Messages: 10
Registered: September 2010
Karma: 0
Junior Member
Am 28.09.2010 01:09, schrieb rf:
>>>
>>> Do you have a hint?
>> Maybe PHP can only access 2GB, cause it is 32Bit.
>
> A 32 bit address space is 4MB.
>
An when it is used signed, then 2GB.
Re: Out Of Memory with Memory_limit [message #169844 is a reply to message #169843] Tue, 28 September 2010 09:35 Go to previous messageGo to next message
rf is currently offline  rf
Messages: 19
Registered: September 2010
Karma: 0
Junior Member
"Bernd Schulz" <ask_me_for_email(at)invalid(dot)invalid> wrote in message
news:4ca1af53$0$6773$9b4e6d93(at)newsspool3(dot)arcor-online(dot)net...
> Am 28.09.2010 01:09, schrieb rf:
>>>>
>>>> Do you have a hint?
>>> Maybe PHP can only access 2GB, cause it is 32Bit.
>>
>> A 32 bit address space is 4MB.
>>
> An when it is used signed, then 2GB.

Addresses are not signed. 32 bits define a 4MB address space.

However I was thinking about something else when I made my original post. Of
the 4MB available in the virtual address space in which the application runs
2GB is allocated to the user space and 2GB is allocated to the kernel,
shared between all address spaces.
Re: Out Of Memory with Memory_limit à -1 [message #169847 is a reply to message #169844] Tue, 28 September 2010 11:24 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 9/28/2010 5:35 AM, rf wrote:
> "Bernd Schulz"<ask_me_for_email(at)invalid(dot)invalid> wrote in message
> news:4ca1af53$0$6773$9b4e6d93(at)newsspool3(dot)arcor-online(dot)net...
>> Am 28.09.2010 01:09, schrieb rf:
>>>> >
>>>> > Do you have a hint?
>>>> Maybe PHP can only access 2GB, cause it is 32Bit.
>>>
>>> A 32 bit address space is 4MB.
>>>
>> An when it is used signed, then 2GB.
>
> Addresses are not signed. 32 bits define a 4MB address space.
>

Not necessarily. It depends on how the value is set up. In Windows, it
is a signed value and applications are limited to 2GB.

> However I was thinking about something else when I made my original post. Of
> the 4MB available in the virtual address space in which the application runs
> 2GB is allocated to the user space and 2GB is allocated to the kernel,
> shared between all address spaces.
>
>
>

Not true. Kernel runs in a different address space. The modules
required to link between the kernel and the application come out of the
application space.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Out Of Memory with Memory_limit à -1 [message #169850 is a reply to message #169847] Tue, 28 September 2010 13:28 Go to previous messageGo to next message
steveleg is currently offline  steveleg
Messages: 5
Registered: September 2010
Karma: 0
Junior Member
On 28 sep, 07:24, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 9/28/2010 5:35 AM, rf wrote:
>
>> "Bernd Schulz"<ask_me_for_em...@invalid.invalid>  wrote in message
>> news:4ca1af53$0$6773$9b4e6d93(at)newsspool3(dot)arcor-online(dot)net...
>>> Am 28.09.2010 01:09, schrieb rf:
>
>>>> >> Do you have a hint?
>>>> > Maybe PHP can only access 2GB, cause it is 32Bit.
>
>>>> A 32 bit address space is 4MB.
>
>>> An when it is used signed, then 2GB.
>
>> Addresses are not signed. 32 bits define a 4MB address space.
>
> Not necessarily.  It depends on how the value is set up.  In Windows, it
> is a signed value and applications are limited to 2GB.
>
>> However I was thinking about something else when I made my original post. Of
>> the 4MB available in the virtual address space in which the application runs
>> 2GB is allocated to the user space and 2GB is allocated to the kernel,
>> shared between all address spaces.
>
> Not true.  Kernel runs in a different address space.  The modules
> required to link between the kernel and the application come out of the
> application space.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================

Thanks for your great answers.
I said 2 GB but, in fact, it is 1.8 GB.
Does it change your view/opinion?
Re: Out Of Memory with Memory_limit à -1 [message #169852 is a reply to message #169850] Tue, 28 September 2010 13:37 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 9/28/2010 9:28 AM, steveleg wrote:
> On 28 sep, 07:24, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>> On 9/28/2010 5:35 AM, rf wrote:
>>
>>> "Bernd Schulz"<ask_me_for_em...@invalid.invalid> wrote in message
>>> news:4ca1af53$0$6773$9b4e6d93(at)newsspool3(dot)arcor-online(dot)net...
>>>> Am 28.09.2010 01:09, schrieb rf:
>>
>>>> >>> Do you have a hint?
>>>> >> Maybe PHP can only access 2GB, cause it is 32Bit.
>>
>>>> > A 32 bit address space is 4MB.
>>
>>>> An when it is used signed, then 2GB.
>>
>>> Addresses are not signed. 32 bits define a 4MB address space.
>>
>> Not necessarily. It depends on how the value is set up. In Windows, it
>> is a signed value and applications are limited to 2GB.
>>
>>> However I was thinking about something else when I made my original post. Of
>>> the 4MB available in the virtual address space in which the application runs
>>> 2GB is allocated to the user space and 2GB is allocated to the kernel,
>>> shared between all address spaces.
>>
>> Not true. Kernel runs in a different address space. The modules
>> required to link between the kernel and the application come out of the
>> application space.
>>
>
> Thanks for your great answers.
> I said 2 GB but, in fact, it is 1.8 GB.
> Does it change your view/opinion?

No. 2GB is max - not all of it may be available, for various reasons.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Out Of Memory with Memory_limit [message #169865 is a reply to message #169847] Tue, 28 September 2010 23:51 Go to previous messageGo to next message
rf is currently offline  rf
Messages: 19
Registered: September 2010
Karma: 0
Junior Member
"Jerry Stuckle" <jstucklex(at)attglobal(dot)net> wrote in message
news:i7sjvm$jo5$2(at)news(dot)eternal-september(dot)org...
> On 9/28/2010 5:35 AM, rf wrote:
>> "Bernd Schulz"<ask_me_for_email(at)invalid(dot)invalid> wrote in message
>> news:4ca1af53$0$6773$9b4e6d93(at)newsspool3(dot)arcor-online(dot)net...
>>> Am 28.09.2010 01:09, schrieb rf:
>>>> >>
>>>> >> Do you have a hint?
>>>> > Maybe PHP can only access 2GB, cause it is 32Bit.
>>>>
>>>> A 32 bit address space is 4MB.
>>>>
>>> An when it is used signed, then 2GB.
>>
>> Addresses are not signed. 32 bits define a 4MB address space.
>>
>
> Not necessarily. It depends on how the value is set up. In Windows, it
> is a signed value and applications are limited to 2GB.

The 32 bit adress is *not* a signed value. It is unsigned and ranges from
0x00000000 to 0xffffffff.

Each process runs in a virtual address space of 4GB.

By default this 4GB is divided into two partitions, ont for use by the
process and the other reserved for use by the system.

By default the partitions are 2GB each. The lower 2GB (addresses 0x00000000
to 0x7fffffff) used by the process and the higher (addresses 0x80000000 to
0xffffffff) used by the system. Note the use of that high bit in the address
there, the one that, in a signed number, is the sign bit. In an address it
is *not* a sign bit.

However there is a facility called 4-Gigabyte Tuning. If this is enabled
then 3GB is available to the application and 1GB to the system.

http://msdn.microsoft.com/en-us/library/aa366912%28VS.85%29.aspx

Note that this is *not* a wikipedia page. It is a microsoft page. I would
think *they* know how their operating systems work.

>> However I was thinking about something else when I made my original post.
>> Of
>> the 4MB available in the virtual address space in which the application
>> runs
>> 2GB is allocated to the user space and 2GB is allocated to the kernel,
>> shared between all address spaces.

> Not true. Kernel runs in a different address space. The modules required
> to link between the kernel and the application come out of the application
> space.

The system (kernel and other things) do not run in a different address
space. The system is mapped into the upper half of every processes address
space. So we have the application in the lower 2GB of the address space and
the system in the upper 2GB.

If this were not so then how would the system be able to do things such as
fill the applications buffers. If the system were in a different address
space it, by definition, would not have access to anything in the
applications address space.

This time, Jerry, it is you who is wrong.
Re: Out Of Memory with Memory_limit à -1 [message #169868 is a reply to message #169865] Wed, 29 September 2010 00:25 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 9/28/2010 7:51 PM, rf wrote:
> "Jerry Stuckle"<jstucklex(at)attglobal(dot)net> wrote in message
> news:i7sjvm$jo5$2(at)news(dot)eternal-september(dot)org...
>> On 9/28/2010 5:35 AM, rf wrote:
>>> "Bernd Schulz"<ask_me_for_email(at)invalid(dot)invalid> wrote in message
>>> news:4ca1af53$0$6773$9b4e6d93(at)newsspool3(dot)arcor-online(dot)net...
>>>> Am 28.09.2010 01:09, schrieb rf:
>>>> >>>
>>>> >>> Do you have a hint?
>>>> >> Maybe PHP can only access 2GB, cause it is 32Bit.
>>>> >
>>>> > A 32 bit address space is 4MB.
>>>> >
>>>> An when it is used signed, then 2GB.
>>>
>>> Addresses are not signed. 32 bits define a 4MB address space.
>>>
>>
>> Not necessarily. It depends on how the value is set up. In Windows, it
>> is a signed value and applications are limited to 2GB.
>
> The 32 bit adress is *not* a signed value. It is unsigned and ranges from
> 0x00000000 to 0xffffffff.
>
> Each process runs in a virtual address space of 4GB.
>
> By default this 4GB is divided into two partitions, ont for use by the
> process and the other reserved for use by the system.
>
> By default the partitions are 2GB each. The lower 2GB (addresses 0x00000000
> to 0x7fffffff) used by the process and the higher (addresses 0x80000000 to
> 0xffffffff) used by the system. Note the use of that high bit in the address
> there, the one that, in a signed number, is the sign bit. In an address it
> is *not* a sign bit.
>
> However there is a facility called 4-Gigabyte Tuning. If this is enabled
> then 3GB is available to the application and 1GB to the system.
>
> http://msdn.microsoft.com/en-us/library/aa366912%28VS.85%29.aspx
>
> Note that this is *not* a wikipedia page. It is a microsoft page. I would
> think *they* know how their operating systems work.
>

Yes, and it takes more than just setting a bit in the application to
activate it. But you don't understand how it all works, do you?

>>> However I was thinking about something else when I made my original post.
>>> Of
>>> the 4MB available in the virtual address space in which the application
>>> runs
>>> 2GB is allocated to the user space and 2GB is allocated to the kernel,
>>> shared between all address spaces.
>
>> Not true. Kernel runs in a different address space. The modules required
>> to link between the kernel and the application come out of the application
>> space.
>
> The system (kernel and other things) do not run in a different address
> space. The system is mapped into the upper half of every processes address
> space. So we have the application in the lower 2GB of the address space and
> the system in the upper 2GB.
>
> If this were not so then how would the system be able to do things such as
> fill the applications buffers. If the system were in a different address
> space it, by definition, would not have access to anything in the
> applications address space.
>
> This time, Jerry, it is you who is wrong.
>
>

I really am sorry you are so unable to understand simple technical
language, even if it is from Microsoft. That is the page I was
referencing when I made my comments.

And you obviously have no idea how an OS works internally. The kernel
is quite capable of mapping ANY virtual address in ANY process to its
own memory. That, in fact, is required for it to work.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Out Of Memory with Memory_limit à -1 [message #169888 is a reply to message #169831] Wed, 29 September 2010 12:29 Go to previous messageGo to next message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma: 0
Senior Member
On 27 Sep, 22:41, Bernd Schulz <ask_me_for_em...@invalid.invalid>
wrote:
> Am 27.09.2010 20:10, schrieb steveleg:> We are hosting more than 150 TYPO3 sites.   Since the last weeks we
>> have the "Out of memory" error.
>
>> This is our configuration
>> Windows 2003 Server
>> Apache 2
>> Php 5.2.1
>> 4 Gb RAM with peak usage at 2GB
>
>> Do you have a hint?
>
> Maybe PHP can only access 2GB, cause it is 32Bit.

Why are we discussing GB when the error message suggests that it is
only trying to get less than 1.5MB?
Re: Out Of Memory with Memory_limit à -1 [message #169900 is a reply to message #169888] Wed, 29 September 2010 16:25 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 9/29/2010 8:29 AM, Captain Paralytic wrote:
> On 27 Sep, 22:41, Bernd Schulz<ask_me_for_em...@invalid.invalid>
> wrote:
>> Am 27.09.2010 20:10, schrieb steveleg:> We are hosting more than 150 TYPO3 sites. Since the last weeks we
>>> have the "Out of memory" error.
>>
>>> This is our configuration
>>> Windows 2003 Server
>>> Apache 2
>>> Php 5.2.1
>>> 4 Gb RAM with peak usage at 2GB
>>
>>> Do you have a hint?
>>
>> Maybe PHP can only access 2GB, cause it is 32Bit.
>
> Why are we discussing GB when the error message suggests that it is
> only trying to get less than 1.5MB?

Because the request can't be satisfied due to the rest of the 2GB being
already in use.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Out Of Memory with Memory_limit à -1 [message #169908 is a reply to message #169900] Thu, 30 September 2010 01:27 Go to previous message
steveleg is currently offline  steveleg
Messages: 5
Registered: September 2010
Karma: 0
Junior Member
On 29 sep, 12:25, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 9/29/2010 8:29 AM, Captain Paralytic wrote:
>
>
>
>> On 27 Sep, 22:41, Bernd Schulz<ask_me_for_em...@invalid.invalid>
>> wrote:
>>> Am 27.09.2010 20:10, schrieb steveleg:>  We are hosting more than 150 TYPO3 sites.   Since the last weeks we
>>>> have the "Out of memory" error.
>
>>>> This is our configuration
>>>> Windows 2003 Server
>>>> Apache 2
>>>> Php 5.2.1
>>>> 4 Gb RAM with peak usage at 2GB
>
>>>> Do you have a hint?
>
>>> Maybe PHP can only access 2GB, cause it is 32Bit.
>
>> Why are we discussing GB when the error message suggests that it is
>> only trying to get less than 1.5MB?
>
> Because the request can't be satisfied due to the rest of the 2GB being
> already in use.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================

Thanks for all your advices.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: why does in_array return true
Next Topic: how to write a wsdl for php webservice?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 13:30:13 GMT 2024

Total time taken to generate the page: 0.02311 seconds