Hello Craig,
This sounds like it could be a storage/memory issue with your hosting. Are you able to check there or discuss with them to see if this is the problem? If it is then you’ll probably need an upgraded hosting plan or there could be a problem with one of your plugins (or theme) eating up too much memory.
Hope that helps,
Sage
Hi Sage,
Thanks for your reply. It is always appreciated.
I have just run the ‘free -m’ command via SSH and noticed that I have reached 996m in memory where my VPS has a limit of 1GB, so you are probably right. I don’t suppose you are aware of any reliable articles that provide pointers on optimising VPS’s RAM usage? If I find any myself, that work, I will post them up here.
Once again, thank you for the insight 🙂
Regards
Craig
Hey Craig,
Sorry haha, once it starts getting too much further into server territory that’s where I hand things over. One thing I would mention once you get some space is to install the P3 plugin (https://ww.wp.xz.cn/plugins/p3-profiler/) which will let you know if there are other plugins that are hoarding memory.
Glad I could be of assistance!
Sage
If your question has been answered, we would love if you would mark this topic as resolved in the right hand sidebar. This helps our volunteers find the topics that still need attention and more people will get helped, possibly like you did.
Hi Sage,
You have been helpful. As for the P3 Profile plugin, I have used that before – How could I forget about using that! 🙂
Best wishes with your own projects and thank you once again for your time and advice.
Regards
Craig
Hello,
Sorry to pop by again.
After optimising my VPS, I have managed to get my RAM usage down to under 400MB. I still have 600+MB available but I am still having problems uploading my images. The image itself is only 59KB in size, so surely it cannot be the size of the image. Could there possible be a restriction on image dimensions with WordPress? I have never heard of this before but thought this may be a possibility as I am able to upload images with smaller dimensions but which are larger in file size.
I do not know if this has an impact but I have modified the following variables as follows:
memory_limit 128m
post _max_size 8m
upload_max_filesize 2m
Sage has been great is highlighting the fact I should consider reducing my RAM usage or upgrading my VPS package. If anyone else is able to point me in any directions as to why I am having such difficulties, that would be great.
As a side note, there is no mention of any errors in my error logs neither.
Regards
Craig