The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. February 12, 2012, 07:02:17 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: What Happens on unix When it Runs Out of Memory?  (Read 1426 times)
Bompa
Administrator
Lifer
*****
Offline Offline

Posts: 509


View Profile
« on: December 20, 2009, 05:07:23 AM »

What Happens on unix When it Runs Out of Memory?

I just got a new vps for $6/mo.   Shocked

Of course the specs are as low as the price, for example, only 64M ram. CentOS 5, I think.

But, I'll only be running one script there afaik.

So what happens if my script uses all the ram?  Same as on Windows  Everything
just slows down as it accesses the drive?

Bompa
Logged

"Everything that can be counted does not necessarily count; everything that counts cannot necessarily be counted." -- Albert Einstein
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5604


Back in my day we had 9 planets


View Profile
« Reply #1 on: December 20, 2009, 08:04:52 AM »

It's so awesome it just makes more! (I'm pretending to be V Smiley)
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
nop_90
Global Moderator
Lifer
*****
Offline Offline

Posts: 2203


View Profile
« Reply #2 on: December 20, 2009, 03:44:57 PM »

If it is a vps, usualy it will just not allow you to start anymore process.
Logged
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



View Profile
« Reply #3 on: December 23, 2009, 01:59:30 PM »

Yep the proc limit would be a hard cutoff, running out of memory would make it start swapping. But a VPS is probably running the Xen kernel or similar, and would thus just cut you off if you ran out of memory until enough got freed up to resume.
Logged

hai
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



View Profile
« Reply #4 on: December 23, 2009, 02:00:03 PM »

It's so awesome it just makes more! (I'm pretending to be V Smiley)

lol I don't make stuff up
Logged

hai
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5604


Back in my day we had 9 planets


View Profile
« Reply #5 on: December 23, 2009, 03:50:05 PM »

hehe. i meant in the evangelical-linux sense that you have.
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
krustee
Rookie
**
Offline Offline

Posts: 33


View Profile
« Reply #6 on: January 05, 2010, 05:59:56 AM »

Mind pm'ing the company you got that deal with?
Logged
Bompa
Administrator
Lifer
*****
Offline Offline

Posts: 509


View Profile
« Reply #7 on: January 05, 2010, 06:46:34 AM »

Mind pm'ing the company you got that deal with?

I found them at https://superbytes.net/

but they are really http://kerplunchosting.com/

note: bare bones vps with ultra low resources.
Logged

"Everything that can be counted does not necessarily count; everything that counts cannot necessarily be counted." -- Albert Einstein
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5604


Back in my day we had 9 planets


View Profile
« Reply #8 on: January 05, 2010, 09:28:13 AM »

woot gonna try them out.
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
krustee
Rookie
**
Offline Offline

Posts: 33


View Profile
« Reply #9 on: January 06, 2010, 10:38:51 AM »

Theres an offer at https://www.burst.net/services.shtml aswell for $6 per month. Haven't tried them myself but the specs look alright:

VPS #1 (Virtual Private Server) - vePortal - CPU: 1GHZ, RAM: 512MB, DISKSPACE: 20GB, BANDWIDTH: 1000GB/MONTH

Again I haven't used them but it seems like a good deal. Comes with two ip's as standard.

*edit ramhost http://www.ramhost.us/?page=virtual-dedicated-server have vps starting from 2.99 a month and I have seen some good reviews.
« Last Edit: March 02, 2010, 10:06:54 AM by krustee » Logged
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!