[Anthill-pro] "Not enough space" error when executing a build

emerson cargnin echofloripa.yell at gmail.com
Tue Jul 8 09:46:12 CDT 2008


Aparently the agent has only 256 now. A while ago I reported that the
memory settings were not preserved when updating, so I think we lost
the memory configuration during the upgrades. I see now they are
copied ("BEGIN INSTALL MODIFICATIONS") through.

Also, it would be great if you could set the memory settings on the
agents from the server. It's a management nightmare having to go to 50
servers to update the start script.

regards
emerson

On 08/07/2008, Russ Francis <rpf at urbancode.com> wrote:
> Emerson,
>
> You are right it is more likely happening on the Agent, but the root
> cause is the same, when
> forking the process it will need ~ 2x the memory as the single
> instance takes up for a brief time
> if memory is tight on the Agent or possibly Server then I would not be
> suprised to see this
> exception.
>
> How much memory/swap is available on the Agent/Server where this is failing?
>
> Kind Regards,
> Russ Francis
>
> On Tue, Jul 8, 2008 at 10:27 AM, emerson cargnin
> <echofloripa.yell at gmail.com> wrote:
> > So you think the memory problem is on the server?
> >
> > regards
> > emerson
> >
> >
> > On 08/07/2008, Russ Francis <rpf at urbancode.com> wrote:
> >> Emerson,
> >>
> >> This is usually caused by insufficient memory or swap space.  How much
> >> memory and swap space do you have on the anthill server and how much
> >> is the anthill server process taking up?
> >>
> >> Kind Regards,
> >> Russ Francis
> >>
> >> On Tue, Jul 8, 2008 at 6:31 AM, emerson cargnin
> >> <echofloripa.yell at gmail.com> wrote:
> >> > Hi Guys
> >> >
> >> > I'm getting "Not enough space" errors when I trying to do a deployment
> >> > in one of our boxes.
> >> >
> >> > The df command shows that there is no problem regarding space on that box.
> >> >
> >> > All other boxes are deploying alright.
> >> > I'm running 3.5.1 on a solaris box.
> >> >
> >> > bash-3.00$ df -k
> >> > Filesystem            kbytes    used   avail capacity  Mounted on
> >> > /                    8388608 3709892 4678716    45%    /
> >> > /dev                 8388608 3709892 4678716    45%    /dev
> >> > /export/home         8388608 3709892 4678716    45%    /export/home
> >> > /usr/local           8388608 3709892 4678716    45%    /usr/local
> >> > proc                       0       0       0     0%    /proc
> >> > ctfs                       0       0       0     0%    /system/contract
> >> > mnttab                     0       0       0     0%    /etc/mnttab
> >> > objfs                      0       0       0     0%    /system/object
> >> > swap                  856792     336  856456     1%    /etc/svc/volatile
> >> > fd                         0       0       0     0%    /dev/fd
> >> > swap                  856528      72  856456     1%    /tmp
> >> > swap                  856496      40  856456     1%    /var/run
> >> > sandisk/cracker-z2-fs/resin
> >> >                     8388608 3019956 5368651    37%    /opt/resin
> >> > sandisk/cracker-z2-fs
> >> >                     26214400      24 18875044     1%    /sandisk/cracker-z2-fs
> >> > sandisk/cracker-z2-fs/yell
> >> >                     8388608 4146569 4242038    50%    /yell
> >> > sandisk/cracker-z2-fs/yell-apps
> >> >                     2097152  153496 1943655     8%    /yell-apps
> >> > sandisk/cracker-z2-fs/yell-logs
> >> >                     5242880   19281 5223598     1%    /yell-logs
> >> >
> >> >
> >> > 2008-07-08 11:02:13,355 ERROR com.urbancode.shell.Shell - Not enough space
> >> > java.io.IOException: Not enough space
> >> >        at java.lang.UNIXProcess.forkAndExec(Native Method)
> >> >        at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
> >> >        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> >> >        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> >> >        at java.lang.Runtime.exec(Runtime.java:591)
> >> >        at com.urbancode.shell.Shell.createProcess(Shell.java:56)
> >> >        at com.urbancode.shell.Shell.execute(Shell.java:482)
> >> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> >        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >> >        at java.lang.reflect.Method.invoke(Method.java:585)
> >> >        at bsh.Reflect.invokeMethod(Unknown Source)
> >> >        at bsh.Reflect.invokeObjectMethod(Unknown Source)
> >> >        at bsh.Name.invokeMethod(Unknown Source)
> >> >        at bsh.BSHMethodInvocation.eval(Unknown Source)
> >> >        at bsh.BSHPrimaryExpression.eval(Unknown Source)
> >> >        at bsh.BSHPrimaryExpression.eval(Unknown Source)
> >> >        at bsh.BSHBlock.evalBlock(Unknown Source)
> >> >        at bsh.BSHBlock.eval(Unknown Source)
> >> >        at bsh.BSHBlock.eval(Unknown Source)
> >> >        at bsh.BSHIfStatement.eval(Unknown Source)
> >> >        at bsh.Interpreter.eval(Unknown Source)
> >> >        at bsh.Interpreter.eval(Unknown Source)
> >> >        at bsh.Interpreter.eval(Unknown Source)
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.eval(BeanShellBSFEngine.java:199)
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.exec(BeanShellBSFEngine.java:226)
> >> >        at org.apache.bsf.BSFManager$6.run(BSFManager.java:493)
> >> >        at java.security.AccessController.doPrivileged(Native Method)
> >> >        at org.apache.bsf.BSFManager.exec(BSFManager.java:491)
> >> >        at com.urbancode.command.shell.scripted.ScriptedShellCommand.execute(ScriptedShellCommand.java:58)
> >> >        at com.urbancode.devilfish.services.command.CommandExecutionThread.run(CommandExecutionThread.java:88)
> >> > 2008-07-08 11:02:13,398 ERROR org.apache.bsf.BSFManager - Exception :
> >> > java.security.PrivilegedActionException: org.apache.bsf.BSFException:
> >> > The application script threw an exception:
> >> > com.urbancode.shell.ShellException: java.io.IOException: Not enough
> >> > space BSF info:
> >> > scripts/com.urbancode.drivers.builders.shellscript/shellscript-build.bsh
> >> > at line: 0 column: columnNo
> >> >        at java.security.AccessController.doPrivileged(Native Method)
> >> >        at org.apache.bsf.BSFManager.exec(BSFManager.java:491)
> >> >        at com.urbancode.command.shell.scripted.ScriptedShellCommand.execute(ScriptedShellCommand.java:58)
> >> >        at com.urbancode.devilfish.services.command.CommandExecutionThread.run(CommandExecutionThread.java:88)
> >> > Caused by: org.apache.bsf.BSFException: The application script threw
> >> > an exception: com.urbancode.shell.ShellException: java.io.IOException:
> >> > Not enough space BSF info:
> >> > scripts/com.urbancode.drivers.builders.shellscript/shellscript-build.bsh
> >> > at line: 0 column: columnNo
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.eval(BeanShellBSFEngine.java:209)
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.exec(BeanShellBSFEngine.java:226)
> >> >        at org.apache.bsf.BSFManager$6.run(BSFManager.java:493)
> >> >        ... 4 more
> >> > 2008-07-08 11:02:25,502 ERROR com.urbancode.shell.Shell - Not enough space
> >> > java.io.IOException: Not enough space
> >> >        at java.lang.UNIXProcess.forkAndExec(Native Method)
> >> >        at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
> >> >        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> >> >        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> >> >        at java.lang.Runtime.exec(Runtime.java:591)
> >> >        at com.urbancode.shell.Shell.createProcess(Shell.java:56)
> >> >        at com.urbancode.shell.Shell.execute(Shell.java:482)
> >> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> >        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >> >        at java.lang.reflect.Method.invoke(Method.java:585)
> >> >        at bsh.Reflect.invokeMethod(Unknown Source)
> >> >        at bsh.Reflect.invokeObjectMethod(Unknown Source)
> >> >        at bsh.Name.invokeMethod(Unknown Source)
> >> >        at bsh.BSHMethodInvocation.eval(Unknown Source)
> >> >        at bsh.BSHPrimaryExpression.eval(Unknown Source)
> >> >        at bsh.BSHPrimaryExpression.eval(Unknown Source)
> >> >        at bsh.BSHBlock.evalBlock(Unknown Source)
> >> >        at bsh.BSHBlock.eval(Unknown Source)
> >> >        at bsh.BSHBlock.eval(Unknown Source)
> >> >        at bsh.BSHIfStatement.eval(Unknown Source)
> >> >        at bsh.Interpreter.eval(Unknown Source)
> >> >        at bsh.Interpreter.eval(Unknown Source)
> >> >        at bsh.Interpreter.eval(Unknown Source)
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.eval(BeanShellBSFEngine.java:199)
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.exec(BeanShellBSFEngine.java:226)
> >> >        at org.apache.bsf.BSFManager$6.run(BSFManager.java:493)
> >> >        at java.security.AccessController.doPrivileged(Native Method)
> >> >        at org.apache.bsf.BSFManager.exec(BSFManager.java:491)
> >> >        at com.urbancode.command.shell.scripted.ScriptedShellCommand.execute(ScriptedShellCommand.java:58)
> >> >        at com.urbancode.devilfish.services.command.CommandExecutionThread.run(CommandExecutionThread.java:88)
> >> > 2008-07-08 11:02:25,516 ERROR org.apache.bsf.BSFManager - Exception :
> >> > java.security.PrivilegedActionException: org.apache.bsf.BSFException:
> >> > The application script threw an exception:
> >> > com.urbancode.shell.ShellException: java.io.IOException: Not enough
> >> > space BSF info:
> >> > scripts/com.urbancode.drivers.builders.shellscript/shellscript-build.bsh
> >> > at line: 0 column: columnNo
> >> >        at java.security.AccessController.doPrivileged(Native Method)
> >> >        at org.apache.bsf.BSFManager.exec(BSFManager.java:491)
> >> >        at com.urbancode.command.shell.scripted.ScriptedShellCommand.execute(ScriptedShellCommand.java:58)
> >> >        at com.urbancode.devilfish.services.command.CommandExecutionThread.run(CommandExecutionThread.java:88)
> >> > Caused by: org.apache.bsf.BSFException: The application script threw
> >> > an exception: com.urbancode.shell.ShellException: java.io.IOException:
> >> > Not enough space BSF info:
> >> > scripts/com.urbancode.drivers.builders.shellscript/shellscript-build.bsh
> >> > at line: 0 column: columnNo
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.eval(BeanShellBSFEngine.java:209)
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.exec(BeanShellBSFEngine.java:226)
> >> >        at org.apache.bsf.BSFManager$6.run(BSFManager.java:493)
> >> >        ... 4 more
> >> > 2008-07-08 11:02:40,984 ERROR com.urbancode.shell.Shell - Not enough space
> >> > java.io.IOException: Not enough space
> >> >        at java.lang.UNIXProcess.forkAndExec(Native Method)
> >> >        at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
> >> >        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> >> >        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> >> >        at java.lang.Runtime.exec(Runtime.java:591)
> >> >        at com.urbancode.shell.Shell.createProcess(Shell.java:56)
> >> >        at com.urbancode.shell.Shell.execute(Shell.java:482)
> >> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> >        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >> >        at java.lang.reflect.Method.invoke(Method.java:585)
> >> >        at bsh.Reflect.invokeMethod(Unknown Source)
> >> >        at bsh.Reflect.invokeObjectMethod(Unknown Source)
> >> >        at bsh.Name.invokeMethod(Unknown Source)
> >> >        at bsh.BSHMethodInvocation.eval(Unknown Source)
> >> >        at bsh.BSHPrimaryExpression.eval(Unknown Source)
> >> >        at bsh.BSHPrimaryExpression.eval(Unknown Source)
> >> >        at bsh.BSHBlock.evalBlock(Unknown Source)
> >> >        at bsh.BSHBlock.eval(Unknown Source)
> >> >        at bsh.BSHBlock.eval(Unknown Source)
> >> >        at bsh.BSHIfStatement.eval(Unknown Source)
> >> >        at bsh.Interpreter.eval(Unknown Source)
> >> >        at bsh.Interpreter.eval(Unknown Source)
> >> >        at bsh.Interpreter.eval(Unknown Source)
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.eval(BeanShellBSFEngine.java:199)
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.exec(BeanShellBSFEngine.java:226)
> >> >        at org.apache.bsf.BSFManager$6.run(BSFManager.java:493)
> >> >        at java.security.AccessController.doPrivileged(Native Method)
> >> >        at org.apache.bsf.BSFManager.exec(BSFManager.java:491)
> >> >        at com.urbancode.command.shell.scripted.ScriptedShellCommand.execute(ScriptedShellCommand.java:58)
> >> >        at com.urbancode.devilfish.services.command.CommandExecutionThread.run(CommandExecutionThread.java:88)
> >> > 2008-07-08 11:02:41,002 ERROR org.apache.bsf.BSFManager - Exception :
> >> > java.security.PrivilegedActionException: org.apache.bsf.BSFException:
> >> > The application script threw an exception:
> >> > com.urbancode.shell.ShellException: java.io.IOException: Not enough
> >> > space BSF info:
> >> > scripts/com.urbancode.drivers.builders.shellscript/shellscript-build.bsh
> >> > at line: 0 column: columnNo
> >> >        at java.security.AccessController.doPrivileged(Native Method)
> >> >        at org.apache.bsf.BSFManager.exec(BSFManager.java:491)
> >> >        at com.urbancode.command.shell.scripted.ScriptedShellCommand.execute(ScriptedShellCommand.java:58)
> >> >        at com.urbancode.devilfish.services.command.CommandExecutionThread.run(CommandExecutionThread.java:88)
> >> > Caused by: org.apache.bsf.BSFException: The application script threw
> >> > an exception: com.urbancode.shell.ShellException: java.io.IOException:
> >> > Not enough space BSF info:
> >> > scripts/com.urbancode.drivers.builders.shellscript/shellscript-build.bsh
> >> > at line: 0 column: columnNo
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.eval(BeanShellBSFEngine.java:209)
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.exec(BeanShellBSFEngine.java:226)
> >> >        at org.apache.bsf.BSFManager$6.run(BSFManager.java:493)
> >> >        ... 4 more
> >> > 2008-07-08 11:02:47,631 ERROR com.urbancode.shell.Shell - Not enough space
> >> > java.io.IOException: Not enough space
> >> >        at java.lang.UNIXProcess.forkAndExec(Native Method)
> >> >        at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
> >> >        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> >> >        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> >> >        at java.lang.Runtime.exec(Runtime.java:591)
> >> >        at com.urbancode.shell.Shell.createProcess(Shell.java:56)
> >> >        at com.urbancode.shell.Shell.execute(Shell.java:482)
> >> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> >        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >> >        at java.lang.reflect.Method.invoke(Method.java:585)
> >> >        at bsh.Reflect.invokeMethod(Unknown Source)
> >> >        at bsh.Reflect.invokeObjectMethod(Unknown Source)
> >> >        at bsh.Name.invokeMethod(Unknown Source)
> >> >        at bsh.BSHMethodInvocation.eval(Unknown Source)
> >> >        at bsh.BSHPrimaryExpression.eval(Unknown Source)
> >> >        at bsh.BSHPrimaryExpression.eval(Unknown Source)
> >> >        at bsh.BSHBlock.evalBlock(Unknown Source)
> >> >        at bsh.BSHBlock.eval(Unknown Source)
> >> >        at bsh.BSHBlock.eval(Unknown Source)
> >> >        at bsh.BSHIfStatement.eval(Unknown Source)
> >> >        at bsh.Interpreter.eval(Unknown Source)
> >> >        at bsh.Interpreter.eval(Unknown Source)
> >> >        at bsh.Interpreter.eval(Unknown Source)
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.eval(BeanShellBSFEngine.java:199)
> >> >        at com.urbancode.bsh.BeanShellBSFEngine.exec(BeanShellBSFEngine.java:226)
> >> >        at org.apache.bsf.BSFManager$6.run(BSFManager.java:493)
> >> >        at java.security.AccessController.doPrivileged(Native Method)
> >> >        at org.apache.bsf.BSFManager.exec(BSFManager.java:491)
> >> >        at com.urbancode.command.shell.scripted.ScriptedShellCommand.execute(ScriptedShellCommand.java:58)
> >> >        at com.urbancode.devilfish.services.command.CommandExecutionThread.run(CommandExecutionThread.java:88)
> >> > _______________________________________________
> >> > Anthill-pro mailing list
> >> > Anthill-pro at lists.urbancode.com
> >> > http://lists.urbancode.com/mailman/listinfo/anthill-pro
> >> >
> >> _______________________________________________
> >> Anthill-pro mailing list
> >> Anthill-pro at lists.urbancode.com
> >> http://lists.urbancode.com/mailman/listinfo/anthill-pro
> >>
> > _______________________________________________
> > Anthill-pro mailing list
> > Anthill-pro at lists.urbancode.com
> > http://lists.urbancode.com/mailman/listinfo/anthill-pro
> >
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>


More information about the Anthill-pro mailing list