Results 1 to 11 of 11
  1. #1
    Join Date
    Jan 2005
    Location
    Shelbyville, TN
    Posts
    118

    -bash: fork: resource temporarily unavailable

    Ok first time ive ran into this.
    A personal account i have on my server (not root)

    anytime i try to loginto ssh i get
    -bash: fork: resource temporarily unavailable

    Now as root what file do i need to edit to fix this?
    CentOS 5.0 is what i got.

    Any help would be appreciated.



    Thanks
    Robert
    Robert Warren
    Purple Penguin
    http://www.purplepenguin.us
    --==Hosting since 1998==--
      0 Not allowed!

  2. #2
    Join Date
    May 2006
    Location
    NJ, USA
    Posts
    6,456
    Sounds like your loads are too high.

    What are the load averages and memory/swap usage?
    simplywww: directadmin and cpanel hosting that will rock your socks
    Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

    Follow my "deals" Twitter for hardware specials.. @dougysdeals
      0 Not allowed!

  3. #3
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    11,687
    This is typically a memory issue, from what research I've done.
    if you type free in SSH, what does that tell you?
    WHMCS Guru - WHMCS addons, management, support and more.
    WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
    Always looking for Linux, WHMCS, Support Desk work. PM for details
      0 Not allowed!

  4. #4
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,294
    When this happens on a non-root user usually file descriptors running out.
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
      0 Not allowed!

  5. #5
    Join Date
    Jan 2005
    Location
    Shelbyville, TN
    Posts
    118
    I have plenty of memory and no swap used. Also my Loads are at 0.30




    How can I fix the file descriptors?
    Robert Warren
    Purple Penguin
    http://www.purplepenguin.us
    --==Hosting since 1998==--
      0 Not allowed!

  6. #6
    Join Date
    Jan 2005
    Location
    Shelbyville, TN
    Posts
    118
    accualy current loads are 0.13 but usualy 0.30
    Robert Warren
    Purple Penguin
    http://www.purplepenguin.us
    --==Hosting since 1998==--
      0 Not allowed!

  7. #7
    Join Date
    Jun 2002
    Location
    PA, USA
    Posts
    5,137
    Are you in a VPS?
    Fluid Hosting, LLC - HSphere Shared and Reseller hosting - Now with HIGH AVAILABILITY
    Fluid VPS - Linux and Windows Virtuozzo VPS - Enterprise VPS with up to 2 GB guaranteed memory!
    Get your N+1 High Availability Enterprise Cloud
    Equinix Secaucus NY2 (NYC Metro)
      0 Not allowed!

  8. #8
    Join Date
    Jan 2005
    Location
    Shelbyville, TN
    Posts
    118
    nope dedicated. So far as ive gathered its got to do with max processes by userid.

    Looking for a command to up the processes by userid

    I tryed ulimit -u 256 but still getting error
    Robert Warren
    Purple Penguin
    http://www.purplepenguin.us
    --==Hosting since 1998==--
      0 Not allowed!

  9. #9
    Join Date
    Jan 2005
    Location
    Shelbyville, TN
    Posts
    118
    got it, turned off Shell Fork Bomb Protection in WHM. Man wont let you run much will it.

    0.03 ram and it freaked out.
    Robert Warren
    Purple Penguin
    http://www.purplepenguin.us
    --==Hosting since 1998==--
      0 Not allowed!

  10. #10
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    11,687
    Yeah, forgot about that one. That will most definitely cause that problem from time to time.
    WHMCS Guru - WHMCS addons, management, support and more.
    WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
    Always looking for Linux, WHMCS, Support Desk work. PM for details
      0 Not allowed!

  11. #11
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,294
    Quote Originally Posted by princeshoko View Post
    got it, turned off Shell Fork Bomb Protection in WHM. Man wont let you run much will it.

    0.03 ram and it freaked out.
    Yeah the file descriptors is like 100 for a user with fork bomb protection on.
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
      0 Not allowed!

Posting Permissions

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