Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: fork failed: cannot allocate memory

  1. #1

    Angry fork failed: cannot allocate memory

    this error while connecting to the VPS via ssh

    What is happening? it's not even running anything!

  2. #2
    Join Date
    Aug 2006
    Posts
    1,019

    Default

    What plan are you on? What is the output of your process list? Apparently you're running *something*.

  3. #3

    Angry

    Quote Originally Posted by jasonaward
    What plan are you on? What is the output of your process list? Apparently you're running *something*.
    the cheapest plan

    vpslink 1

    of course *something* is running, it's the default install, so cron, syslog, etc, the standard processes

    hostinginfinity:~# ps xau
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.0 0.0 1508 516 ? Ss Feb24 0:00 init [2]
    root 23907 0.0 0.0 1564 596 ? Ss Feb24 0:00 /sbin/syslogd
    root 23938 0.0 0.0 3468 1520 ? Ss Feb24 0:00 /usr/sbin/sshd
    daemon 23942 0.0 0.0 1688 632 ? Ss Feb24 0:00 /usr/sbin/atd
    root 23945 0.0 0.0 1760 724 ? Ss Feb24 0:00 /usr/sbin/cron
    root 11749 0.0 0.0 14452 2216 ? Rs 05:44 0:00 sshd: root@pts/0
    root 11802 0.0 0.0 2552 1392 pts/0 Ss 05:44 0:00 -bash
    root 11809 0.0 0.0 2500 848 pts/0 R+ 05:44 0:00 ps xau

  4. #4
    Join Date
    Jun 2006
    Location
    Guadalajara, Mexico
    Posts
    541

    Default

    ummm.. and how did you get the output if you couldn't connect?
    pablasso.com (spanish)

  5. #5
    Join Date
    Aug 2006
    Posts
    1,019

    Default

    Quote Originally Posted by pablasso
    ummm.. and how did you get the output if you couldn't connect?
    Wow! I didn't even catch that one! LOL

  6. #6

    Default

    Quote Originally Posted by pablasso
    ummm.. and how did you get the output if you couldn't connect?
    funny smartass

    i reinstalled the os again just to connect.

    I'm still having the same issue, even with the CFLAGS that were suggested.

    Bind isn't compiling.. this is quite silly. For the moment I may have to use the packaged version but it doesn't have the extra options I wanted.

    truely a pain in the ass.

  7. #7

    Default

    I think:

    1) compiling bind on a vpslink 1 ain't gonna happen.
    2) if you really want to compile it and stick to a link1, use something like distcc to pipe the compilation out to another machine. You have to remember that the OS takes up a piece of memory as well (which has been covered, bitched at, and debated in other threads).
    Kelvin Nicholson
    http://www.helomx.com - Blacklist and availability monitoring built from the ground up for outsourced IT providers.

  8. #8

    Default

    Quote Originally Posted by kelvinn
    I think:

    1) compiling bind on a vpslink 1 ain't gonna happen.
    2) if you really want to compile it and stick to a link1, use something like distcc to pipe the compilation out to another machine. You have to remember that the OS takes up a piece of memory as well (which has been covered, bitched at, and debated in other threads).
    Definitely never going to happen unless he uses distcc. Compiling mysql and BIND use about the same amount of memory to compile, and even on my Link2, I had to use a distcc box to help it along with mysql.


    @hostinginfinity - Totally agreed, it's a pain in the ass. But you should have been aware of your inability to compile most things if you had done some research prior to purchasing an account here. You *do* however always have the option of compiling a binary on another system (colinux works wonders ) first and then transfering it over. I've found myself using that option a few times now when mysql or php5 give me trouble and I don't care to shutdown some services. Either that or distcc as mentioned above

  9. #9

    Angry

    Quote Originally Posted by Tikus
    Definitely never going to happen unless he uses distcc. Compiling mysql and BIND use about the same amount of memory to compile, and even on my Link2, I had to use a distcc box to help it along with mysql.


    @hostinginfinity - Totally agreed, it's a pain in the ass. But you should have been aware of your inability to compile most things if you had done some research prior to purchasing an account here. You *do* however always have the option of compiling a binary on another system (colinux works wonders ) first and then transfering it over. I've found myself using that option a few times now when mysql or php5 give me trouble and I don't care to shutdown some services. Either that or distcc as mentioned above
    It's interesting you should suggest that.
    I installed the precompiled binarys package and look at what we have here:

    Feb 26 04:23:29 hostinginfinity named[5360]: starting BIND 9.2.4 -u bind
    Feb 26 04:23:29 hostinginfinity named[5360]: using 2 CPUs
    Feb 26 04:23:29 hostinginfinity named[5360]: socket.c:2367: unexpected error:
    Feb 26 04:23:29 hostinginfinity named[5360]: isc_thread_create() failed
    Feb 26 04:23:29 hostinginfinity named[5360]: main.c:429: unexpected error:
    Feb 26 04:23:29 hostinginfinity named[5360]: isc_socketmgr_create() failed: unexpected error
    Feb 26 04:23:29 hostinginfinity named[5360]: create_managers() failed: unexpected error
    Feb 26 04:23:29 hostinginfinity named[5360]: exiting (due to early fatal error)
    hostinginfinity:/var/log# /etc/init.d/bind9 restart
    Stopping domain name service: namedrndc: connect failed: connection refused
    .
    Starting domain name service: named.
    hostinginfinity:/var/log# dig @localhost hostinginfinity.com
    mem.c:653: INSIST(ctx->stats[size].gets > 0U) failed.
    Aborted
    hostinginfinity:/var/log#
    hostinginfinity:/var/log# cat /proc/user_beancounters
    Version: 2.5
    uid resource held maxheld barrier limit failcnt
    51736: kmemsize 734071 1157005 3697698 3892314 0
    lockedpages 0 0 128 128 0
    privvmpages 12810 14858 14860 14860 4
    shmpages 640 672 6400 6400 0
    dummy 0 0 0 0 0
    numproc 13 24 80 80 0
    physpages 1607 11675 0 2147483647 0
    vmguarpages 0 0 14860 2147483647 0
    oomguarpages 1607 11675 13107 2147483647 0
    numtcpsock 5 6 128 128 0
    numflock 2 7 128 128 0
    numpty 1 1 8 8 0
    numsiginfo 0 4 128 128 0
    tcpsndbuf 4456 104716 335544 671088 0
    tcprcvbuf 0 337804 335544 671088 2
    othersockbuf 6684 15112 335544 671088 0
    dgramrcvbuf 0 4276 167772 335544 0
    numothersock 5 11 128 128 0
    dcachesize 64862 88644 1006632 1006632 0
    numfile 123 160 2048 2048 0
    dummy 0 0 0 0 0
    dummy 0 0 0 0 0
    dummy 0 0 0 0 0
    numiptent 14 14 192 192 0
    hostinginfinity:/var/log#


    No surprise really, VPSlink sucks, I haven't got my money back yet and until I do I will continue to be pissed off at VPSlink for providing such a dodge service and not even warning users that bind/named will not run on a link 1 system. I don't want to have to pay more to get this working.
    For anyone reading this considering VPSlink as a primary or secondary name server,... I'd seriously consider a company that provides a better service and at least warns their potential customers as to their shotty business practices. Don't worry you haven't heard the last of me VPSlink. I will never recommend this shotty excuse for a VPS hosting company to anyone, EVER. Not even if you give back my money which I remind you, you are required to do under consumer trade law. Still I see no refund and no reply to my several emails to the sales and support departments.

  10. #10

    Default

    Quote Originally Posted by hostinginfinity
    I haven't got my money back yet and until I do I will continue to be pissed off at VPSlink for providing such a dodge service and not even warning users that bind/named will not run on a link 1 system.
    They haven't warned me that Wildfire won't work on a Link1, but I'm gonna take a leap and guess that it won't.

    Quote Originally Posted by hostinginfinity
    I don't want to have to pay more to get this working.
    1) Use the built in DNS CP.
    2) Use a DNS server with a smaller footprint.

    Quote Originally Posted by hostinginfinity
    For anyone reading this considering VPSlink as a primary or secondary name server,...
    Buy a Link2, or test locally if a 64MB OpenVZ node will be enough to host your zone. Or try a DNS server with a smaller footprint.

    Quote Originally Posted by hostinginfinity
    I'd seriously consider a company that provides a better service and at least warns their potential customers as to their shotty business practices.
    This doesn't even make sense. "Hey! We have shotty business practices!"

    Quote Originally Posted by hostinginfinity
    Still I see no refund and no reply to my several emails to the sales and support departments.
    It is the weekend.
    Kelvin Nicholson
    http://www.helomx.com - Blacklist and availability monitoring built from the ground up for outsourced IT providers.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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