Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
php memory limit cpanel
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

php memory limit cpanel

mikhomikho Member, Provider

Please share your php memory limits with me :)

Havin a customer that runs out of memory and I have already increased it to an (in my opinion) unhealthy value

I can now be found at https://talk.lowendspirit.com
or on twitter
Come say HI! :)

Comments

  • IshaqIshaq Member, Provider

    1GB?

    [BudgetNode] DDoS Protected. 7 Locations (US/EU). Check out our latest offer!
  • mikhomikho Member, Provider

    @Ishaq said:
    1GB?

    is that the value you set on your shared hosting?

    I can now be found at https://talk.lowendspirit.com
    or on twitter
    Come say HI! :)
  • IshaqIshaq Member, Provider

    Yes, but I guess it depends on your target customers/market and how much they pay.

    [BudgetNode] DDoS Protected. 7 Locations (US/EU). Check out our latest offer!
  • @Ishaq said:
    1GB?

    Its hosting account physical memory limit, 128mb is default php memory limit anda user can increase this limit

  • IshaqIshaq Member, Provider

    Yeah, I guess he was talking about the physical LVE limit because customers can modify the PHP limit themselves.

    [BudgetNode] DDoS Protected. 7 Locations (US/EU). Check out our latest offer!
  • mikhomikho Member, Provider

    Error logs shows mostly wordpress cron jobs failing,checked the database and there is alot of cron jobs. Will imcrease the amount of concurrent connections.

    Thanks all.

    I can now be found at https://talk.lowendspirit.com
    or on twitter
    Come say HI! :)
  • mikhomikho Member, Provider

    @Ishaq said:
    Yeah, I guess he was talking about the physical LVE limit because customers can modify the PHP limit themselves.

    I was actually talking about the PHP limit :)

    I can now be found at https://talk.lowendspirit.com
    or on twitter
    Come say HI! :)
  • One of those WP installs with a billion plugins?

    How to clean up a questionable reputation: throw the kids some BF/CM offers.

  • mikhomikho Member, Provider

    @doughmanes said:
    One of those WP installs with a billion plugins?

    Not a billion but more then I'm used to and not to forget, plugins that I haven't seen/used before.

    Thanked by 1doughmanes
    I can now be found at https://talk.lowendspirit.com
    or on twitter
    Come say HI! :)
  • jarjar Provider

    I would go 256MB on shared and accuse anyone going over it of using poorly coded applications. Having to raise limits can indicate that your limits are too low but it can just as easily indicate that your code is at fault.

    I once met a customer that uploaded files via PHP in such a poor way that files were stored entirely in RAM until finished and then moved to disk. Took me at least an hour to figure it out.

    Thanked by 1doughmanes

    MagicSpam blackmails providers into buying their software, and ServerHub is a professional spam organization.

  • +1 on poorly coded apps. I recall such a past issue on the support desk.

    Ruled out an attack on Wordpress since you replied about WP plugins?

    How to clean up a questionable reputation: throw the kids some BF/CM offers.

  • mikhomikho Member, Provider

    @doughmanes said:.

    Ruled out an attack on Wordpress since you replied about WP plugins?

    No real proof but most errors come from the server IP with the referrer "wp-cron.php".
    I've also seen references to plugins that doesn't exist in the installation.

    My guess, yes it's a guess since I have no proof, is that this was installed initially a very long time ago on another server and the installation has had plugins installed and later uninstalled.

    Old shit, no longer in use is still there causing these problems.
    I did some cleanup, if that doesn't work the install has to be moved to a dedicated installation.

    Thanked by 1doughmanes
    I can now be found at https://talk.lowendspirit.com
    or on twitter
    Come say HI! :)
  • I would say that 256 MB is a safe value and I wouldn't go over 512 MB.

    Noamweb - Managed hosting in Italy

  • hostenshostens Member, Provider

    We have set it to 256 MB for our shared hosting users.

    Thanked by 2doughmanes vimalware

    Hostens - a home for your website.

  • nunimnunim Member
    edited February 2017

    128MB default, changeable up to 256MB via cPanel. Typically nothing needs more than 256MB except for some Magneto installs where we set 512MB...

    If you see wp-cron.php errors, install the WP Crontrol(https://wordpress.org/plugins/wp-crontrol/), or similar, plugin so you can see what it's actually up to. If you've already increased the memory_limit in PHP, have you checked the wp-config.php to see if WP_MEMORY_LIMIT is defined?

    If you haven't already, disable automatic cron via wp-config.php & setup a manual cronjob once per hour.

    SonicBoxes.com - VPS Tips, Tricks & Tutorials
    6UA.net Various tools, screenshots, password gen, looking glass, etc..

  • mikhomikho Member, Provider

    nunim said: have you checked the wp-config.php to see if WP_MEMORY_LIMIT is defined?

    Checked, it's not there.

    nunim said: If you haven't already, disable automatic cron via wp-config.php & setup a manual cronjob once per hour.

    Still running the "old fashioned" way. Haven't heard from the customer since my last changes.

    I can now be found at https://talk.lowendspirit.com
    or on twitter
    Come say HI! :)
Sign In or Register to comment.