503 error - occur many times everyday config problem or bug

sork

New Member
#1
CENTOS 6.6 x86_64 standard Intel(R) Xeon(R) CPU L5520 @ 2.27GHz *8CPU 32G Ram
LiteSpeed Enterprise 4.2.12 ,LSAPI 6.6
PHP5.3.27 EacceLerator V0.9.6.1-ea
ionCube V4.6.1
Zend Guard Loader v3.3
Suhosin V0.9.33

with these extension enable,many 503 happened everyday.
such as:
503code.gif

when i disable Suhosin,there are Out of memory (allocated 8278245376) (tried to allocate 80 bytes),i set max-hard-memory limit 8G. these still happened.

but when there are fewer customer visit. it didn;t happened.

please help me. how can i fixed it.
thank you.
 
Last edited:

mistwang

LiteSpeed Staff
#2
Your PHP script has bug that consume all your memory, probably an infinity loop.

It will use it up no matter how high the memory limit you set.

You need to locate and fix the bad PHP code.
 

NiteWave

Administrator
#3
disable EacceLerator
will save some (maybe a lot) memory.

anyway you can try disable it, see if any improvement during high traffic
 

sork

New Member
#4
i disabled all
LiteSpeed Enterprise 4.2.12 ,LSAPI 6.6
PHP5.3.27 EacceLerator V0.9.6.1-ea
ionCube V4.6.1
Zend Guard Loader v3.3
Suhosin V0.9.33

then out of memory.
when Suhosin V0.9.33 enabled 503 happened.
if there are few visitors(3~5 process). single php process take memory 40mb~70mb
but when more visitors,single php process take hard memory from 40mb grown over 7gb,but not all,some occupy hard memory normal.
 

NiteWave

Administrator
#5
>Out of memory (allocated 8278245376) (tried to allocate 80 bytes)
this is terrible -- already allocated 8G memory
so please refer #2 reply.
you have to improve the php code, for example if it's wordpress site, disable plugin one by one, maybe one plugin has caused the memory nightmare.
 

sork

New Member
#6
>Out of memory (allocated 8278245376) (tried to allocate 80 bytes)
this is terrible -- already allocated 8G memory
so please refer #2 reply.
you have to improve the php code, for example if it's wordpress site, disable plugin one by one, maybe one plugin has caused the memory nightmare.
that's true? i mean that happened when
erupt simultaneously

regulary visit,one process only take 40~70mb.

Magento1.8.1 onestepcheckout(idev)/galarainbow theme,
didn't have any other extension.
 
Last edited:
Top