Jump to content
elangley

Apache hangs

Recommended Posts

elangley    0
elangley

Hello All,

 

I am experiencing Apache hanging on our server requiring a restart. In checking the Event Log there are a log of these entries;

 suhosin[3172]: ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker '220.181.108.176', file ...public_htmlpathwp-contentthemespagelinesincludeslibrary.pagelines.php(4) : runtime-created function', line 1)

 

Is this some type of attack?

 

~eric

Share this post


Link to post
Share on other sites
Rob    547
Rob

Eric,

 

I'd not wait but rush to ask your host to check the logs.  It does seem to be some kind of attack coming from another IP.   That IP 220.181.108.176 is in China. 

 

There have been many such attacks lately. Most are DOS (Denial Of Service) and intent on hurting your server.  You will need to address this with the host as it's not a PageLines issue.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Simon    247
Simon

The Framework attempt to set the memory to the wordpress maximum which by default is 256M, it does this for css compiling only.

Wordpress will also set this limit during a core upgrade, we use the same function.

Anyway, your server has suhosin installed, which is for 'hardening' PHP, and it is blocking this from working.

As Rob mentioned you need to contact your host.

Share this post


Link to post
Share on other sites
elangley    0
elangley

Simon, thanks for the reply. I am self hosted so I will be dealing with this.As an FYI I am running Zpanel, which installs and configures Apache (and suhosin).

 

So if I understand this correctly there is some issue with what Pagelines is trying to do and the default security configuration of the web server. 

 

To resolve it will involve either modify or disabling suhosin or modifying the way this aspect of Pagelines works. 

 

Pagelines, what is your position on this security related issue?

 

~eric

Share this post


Link to post
Share on other sites
Simon    247
Simon

Eric it isnt a security related issue, suhosin is set to block php scripts raising the memory limit. So its a setting in the suhosin config.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×