Results 1 to 28 of 28
  1. #1

    vps with 128mb ram: to little to do ANYTHING?

    Hi all,

    I've ordered a VPS @ badiduniya.com, to test out. I took the basic package, a vps with 128mb ram. It's unmanaged, and without control panel.

    I'm totally new to vpses, but I figured I would be able to do what I want with some tutorials I found online.

    The main reason to get a vps was to run sabnzbd, a (webbased) usenetclient. After trying different tut's to install, I can't start the client, as it gives me an error:
    "error: can't start new thread".
    I've tried rebooting the vps, and used "free" to check my available memory(116MB), but it still didn't work. I've been trying for days to get something running on it. Before this, I tried installing a GUI + VNC, but same error: can't start new thread. I couldn't even connect anymore because of the memory that was full. I've let it reinstall, this time with centos, but even more trouble. I haven't been able to install anything.

    So far I tried it with ubuntu 9.04 and centos 5.3. something like sabnzbd shouldn't use that much ram,right?

  2. #2
    Join Date
    Sep 2009
    Posts
    22
    128MB is not that good for a VPS although this may not be the cause of the error. I suspect you have an issue with permissions.

  3. #3
    Join Date
    Oct 2008
    Posts
    2,249
    Shouldnt use that much ram...... have you tried contacting your host? Even though there unmanaged it sounds like its a vps issue from them not you or ram.



    also how much are you paying, The site directs me to a rapidleech hosting link and you might be able to find cheaperif your paying 20+ for it.
    Last edited by darkeden; 09-22-2009 at 04:21 PM.
    Leader of the new anti sig spamming club.

  4. #4
    I was logged in as root.

    I googled the error, and it seemed to be a memory issue most of the time, so I guessed it was a memory issue=>not the host's fault.
    But that's the reason why I started this thread, to see what could be the problem. I'll contact him now.

    BTW: I've run a "killall5" command(in an effort to free memory without rebooting), but I can't connect to my host anymore(when connecting with putty, the cursur just keeps blinking, no error, no nothing). Any way to fix this?

  5. #5
    Join Date
    Feb 2004
    Location
    Sacramento CA
    Posts
    3,342
    Plenty of uses for a 128MB VPS and I could not find memory requirements for sabnzbd so I don't know but yeah it's possible that it needs more.

    Did you make sure you have everything installed?

    http://sabnzbd.wikidot.com/install-centos5

  6. #6
    My vps is on Ubuntu 9.04 now. With centos, I couldn't even get cheetah installed if I'm correct. I'm not sure what the error was, I think I also couldn't start a new thread. Yum uses more memory than ap-get I've read on some forum. That's why I went back to ubuntu.

    I used this install, it worked fine:
    sabnzbd.wikidot.com/quick-setup#toc1

    Before that, I've tried this: sabnzbd.wikidot.com/install-ubuntu-repo
    (aptitude was not recognized as a command, so it didn't work), and then this: sabnzbd.wikidot.com/install-ubuntuserver804
    After executing the last command, nothing seemed to happen. I couldn't access the the host (ipofserver:8080/sabnzbd/).

    (I had to leave h*t*t*p*:*/*/ in all the urls because I don't have 5 posts)

  7. #7
    Join Date
    May 2008
    Location
    Germany
    Posts
    676
    There are many uses for a VPS with just 128MB RAM, but running a GUI and VNC as mentioned in the OP? No way!

    Web applications also tend to require more memory, maybe somebody else using sabnzbd can be more specific about its RAM requirements.

  8. #8
    Join Date
    Oct 2008
    Posts
    2,249
    Quote Originally Posted by CoderJosh View Post
    There are many uses for a VPS with just 128MB RAM, but running a GUI and VNC as mentioned in the OP? No way!
    My gui is using 50 mb of ram? The only issue I see would be running a browser.
    Leader of the new anti sig spamming club.

  9. #9
    Code:
    sabnzbdplus
    2009-09-24 00:12:34,785::INFO::--------------------------------
    2009-09-24 00:12:34,786::INFO::sabnzbdplus-0.4.11 (rev=2517)
    2009-09-24 00:12:34,786::INFO::Platform = posix
    2009-09-24 00:12:34,787::INFO::Python-version = 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
    [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
    2009-09-24 00:12:34,813::INFO::[sabnzbd] Loading data for rss_data.sab from /root/.sabnzbd/cache/rss_data.sab
    2009-09-24 00:12:34,815::INFO::[sabnzbd] Loading data for bytes7.sab from /root/.sabnzbd/cache/bytes7.sab
    2009-09-24 00:12:34,816::INFO::[sabnzbd] Loading data for queue7.sab from /root/.sabnzbd/cache/queue7.sab
    2009-09-24 00:12:34,816::WARNING::[downloader] No active primary servers defined, will not download!
    2009-09-24 00:12:34,817::INFO::All processes started
    2009-09-24 00:12:34,817::INFO::_yenc module... found!
    2009-09-24 00:12:34,818::INFO::celementtree module... found!
    2009-09-24 00:12:34,818::INFO::par2 binary... found (/usr/bin/par2)
    2009-09-24 00:12:34,818::WARNING::unrar binary... NOT found
    2009-09-24 00:12:34,818::INFO::unzip binary... found (/usr/bin/unzip)
    2009-09-24 00:12:34,818::INFO::nice binary... found (/usr/bin/nice)
    2009-09-24 00:12:34,818::INFO::ionice binary... found (/usr/bin/ionice)
    2009-09-24 00:12:34,819::INFO::pyOpenSSL... found (True)
    2009-09-24 00:12:34,819::INFO::Web dir is /usr/share/sabnzbdplus/interfaces/Default
    2009-09-24 00:12:34,874::INFO::Starting sabnzbdplus-0.4.11
    2009-09-24 00:12:34,875::INFO::Starting web-interface on localhost:8080
    24/Sep/2009:00:12:34 CONFIG INFO Server parameters:
    24/Sep/2009:00:12:34 CONFIG INFO   server.environment: production
    24/Sep/2009:00:12:34 CONFIG INFO   server.log_to_screen: True
    24/Sep/2009:00:12:34 CONFIG INFO   server.log_file: /root/.sabnzbd/logs/cherrypy.log
    24/Sep/2009:00:12:34 CONFIG INFO   server.log_tracebacks: True
    24/Sep/2009:00:12:34 CONFIG INFO   server.log_request_headers: False
    24/Sep/2009:00:12:34 CONFIG INFO   server.protocol_version: HTTP/1.0
    24/Sep/2009:00:12:34 CONFIG INFO   server.socket_host: localhost
    24/Sep/2009:00:12:34 CONFIG INFO   server.socket_port: 8080
    24/Sep/2009:00:12:34 CONFIG INFO   server.socket_file:
    24/Sep/2009:00:12:34 CONFIG INFO   server.reverse_dns: False
    24/Sep/2009:00:12:34 CONFIG INFO   server.socket_queue_size: 5
    24/Sep/2009:00:12:34 CONFIG INFO   server.thread_pool: 10
    2009-09-24 00:12:34,914::INFO::[nzbqueue] Saving queue
    2009-09-24 00:12:35,010::INFO::[sabnzbd] Saving data for queue7.sab in /root/.sabnzbd/cache/queue7.sab
    2009-09-24 00:12:35,010::INFO::[sabnzbd] Saving data for bytes7.sab in /root/.sabnzbd/cache/bytes7.sab
    2009-09-24 00:12:35,010::INFO::[sabnzbd] Saving data for rss_data.sab in /root/.sabnzbd/cache/rss_data.sab
    2009-09-24 00:12:35,009::INFO::[sabnzbd.misc] URLGrabber starting up
    Exception in thread CPHTTPServer Thread-7:
    Traceback (most recent call last):
      File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
        self.run()
      File "/usr/lib/python2.5/threading.py", line 446, in run
        self.__target(*self.__args, **self.__kwargs)
      File "/var/lib/python-support/python2.5/cherrypy/_cpserver.py", line 114, in _start_http
        self.httpserver.start()
      File "/var/lib/python-support/python2.5/cherrypy/_cpwsgiserver.py", line 312, in start
        worker.start()
      File "/usr/lib/python2.5/threading.py", line 440, in start
        _start_new_thread(self.__bootstrap, ())
    error: can't start new thread

    This is the error. I've got access to the hyperVM panel now, ram gets fully used after the command "sabnzbdplus":/

  10. #10
    Join Date
    Feb 2004
    Location
    Sacramento CA
    Posts
    3,342
    Ok just to play around with this I installed this on one of my 128MB VPS and I pretty much got the same error. My memory use jumped from 18mb to 132mb. Guess this doesn't like burst ram.

    Had the memory increased to 256MB on this VPS and doing that it seems like it needs at least 154MB of dedicated ram to run.

  11. #11
    Thanks for testing! I think I'm gonna cancel my vps, it's getting to expensive for what I wanted to use it.

    That's a lot of ram for something like that, imo:/
    There are people running it on a NAS with 400 mhz cpu and 128mb ram (forums.sabnzbd.org/index.php?topic=279.msg822#msg822), I don't get it :/

  12. #12
    Join Date
    Mar 2009
    Posts
    3,807
    You are not going to be running a remotely accessible GUI of any kind of 128MB.

    128MB can be used to do a lot of things - you can easily host multiple wordpress sites in 128 or less. Some things just don't like such tiny resources, unfortunately

  13. #13
    Join Date
    Feb 2004
    Location
    Sacramento CA
    Posts
    3,342
    Leviathanw

    Not sure what your budget is but there are a number of very inexpensive budget VPS providers out there. I'm currently using Ramhost.us and they have been really solid so far. A 192mb VPS is $8/mo and that should run that app fine. They also do custom VPS configs.

  14. #14
    Damn, that's cheap
    I've paid 20 usd for a month now, but I did get unlimited traffic.

    If I understand it well: you can reload your vps with whatever os you want yourself? I might try them.

    I'm not sure if I may ask this here, but do they make a problem of warez?

    Anyway, thanks for the hint, I've been searching a bit, and there are many cheaper providers, but with trafficlimits. But that shouldn't be too much of a problem, I think.

  15. #15
    Join Date
    Mar 2009
    Posts
    3,807
    are you looking for a vps to download warez on?

  16. #16
    Something like that, and maybe adding a blog.

    But I'm not sure if that can be discussed here.

  17. #17
    Join Date
    Feb 2004
    Location
    Sacramento CA
    Posts
    3,342
    warez is a no no for just about every VPS provider in the states (most don't even allow linking) so if that's what you're looking to do then they will not be an option for you. You can talk about it but I doubt you'll find a host that allows that unless you go off-shore.

  18. #18
    And just for the downloading purpose? I want to download through usenet, and reupload those files as soon as they are downloaded. Afterwards, they get deleted from the vps.

    I don't know if that would cause any problems. maybe I should try it out, they have a 14 day trial.

  19. #19
    Join Date
    Feb 2007
    Location
    Florida
    Posts
    1,930
    You can run a webserver with 128MB of RAM fine, here's the tests I ran on my VPS with 64MB of RAM (128MB swap):

    PHP Code:
    processor       0
    vendor_id       
    GenuineIntel
    cpu family      
    6
    model           
    15
    model name      
    Intel(RXeon(RCPU           X3220  2.40GHz
    stepping        
    11
    cpu MHz         
    2400.084
    cache size      
    4096 KB

    processor       
    1
    vendor_id       
    GenuineIntel
    cpu family      
    6
    model           
    15
    model name      
    Intel(RXeon(RCPU           X3220  2.40GHz
    stepping        
    11
    cpu MHz         
    2400.084
    cache size      
    4096 KB

                 total       used       free     shared    buffers     cached
    Mem
    :            64         53         10          0          1         15
    -/+ buffers/cache:         36         27
    Swap
    :          127          9        118

    Filesystem            Size  Used Avail 
    Use% Mounted on
    /dev/simfs            5.0G  1.4G  3.4G  29% /
    /
    dev                   32M     0   32M   0% /dev
    none                   32M     0   32M   0
    % /dev/shm

    Linux version 2.6.18
    -128.4.1.el5xen (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Tue Aug 4 20:51:12 EDT 2009 
    PHP Code:
    ==============================================================
    BYTE UNIX Benchmarks (Version 4.1-wht.2)
    System -- Linux tset.jweb2.com 2.6.18-128.4.1.el5xen #1 SMP Tue Aug 4 20:51:12 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    /dev/simfs             5160576   1378500   3519932  29% /

    Start Benchmark RunFri Aug 28 07:51:30 PDT 2009
     07
    :51:30 up 2 min,  1 user,  load average0.500.170.05

    End Benchmark Run
    Fri Aug 28 08:02:07 PDT 2009
     08
    :02:07 up 12 min,  1 user,  load average14.206.382.88


                         INDEX VALUES
    TEST                                        BASELINE     RESULT      INDEX

    Dhrystone 2 using register variables        376783.7 11690762.8      310.3
    Double
    -Precision Whetstone                      83.1     1171.6      141.0
    Execl Throughput                               188.3     2894.8      153.7
    File Copy 1024 bufsize 2000 maxblocks         2672.0   105561.0      395.1
    File Copy 256 bufsize 500 maxblocks           1077.0    27465.0      255.0
    File Read 4096 bufsize 8000 maxblocks        15382.0   673536.0      437.9
    Pipe Throughput                             111814.6   631205.0       56.5
    Pipe
    -based Context Switching                 15448.6   174810.0      113.2
    Process Creation                               569.3     6050.7      106.3
    Shell Scripts 
    (8 concurrent)                    44.8      865.3      193.1
    System Call Overhead                        114433.5   542460.6       47.4
                                                                     
    =========
         FINAL 
    SCORE                                                     160.7 
    PHP Code:
    ** SIEGE 2.69
    ** Preparing 25 concurrent users for battle.
    The server is now under siege...
    ...
    Lifting the server siege...      done.
    Transactions:                    2870 hits
    Availability
    :                 100.00 %
    Elapsed time:                  59.15 secs
    Data transferred
    :              13.80 MB
    Response time
    :                  0.00 secs
    Transaction rate
    :              48.52 trans/sec
    Throughput
    :                     0.23 MB/sec
    Concurrency
    :                    0.17
    Successful transactions
    :           0
    Failed transactions
    :               0
    Longest transaction
    :            5.05
    Shortest transaction
    :           0.00 
    PHP Code:
    ** SIEGE 2.69
    ** Preparing 50 concurrent users for battle.
    The server is now under siege...
    ...
    Lifting the server siege...      done.
    Transactions:                    5673 hits
    Availability
    :                 100.00 %
    Elapsed time:                  59.92 secs
    Data transferred
    :              27.28 MB
    Response time
    :                  0.02 secs
    Transaction rate
    :              94.68 trans/sec
    Throughput
    :                     0.46 MB/sec
    Concurrency
    :                    1.55
    Successful transactions
    :           0
    Failed transactions
    :               0
    Longest transaction
    :            2.22
    Shortest transaction
    :           0.00 
    PHP Code:
    ** SIEGE 2.69
    ** Preparing 100 concurrent users for battle.
    The server is now under siege...
    ...
    Lifting the server siege...      done.
    Transactions:                   11958 hits
    Availability
    :                 100.00 %
    Elapsed time:                  60.02 secs
    Data transferred
    :              57.51 MB
    Response time
    :                  0.00 secs
    Transaction rate
    :             199.23 trans/sec
    Throughput
    :                     0.96 MB/sec
    Concurrency
    :                    0.19
    Successful transactions
    :           0
    Failed transactions
    :               0
    Longest transaction
    :            0.04
    Shortest transaction
    :           0.00 
    PHP Code:
    ** SIEGE 2.69
    ** Preparing 200 concurrent users for battle.
    The server is now under siege...
    ...
    Lifting the server siege...      done.
    Transactions:                    8251 hits
    Availability
    :                 100.00 %
    Elapsed time:                  29.50 secs
    Data transferred
    :              39.68 MB
    Response time
    :                  0.21 secs
    Transaction rate
    :             279.69 trans/sec
    Throughput
    :                     1.35 MB/sec
    Concurrency
    :                   59.80
    Successful transactions
    :           0
    Failed transactions
    :               0
    Longest transaction
    :            9.19
    Shortest transaction
    :           0.00 
    PHP Code:
    ** SIEGE 2.69
    ** Preparing 400 concurrent users for battle.
    The server is now under siege...
    ...
    Lifting the server siege...      done.
    Transactions:                     996 hits
    Availability
    :                 100.00 %
    Elapsed time:                  36.23 secs
    Data transferred
    :               4.79 MB
    Response time
    :                  4.72 secs
    Transaction rate
    :              27.49 trans/sec
    Throughput
    :                     0.13 MB/sec
    Concurrency
    :                  129.69
    Successful transactions
    :           0
    Failed transactions
    :               0
    Longest transaction
    :           32.01
    Shortest transaction
    :           0.00 
    This is with LXLab's HostInABox setup.
    -Joe @ Secure Dragon LLC.
    + OpenVZ Powered by Wyvern | KVM | cPanel Hosting | Backup VPSs | LowEndBoxes | DDOS Protection
    + Florida | Colorado | Illinois | California | Oregon | Georgia | New Jersey | Arizona | Texas

  20. #20
    Well, you probably can, but the webserver isn't the main concern: I want sabnzbd to run :p

  21. #21
    Join Date
    Mar 2009
    Posts
    3,807
    Quote Originally Posted by leviathanw View Post
    And just for the downloading purpose? I want to download through usenet, and reupload those files as soon as they are downloaded. Afterwards, they get deleted from the vps.

    I don't know if that would cause any problems. maybe I should try it out, they have a 14 day trial.
    yes that would be a problem, since technically you are distributing warez from the vps, worse than warez linking

  22. #22
    Well, they do allow rapidleech and seedboxes, only no illegal files:p

    Anyway, we'll see. I've contacted some other hosts that look interesting.

    Thanks for the info.

  23. #23
    Join Date
    Feb 2007
    Location
    Florida
    Posts
    1,930
    Sorry, I didn't read the thread completely. I expected the thread subject to be remotely close to the thread topic.
    -Joe @ Secure Dragon LLC.
    + OpenVZ Powered by Wyvern | KVM | cPanel Hosting | Backup VPSs | LowEndBoxes | DDOS Protection
    + Florida | Colorado | Illinois | California | Oregon | Georgia | New Jersey | Arizona | Texas

  24. #24
    Hehe, I should have put "(I want)" after "ANYTHING" in the topictitle:p

  25. #25
    My 32mb vps running as an MTA (for research purpose) can handle 20000+ incoming SMTP connections in one day, so a vps with 128mb should be capable of doing even more.

    But the virtualization technology used will make a difference. I believe that you can do more with Xen than OpenVZ, because you can utilize swap space under Xen, though possibly at lower performance level.

  26. #26
    Join Date
    Feb 2004
    Location
    Sacramento CA
    Posts
    3,342
    seems like too many people just jump to the end of a post.

  27. #27
    Join Date
    Dec 2006
    Location
    London
    Posts
    660
    I think as everyone agreed, 128MB is quite tight for GUI stuff.

    I haven't heard any mention of swap though - did you have any swap enabled on your VPS to see if that can handle the occasional peak?
    GigaTux, Value Linux Hosting
    UK, US and Germany based Xen VPS. Reliability is key! Quick support response and 99.9% SLA.

  28. #28
    Quote Originally Posted by cocodude View Post
    I think as everyone agreed, 128MB is quite tight for GUI stuff.

    I haven't heard any mention of swap though - did you have any swap enabled on your VPS to see if that can handle the occasional peak?
    To be honest, I don't even have any idea about that
    How can I check?

Similar Threads

  1. Is a VPS with 128mb RAM enough for... ?
    By Oskare100 in forum VPS Hosting
    Replies: 11
    Last Post: 12-10-2008, 02:30 PM
  2. Data Host Direct - 128MB RAM VPS at $5.95/mo - 128MB FREE upgrade!
    By N|Kitmitto in forum VPS Hosting Offers
    Replies: 1
    Last Post: 09-26-2008, 12:12 AM
  3. [UK or US] OpenVZ 128MB VPS from $9.50 / $4.75/
    By Russ Foster in forum VPS Hosting Offers
    Replies: 0
    Last Post: 03-09-2007, 01:52 PM
  4. 128mb vps: what can you run ?
    By psychie in forum VPS Hosting
    Replies: 14
    Last Post: 06-15-2006, 09:40 PM
  5. 128mb enough ? for P4 2.4 gig ?
    By Adwis in forum Web Hosting Lounge
    Replies: 18
    Last Post: 10-24-2002, 11:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •