OS out of disk error

software development

#1

The problem I’m facing is that I’m getting os out of memory errors when I’m trying to install python module using pip3 install. I followed the tutorial here: https://help.dreamhost.com/hc/en-us/articles/115000702772-Installing-a-custom-version-of-Python-3 To get a custom python installation working and it works fine. Sadly I need to install several modules to get my project running where this memory error is coming into play. This is my current df readout:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 31457280 4291920 27165360 14% /
none 131072 131072 0 100% /tmp

I’m new to linux and ssh but as far as I can tell, I should still have 27g of memory to work with and yet I’ve somehow capped out @ 100% on some tmp virtual drive or something. Anyone able to walk me out of this problem or point me towards the right direction?


#2

I strongly recommend you change the subect of this thread from “out of memory” to “out of disk”. RAM is memory, not disk.

That’s a tiny /tmp volume. It’s no surprise it’s full. Google for info on expanding the size of an existing volume. If this is a new system, I’d scrap it and reconfigure. If you are using DreamCompute, use a default instance and don’t manually size the volumes. (You didn’t say which DH plan/server you’re using.)

HTH


#3

I fixed this by creating a new tmp directory and adding it to my my bash profile exports.


#4

I have worked with Dreamhost quite a bit for nearly ten years for small client sites without issue.

You’re asking your hosting company to troubleshoot your site (code, DB, etc.), when really it’s not their problem. As long as the servers are up and a web server responds, they’ve done their job.

500 errors for what sounds like a hastily tossed together set of sites is a code or configuration problem and of course they’re going to make awful suggestions that abate the real issue as again it isn’t their issue to fix.

When you get script errors, check the log files. In a default Dreamhost account there is a “logs” directory right inside your user directory. See what errors are being given – what lines of code in what files are causing problems – and work on those. As mentioned by others, it’s probably a plugin problem. Next in the list of possible issues is your theme or themes.

You don’t need to count CPU minutes or dive into deep server monitoring, especially if you’re on their low-tier shared hosting. If the server were the problem you would see other errors.

I’m sorry if this sounds hostile and I hate to break the “fuck your host” circlejerk but it is simply not a hosting problem. If you’re happy with the hate bandwagon and no real solutions, keep hassling their support staff and getting obsessive with server monitoring. If you want it fixed, check the logs and see why PHP is exploding and causing apache to spit out 500 errors.

The fact that you even see a 500 error means the request succeeded. There were no problems with resources, apache, MySQL or PHP other than that they got come code that didn’t make sense.

If you need help troubleshooting your errors or have any questions feel free to drop me an orangered or update your post with log details.


https://subwaysurfers.vip/ https://subwaysurfers.vip/ https://hillclimbracing.vip/


#5

@raksharjuns I can only assume you posted your response in the wrong thread.