Welcome, Guest. Please login or register.

Author Topic: /bin/sh: cannot fork - try again  (Read 14217 times)

lschafroth

  • Guest
/bin/sh: cannot fork - try again
« on: February 02, 2010, 03:14:17 PM »
this is what I get when I check the LAST RUN in the Files section.  SSH in and reboot and it works for about a few hours then does it again.

How do I fix this?  It no longer shows NODES and no longer shows Population. So far it's getting worse and non functional.  It worked great at first.

Lannie

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2691
    • View Profile
    • NeDi
Re: /bin/sh: cannot fork - try again
« Reply #1 on: February 02, 2010, 06:18:17 PM »
Hmm, is this on a VM?
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

lschafroth

  • Guest
Re: /bin/sh: cannot fork - try again
« Reply #2 on: February 03, 2010, 03:27:02 PM »
No this is a NEDIO45 iso.  It is installed on a dedicated box.  It worked awesome for about a week then started doing the error above.

Lannie
« Last Edit: February 03, 2010, 03:33:10 PM by lschafroth »

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2691
    • View Profile
    • NeDi
Re: /bin/sh: cannot fork - try again
« Reply #3 on: February 04, 2010, 06:16:03 PM »
Can you provide more information? Anything else written in the lastrun? How much diskspace is left? (df -k)
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

lschafroth

  • Guest
Re: /bin/sh: cannot fork - try again
« Reply #4 on: February 08, 2010, 10:10:43 PM »
Can you provide more information? Anything else written in the lastrun? How much diskspace is left? (df -k)

Last run only shows that line.  Over 150Gb of free space.

Lannie

lschafroth

  • Guest
Re: /bin/sh: cannot fork - try again
« Reply #5 on: February 09, 2010, 11:12:15 PM »
How do I display the amount of free space in a SSH session to the box?

Lannie

PS are you thinking way too much RDD data and the drive filled?

lschafroth

  • Guest
Re: /bin/sh: cannot fork - try again
« Reply #6 on: February 12, 2010, 06:07:15 PM »
I googled it since there was no response.

Here are the results:
nedi:~#df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/wd0a     1005M   31.9M    923M     3%    /
/dev/wd0k     85.2G    2.0K   80.9G     0%    /home
/dev/wd0d      3.9G    6.0K    3.7G     0%    /tmp
/dev/wd0f      2.0G    130M    1.7G     7%    /usr
/dev/wd0g     1005M    2.0K    955M     0%    /usr/X11R6
/dev/wd0h      5.9G   54.7M    5.6G     1%    /usr/local
/dev/wd0j      2.0G    2.0K    1.9G     0%    /usr/obj
/dev/wd0i      2.0G    2.0K    1.9G     0%    /usr/src
/dev/wd0e      5.9G    306M    5.3G     5%    /var

lschafroth

  • Guest
Re: /bin/sh: cannot fork - try again
« Reply #7 on: February 12, 2010, 09:41:53 PM »
I blew away the system and started over.  Working now.

Lannie

lschafroth

  • Guest
Re: /bin/sh: cannot fork - try again
« Reply #8 on: February 15, 2010, 10:52:00 PM »
I thought it was working but only when I manually do a discovery via the gui.  I have uncommented the sections in the cron and it never runs.

Lannie

lschafroth

  • Guest
Re: /bin/sh: cannot fork - try again
« Reply #9 on: February 15, 2010, 11:08:33 PM »
I found a post that mentioned hitting the Red X in Services to reset the discovery,

I did that and also discovered that by removing the # in the crontab it does not work. If I copy the line without the # at the beginning and paste it at the end of the samples it works. 

I noticed it has not been finding nodes (population).  Will that show up eventually?

Here is my cron:
*/5 * * * *   /var/nedi/nedi.pl -p > /tmp/nedi.lastrun 2>&1

Lannie

lschafroth

  • Guest
Re: /bin/sh: cannot fork - try again
« Reply #10 on: February 16, 2010, 08:39:53 PM »
It ran fine for two days after a fresh install and now I get:

/bin/sh: cannot fork - try again

AGAIN!!

Lannie

lschafroth

  • Guest
Re: /bin/sh: cannot fork - try again
« Reply #11 on: February 17, 2010, 03:37:19 PM »
I did the red X reset and its running again.  Darn, maybe I should have done that the first time instead of reinstalling! :)

Lannie

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2691
    • View Profile
    • NeDi
Re: /bin/sh: cannot fork - try again
« Reply #12 on: February 20, 2010, 02:54:26 PM »
Still, strange. Let me know if it happens again...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

oxo

  • Guest
Re: /bin/sh: cannot fork - try again
« Reply #13 on: February 23, 2010, 02:56:57 PM »
What physical memory and swap is there ?