Not enough space to compile JSP!
Hi,
I've installed WLS 7.0 on a Sun e250 (256MB RAM, 8GB HD). The server runs ok,
console runs, web services run...
But when I try to access the JSP of a given web app, the JSP can't compile. I
get an IO.Exception: Not enough space.
I've turned down the amount of memory being allocated to the JVM - initially it
was ms32 mx200, now it's 32 and 64 respectively. This doesn't cure the problem
however. Also, I've no other memory-hogging processes running.
Surely my box is able enough to 7.0?
Any ideas?
Hi Roy.
I found:
If you receive the following error message received when compiling JSP files on
a UNIX machine:
failed: java.io.IOException: Not enough space
try any or all of the following:
Add more RAM if you have only 256M.
Raise the file descriptor limit, for example:
set rlim_fd_max = 4096
set rlim_fd_cur = 1024
Use the -native flag to use native threads when starting the JVM.
from http://e-docs.bea.com/wls/docs61/notes/issues.html#1029041.
Could you give a try?
Thanks.
Ji Zhang
Developer Relations Engineer
BEA WebLogic Support
"Roy Martin" <[email protected]> wrote:
>
Hi,
I've installed WLS 7.0 on a Sun e250 (256MB RAM, 8GB HD). The server
runs ok,
console runs, web services run...
But when I try to access the JSP of a given web app, the JSP can't compile.
I
get an IO.Exception: Not enough space.
I've turned down the amount of memory being allocated to the JVM - initially
it
was ms32 mx200, now it's 32 and 64 respectively. This doesn't cure the
problem
however. Also, I've no other memory-hogging processes running.
Surely my box is able enough to 7.0?
Any ideas?
Similar Messages
-
Compilation process error : Not enough space
Hi Experts,
I have transported two mapping routines from development system to the Testing system, but when I am trying to activate the mapping routines only one got activated and the other shows the below error
Compilation process error : Not enough space
STACKTRACE:
com.sap.aii.utilxi.swing.framework.FrameworkException: Compilation process error : Not enough space
at com.sap.aii.ib.gui.editor.XiDocument.checkConsistency(XiDocument.java:780)
at com.sap.aii.ib.gui.editor.XiDocument.checkObject(XiDocument.java:799)
at com.sap.aii.ib.gui.editor.CheckObjectCommand.execute(CheckObjectCommand.java:38)
at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)
at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)
at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:833)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Please suggest to resolve the issue.
Thank you,
MKGoto XI server machine and check the drive spaces. U may also use DB2 transaction. Ur BASIS may help u with this
Regards,
Prateek -
Java.io.IOException: Not enough space - Weblogic 8.1 on Solaris 8
Hi,
We get "java.io.Exception: Not enough space" sometimes when trying to access
JSPs hosted on Weblogic 8.1 on Solaris 8. It looks like a problem because of
increased swap space usage. What should we do to get rid of this issue
Compilation of '.......java' failed:_____
(Failed to parse compiler output. See full output below). ____
Full compiler error(s):
java.io.IOException: Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:491)
at java.lang.Runtime.exec(Runtime.java:457)
at weblogic.utils.Executable.exec(Executable.java:227)
at weblogic.utils.Executable.exec(Executable.java:156)
at weblogic.utils.Executable.exec(Executable.java:142)
at
weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:427)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:321)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:443)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:238)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:188)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Thanks,
Abhijeet DevHello,
I had the same problem and I eradicated it by changing used % of /tmp dir from 97% to 81% by removing unwanted files in /tmp folder.
Try it out......
df -k
Now u will see that ur swap space is not sufficient.Check the corresponding mounting directory.Remove unwanted files from this dir. Restart ur server.Your problem should be solved.Note: Restarting server is not needed but for safe side restart ur server.
In mine case, my dir was /tmp.I removed all unwanted files and then the problem was solved.
Thanks
Chandra -
Java.io.IOException: Not enough space
Hi,
I get the following error after running Weblogic 4.5.1 on Solaris 2.7 (1GB
Ram). for a couple of days.
At first I thought it was running out of File Descriptors. I increased them
to 4096 from 1024.
But the problem still exists. I am unable to find any help in the
documentation.
Any help on this is greatly appreciated.
Thanks,
Sai
*******************Start of Error MEssage****************************
Tue Jun 20 10:09:50 CDT 2000:<I> <ServletContext-Servlets>
weblogic.servlet.JSPServlet: Generated java file: /space/weblogic/s
hop_server_com/jspclasses/jsp_servlet/_big/_DisplayItemList.java
Tue Jun 20 10:09:50 CDT 2000:<E> <ServletContext-Servlets>
weblogic.servlet.JSPServlet: Compilation of /space/weblogic/shop_
server_com/jspclasses/jsp_servlet/_big/_DisplayItemList.java failed:
java.io.IOException: Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.forkAndExec(Compiled Code)
at java.lang.UNIXProcess.<init>(Compiled Code)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.execInternal(Compiled Code)
at java.lang.Runtime.exec(Compiled Code)
at java.lang.Runtime.exec(Compiled Code)
at weblogic.utils.Executable.exec(Compiled Code)
at weblogic.utils.Executable.exec(Compiled Code)
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Compiled
Code)
at weblogic.utils.compiler.CompilerInvoker.compile(Compiled Code)
at weblogic.servlet.JSPServlet.compilePage(Compiled Code)
at weblogic.servlet.JSPServlet.getStub(Compiled Code)
at weblogic.servlet.JSPServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
************************End of Error Message*****************I had the same problem before. Increase the swap space, if it is too small, increase it.
Vince
"Michael Reiche" <[email protected]> wrote:
>
This is the operating system running out of swap space. Recompiling JSP in 4.5.1 wastes a lot of memory.
If you run /usr/proc/bin/pmap -x <pid> you will likely see that the 'heap' segment is very large.
Mike
"Bengt Bäverman" <[email protected]> wrote:
I have also seen this, missleading, message.
I believe that we decreased our heap size from above 1GB to just below. I
remember looking at the Java code for java.io and I could not find any
string with that wording, so it must come from the operating system.
Bengt Baverman
[email protected]
"Vinod Shah" <[email protected]> skrev i meddelandet
news:[email protected]...
I have seen this with WL 4.5.1 and Solaris 2.6. Make sure you
are using the -native flag to use native threads when starting
the JVM. In my case this solved the problem. The
"java.io.IOException: Not enough space" message
fooled me too.
Vinod Shah
"Srikant Subramaniam" <[email protected]> wrote in message
news:[email protected]...
Here's why I think you're running out of disk space:
weblogic.servlet.JSPServlet: Compilation of
/space/weblogic/shop_server_com/jspclasses/jsp_servlet/_big/_DisplayItemList
.java
failed:
java.io.IOException: Not enough space
saiprasadp wrote:
Hi,
Definitely not. There is more than 13 Gig left (unused) on the
partition
where weblogic is installed and more than
4 Gig in /tmp.
Sai
Srikant Subramaniam <[email protected]> wrote in message
news:[email protected]...
Could you be running out of disk space?
Srikant.
saiprasadp wrote:
Hi,
I get the following error after running Weblogic 4.5.1 on Solaris
2.7
(1GB
Ram). for a couple of days.
At first I thought it was running out of File Descriptors. I
increased
them
to 4096 from 1024.
But the problem still exists. I am unable to find any help in the
documentation.
Any help on this is greatly appreciated.
Thanks,
Sai
*******************Start of Error
MEssage****************************
Tue Jun 20 10:09:50 CDT 2000:<I> <ServletContext-Servlets>
weblogic.servlet.JSPServlet: Generated java file:
/space/weblogic/s
hop_server_com/jspclasses/jsp_servlet/_big/_DisplayItemList.java
Tue Jun 20 10:09:50 CDT 2000:<E> <ServletContext-Servlets>
weblogic.servlet.JSPServlet: Compilation of /space/weblogic/shop_
server_com/jspclasses/jsp_servlet/_big/_DisplayItemList.javafailed:
java.io.IOException: Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.forkAndExec(Compiled Code)
at java.lang.UNIXProcess.<init>(Compiled Code)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.execInternal(Compiled Code)
at java.lang.Runtime.exec(Compiled Code)
at java.lang.Runtime.exec(Compiled Code)
at weblogic.utils.Executable.exec(Compiled Code)
at weblogic.utils.Executable.exec(Compiled Code)
atweblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Compiled
Code)
at
weblogic.utils.compiler.CompilerInvoker.compile(Compiled
Code)
at weblogic.servlet.JSPServlet.compilePage(Compiled Code)
at weblogic.servlet.JSPServlet.getStub(Compiled Code)
at weblogic.servlet.JSPServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
Code)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled
Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled
Code)
at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
************************End of Error Message*****************--
Srikant, [email protected], http://www.weblogic.com/, etc. -
Running out of space while compiling JSPs
Using WL7.0 on JDK1.3.1_06 on Solaris 8 we've run into an exception
java.io.IOException: Not enough space(see below for full stack trace)
while compiling JSPs. The problem is that we are running out of RAM
because our WL7 process is quite large and when it tries to compile a
JSP it forks itself which creates another large process. On our test
machines since there might be several running instances of WL this can
lead to the problem below. The natural fix for this would be to (1)
precompile all the JSPS, (2) increase the RAM on the machine(s) in
question, or (3) somehow force weblogic not to fork when doing page
compilations.
(1) In production we precompile our pages by running the weblogic.jspc
class using arguments like -k -compileAll -depend -webapp $BRAND -d
$DEST.
Unfortunately this doesn't compile all of the pages probably because
it doesn't execute cleanly due to the fact that we have some includes
that aren't proper stand-alone JSPS (I don't know how to fix this
other than changing all of our includes to dynamic includes which is
undesirable at runtime). Any ideas here?
(2) increasing the RAM isn't practical for all places where this
problem occurs, in some cases we have maxed out the RAM on the
machines we have.
(3) Does anyone know if it is possible to tell WL not to fork when
doing a JSP page compilation?
Full compiler error(s):
java.io.IOException: Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:546)
at java.lang.Runtime.exec(Runtime.java:472)
at java.lang.Runtime.exec(Runtime.java:438)
at weblogic.utils.Executable.exec(Executable.java:208)
at weblogic.utils.Executable.exec(Executable.java:133)
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:545)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:406)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:206)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:160)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:447)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:287)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:376)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Thanks.
Steven
p.s. I did some searching on the forums before I posted this and was
surprised that most of the posts on this subject were a) very old and
b) didn't come to the conclusion that it was RAM space that the
exception is referring to.As far as I remember, this error refers to the lack of swap space to
fork the new process.
In theory, you can specify compilerclass in weblogic.xml :
weblogic-web-app
jsp-descriptor
param-name compilerclass
param-value compilerclassname
to compile in-process, but, for some reason, it doesn't work in 7.0
(it did in 6.1 - probably a bug or something). When JSPServlet initializes
in 7.0 it says:
... *.jsp: param compileCommand initialized to: compilerclassname>
and forks javac anyway.
Steven Samorodin <[email protected]> wrote:
Using WL7.0 on JDK1.3.1_06 on Solaris 8 we've run into an exception
java.io.IOException: Not enough space(see below for full stack trace)
while compiling JSPs. The problem is that we are running out of RAM
because our WL7 process is quite large and when it tries to compile a
JSP it forks itself which creates another large process. On our test
machines since there might be several running instances of WL this can
lead to the problem below. The natural fix for this would be to (1)
precompile all the JSPS, (2) increase the RAM on the machine(s) in
question, or (3) somehow force weblogic not to fork when doing page
compilations.
(1) In production we precompile our pages by running the weblogic.jspc
class using arguments like -k -compileAll -depend -webapp $BRAND -d
$DEST.
Unfortunately this doesn't compile all of the pages probably because
it doesn't execute cleanly due to the fact that we have some includes
that aren't proper stand-alone JSPS (I don't know how to fix this
other than changing all of our includes to dynamic includes which is
undesirable at runtime). Any ideas here?
(2) increasing the RAM isn't practical for all places where this
problem occurs, in some cases we have maxed out the RAM on the
machines we have.
(3) Does anyone know if it is possible to tell WL not to fork when
doing a JSP page compilation?
Full compiler error(s):
java.io.IOException: Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:546)
at java.lang.Runtime.exec(Runtime.java:472)
at java.lang.Runtime.exec(Runtime.java:438)
at weblogic.utils.Executable.exec(Executable.java:208)
at weblogic.utils.Executable.exec(Executable.java:133)
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:545)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:406)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:206)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:160)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:447)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:287)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:376)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Thanks.
Steven
p.s. I did some searching on the forums before I posted this and was
surprised that most of the posts on this subject were a) very old and
b) didn't come to the conclusion that it was RAM space that the
exception is referring to.--
Dimitri -
Getting Error "Not Enough Space" while deploying Java Webservice in AS
Hello,
I am trying to deploy a java web-service using OAS enterprise manager but getting an error saying "Not Enough Space". Below are the logs.
[Jul 21, 2010 12:06:17 PM] Application Deployer for MathAppl STARTS.
[Jul 21, 2010 12:06:35 PM] Copy the archive to /u02/oracle/product/install/SOAHome1/j2ee/oc4j_soa/applications/MathAppl.ear
[Jul 21, 2010 12:06:35 PM] Initialize /u02/oracle/product/install/SOAHome1/j2ee/oc4j_soa/applications/MathAppl.ear begins...
[Jul 21, 2010 12:06:35 PM] Unpacking MathAppl.ear
[Jul 21, 2010 12:06:35 PM] Done unpacking MathAppl.ear
[Jul 21, 2010 12:06:35 PM] Unpacking WebServices.war
[Jul 21, 2010 12:06:35 PM] Done unpacking WebServices.war
[Jul 21, 2010 12:06:35 PM] Initialize /u02/oracle/product/install/SOAHome1/j2ee/oc4j_soa/applications/MathAppl.ear ends...
[Jul 21, 2010 12:06:35 PM] Starting application : MathAppl
[Jul 21, 2010 12:06:35 PM] Initializing ClassLoader(s)
[Jul 21, 2010 12:06:35 PM] Initializing EJB container
[Jul 21, 2010 12:06:35 PM] Loading connector(s)
[Jul 21, 2010 12:06:35 PM] Starting up resource adapters
[Jul 21, 2010 12:06:35 PM] Initializing EJB sessions
[Jul 21, 2010 12:06:35 PM] Committing ClassLoader(s)
[Jul 21, 2010 12:06:35 PM] Initialize WebServices begins...
[Jul 21, 2010 12:06:35 PM] Initialize WebServices ends...
[Jul 21, 2010 12:06:35 PM] Started application : MathAppl
[Jul 21, 2010 12:06:35 PM] Binding web application(s) to site default-web-site begins...
[Jul 21, 2010 12:06:35 PM] Binding WebServices web-module for application MathAppl to site default-web-site under context root MathApple
[Jul 21, 2010 12:06:37 PM] Operation failed with error: Error compiling :/u02/oracle/product/install/SOAHome1/j2ee/oc4j_soa/applications/MathAppl/WebServices: Not enough space
When i checked the application server disk utilization, there is enough space. Below is the output.
bash-3.00$ df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 15G 3.5G 11G 25% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 76M 960K 75M 2% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
15G 3.5G 11G 25% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
swap 286M 212M 75M 74% /tmp
swap 142M 67M 75M 48% /var/run
/dev/dsk/c1t0d0s3 48G 17G 30G 36% /u01
/dev/dsk/c1t1d0s0 67G 6.0G 61G 9% /u02
Please help.
-MjDear,
As suggested, i have checked for the JVM configuration for low heap size but i found the value of MaxPermSize to be 256M. So, i guess this is not causing the "Not Enough Space" issue.
Please let me know where else do I need to check as i completely clueless about this problem.
Thanks for your inputs.
-Mj -
Kstat_lookup() failing: "Not enough space"
Hi,
I have a peculiar problem. I'm looking up CPU statistics using kstat(), and I'm getting a failure in kstat_lookup() on some machines.
Here is the relevant code:
kstat_ctl_t* pKstatCtl;
kstat_t* pCpuStats;
if ((pKstatCtl = kstat_open()) == NULL)
// Handle error...
if ((pCpuStats = kstat_lookup(pKstatCtl, NULL, -1, "cpu_stat0")) == NULL)
// Handle error...
... // kstat_read(), etc.
I am compiling this program on Solaris 2.6, and it works fine on every 2.6 machine I've used. It is interesting to note that, when I run "truss" on the program and watch the results of iostat(KSTAT_IOC_READ), it returns a number in the range of 600-800. I think this is the number of bytes read.
When I run this program on a Solaris 2.8 machine (without recompiling it there, for reasons which are too complicated to explain here), it works most of the time. However, one of these 2.8 machines is having problems. The kstat_lookup() call fails, and strerror(errno) returns "Not enough space". Note that it's not the kstat_read() that's out of space, it's kstat_lookup(). I tried running the program on another 2.8 machine in the same cluster, and it worked. However, truss told me that ioctl(KSTAT_IOC_READ) was returning 264752.
What's going on here? Why is kstat_lookup() failing with "Not enough space"? Why does this work on one machine and not another?
Thanks,
ChrisJason - the discs may be advertised as having 4.7GB of space, but in fact this is a bit of an urban legend - it all depends on how you count the bits, in groups of 1000 or in groups of 1024. Disc manufacturers like to count in 1000's, which gives a larger capacity, whereas your computer will count in groups of 1024...
If you allow 4.37GB per disc, you'll be much nearer the mark. -
Help:Not enough space due to too many probes
Hi,
I have wroten a D script named application_call_trace.d as following:
#! /usr/sbin/dtrace -s
#pragma D option dynvarsize=4m
pid$1:::entry
pid$1:::return
}When using it to trace a process which pid is 1489, i get a error:
bash-2.05b# ./application_call_trace.d 1489
dtrace: failed to compile script ./fault_agent_times.d: line 5: failed to create probe in process 1489: Not enough space
I know it is due to too many probes, but i need these probes, what can i do then?Hi,
I have wroten a D script named
med application_call_trace.d as following:
#! /usr/sbin/dtrace -s
#pragma D option dynvarsize=4m
pid$1:::entry
pid$1:::return
}When using it to trace a process which pid is
is 1489, i get a error:
bash-2.05b# ./application_call_trace.d 1489
dtrace: failed to compile script
./fault_agent_times.d: line 5: failed to create
probe in process 1489: Not enough space
I know it is due to too many probes, but i need
eed these probes, what can i do then?You need to tune up the number of probes; see /kernel/drv/fasttrap.conf, and either reboot or run "update_drv fasttrap" after making the changes. The default is 250,000 -- I recommend changing it to 1,000,000. (Indeed, we're considering changing the default to 1,000,000 anyway because so many are running into this limit.)
- Bryan
Bryan Cantrill, Solaris Kernel Development. http://blogs.sun.com/bmc -
Can't build packages not enough space [Solved]
I'm trying to compile latest -ck kernel but after it gets built I get an error saying: there is not enough space to build package.
I remember that last time I was compiling the kernel, I've set-up so that /tmp is loaded in memory or something like that..
And now when I try to compile the kernel, even though I choose menuconfig I still don't get in ti, to turn it off or even check what it was.
My /tmp just have 1,3GB free space left, so that could be it, but I doubt it...
Last edited by Primoz (2010-06-03 11:46:33)fukawi2 wrote:
Copy paste the actual error message and surrounding test (eg, the output from makepkg) would be helpful.
EDIT: Spelling
Yeah I tought so... Sorry for not including it in my OP, but I've just done it then and forgot to copy-paste and didn't want to do it again.
/bin/sh: line 0: echo: write error: No space left on device
make[1]: *** [crypto/lrw.ko] Error 1
make: *** [modules] Error 2
==> ERROR: Build Failed.
Aborting...
ERROR: makepkg exited with an error (512)
WARNING: expected package does not exist: /tmp/bauerbill/build/aur/kernel26-ck/kernel26-ck-2.6.34-1-x86_64.pkg.tar.xz
--> scanning /tmp/bauerbill/build/aur/kernel26-ck for matching packages...
ERROR: no package found: /tmp/bauerbill/build/aur/kernel26-ck/kernel26-ck-2.6.34-1-x86_64.pkg.tar.xz
:: Abort? [Y/n]
aborting...
That's what happens, but I think it is problem with root, as when this happens there's only 9,7MB free space left.
I guess I have either remove unneeded packages or make root bigger... -
Java.io.IOException: Not enough space when running external command
Hi All,
I am trying to call gzip utility from my servlet.
The code line is as below :
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec("gzip -f -9 " +fileName);
I got the following error :
java.io.IOException: Not enough space
I even tried to use the actual path of gzip in the code :
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec("/usr/bin/gzip -f -9 "
+fileName);
But still I got the same error.
Can anyone tell me what I am missing out.....
Thanks.
Peter Vennel
We just ran into this problem yesterday. For us, it seemed to be a disk
space problem. If you run "df -k" you'll see how full your file systems
are. We cleared out some of the /var/log (capacity was 80%) files reducing
capacity to 50% and the problem went away, for now.
Jim Clark
Idea Integration
http://www.idea.com
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
> Hi Pete,
> It seems to me that your JVM is just running out of space. The JVM has
default
> limits on the amount of memory (java or native) that it will take from the
OS,
> and you're hitting one of those limits. How are you starting the WebLogic
> server? If it's by the startWebLogic script, or other such, try adding, or
altering
> the arguments to the invocation of java, to allow more memory.
>
> Joe Weinstein at BEA, the home of Weblogic
>
> Peter Vennel wrote:
>
> > This is the exception I got at the server side. Does anyone know what
this
> > mean ....
> >
> > java.io.IOException: Not enough space
> > at java.lang.UNIXProcess.<init>(Compiled Code)
> > at java.lang.Runtime.exec(Compiled Code)
> > at java.lang.Runtime.exec(Compiled Code)
> > at JSOliDocument.service(Compiled Code)
> > at javax.servlet.http.HttpServlet.service(Compiled Code)
> > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
Code)
> > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
> > Code)
> > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
> > Code)
> > at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
> > at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
> > at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
> >
> > Peter Vennel <[email protected]> wrote in message
> > news:[email protected]...
> > > Hi All,
> > >
> > > I am trying to call gzip utility from my servlet.
> > >
> > > The code line is as below :
> > >
> > > Runtime runtime = Runtime.getRuntime();
> > > Process process = runtime.exec("gzip -f -9 " +fileName);
> > >
> > > I got the following error :
> > >
> > > java.io.IOException: Not enough space
> > >
> > > I even tried to use the actual path of gzip in the code :
> > >
> > > Runtime runtime = Runtime.getRuntime();
> > > Process process = runtime.exec("/usr/bin/gzip -f -9 "
> > > +fileName);
> > >
> > > But still I got the same error.
> > >
> > > Can anyone tell me what I am missing out.....
> > >
> > >
> > > Thanks.
> > >
> > >
> > > Peter Vennel
> > >
> > >
> > >
>
> --
>
> PS: Folks: BEA WebLogic is in S.F., and now has some entry-level positions
for
> people who want to work with Java and E-Commerce infrastructure products.
Send
> resumes to [email protected]
> --------------------------------------------------------------------------
> The Weblogic Application Server from BEA
> JavaWorld Editor's Choice Award: Best Web Application Server
> Java Developer's Journal Editor's Choice Award: Best Web Application
Server
> Crossroads A-List Award: Rapid Application Development Tools for Java
> Intelligent Enterprise RealWare: Best Application Using a Component
Architecture
> http://weblogic.beasys.com/press/awards/index.htm
>
>
-
Trying to build a debug version of our code using Solaris 10 and SunStudio 12, and we get this error:
ld: fatal: file /dev/zero: mmap anon failed: Not enough space
Any idea?
The ld process grows to ~4GB then dies.
The compile server has plenty of memory and swap available.
Any idea? Our program is getting quite large, but I am sure there are larger ones out there.The only suggestion I have is to switch to stabs debug format (-xdebugformat=stabs compiler option) and don't specify -xs so that most of debug info is stored in .o files. Maybe it'll save some linker address space. Other than that, try asking on linker forum:
http://www.opensolaris.org/jive/forum.jspa?forumID=63
I know that it's a hot topic and you will probably get an answer as soon as someone from linker team take a look. -
My Lacie External backed up on Time Machine after the first back up but now says there's not enough room. I thought TM deleted old back ups to save new versions. What am I doing wrong. This happens to me constantly. Every single external hard drive I've purchased for the MacBook Pro (5 of them) has not worked either initially or at the second back up. It either isn't formatted properly so I have to go to Genius bar to help me set up for the first back up, or after the first back up, it says there's not enough space and I have to go back to Genius Bar. Is there a way I can fix this on my own?
I just purchased 2 external hardrives. a LaCie Minimus and a G Drive. Each 1 TB. The guy at Apple told me that would provide 2 good TM backups for me. My internal HD has 750 GB capacity, of which I'm using 700 GB. Perhaps the ratio is not great enough. I do wish they would have told me this before I purchased the two Bummmmer! I even had them format and get the first back-ups going because of issues I've had in the past. I also just bought a 750 GB for photos.
So, I won't be able to buy another bigger external since I've just purchased 3. Ugh. Well, I'll just exclude some files and divide things up. Eventually, I just want my 20,000 iphotos on one of the 1TB externals, and a TM back-up on another so that iphoto will function once more. It really hates how many photos I have and is brutally punishing me for it.I seriously need to do some housecleaning!
Thanks for the advice. Just moved from US to Australia last week and was hoping to upload a few photos and the domino effect has lead me to this. Just went to Genius Bar in Perth today and they told me how to reformat drive to transfer iphoto library over, but I got stuck at trying to back-up my TM. -
I changed my LCD last day and now i noticed all my pictures on my phone are gone. I tried to restore the back that I got yesterday but it wont let me because its telling me there is not enough space on my phone!!! That's wierd because I didn't download any app or anything else since my last backup and on the other hand about 3000 pictures are gone, how come there is not enough space left! I also check my usage on my phone and it shows that i have about 7.0 GB pictures!!! BUT my photos is empty! I want my picture back on my phone any solution anyone?
Thanks for your reply!
I just called the guy who changed my LCD and asked him what happend, he said there were no pictures on your phone when you gave it to me! i know he is lying tho!
My apple warranty is over and I have to pay them to get some help over the phone! -
I just purchased a new iphone 4S and I'm trying to loan some music from itunes. I keep getting a message that says not enough space on my phone. I checked my phone and I have 5.1G available. I deselected all the songs on my itunes to try and get it to sync and I keep getting the same message. Any tips?
Hey csumner1,
Thanks for the question. I understand you are receiving a "Not enough free space" alert when attempting to sync your new iPhone 4s. The following article may help to resolve your issue:
iOS: "Not enough free space" alert when trying to sync
http://support.apple.com/kb/TS1503
Resolution
Try disconnecting and reconnecting your device, then syncing again to solve this issue.
Orphaned files may remain on your iOS device if it is physically disconnected while syncing music, podcasts, videos, or photos. This can prevent iTunes from syncing the iOS device on subsequent sync sessions. When this happens, the Capacity indicator in iTunes may report a large amount of "Other" disk usage for the iOS device. To resolve this issue:
1. Turn off the music or photo sync option in iTunes for the device.
2. Click Apply to sync the changes to the device.
3. Turn the music and photo sync options for the device on again.
4. Click Apply again to try to sync the device to iTunes.
- If the 'Not enough free space' alert appears, continue to step 5.
5. Turn off the automatic syncing functions for the iOS device. To do this:
- Select the iOS device from the iTunes window and click the Summary tab.
- Deselect "Automatically sync when this device is connected" and select the "Sync only checked songs and videos" checkbox.
- Click Apply to sync the changes to the device.
- Reduce the amount of data that is being synced to the device and resync the device. For example, if syncing your Music library exceeds the memory capacity of the device, choose "Selected playlists" to transfer rather than "All songs and playlists" under the Music tab in iTunes.
If the 'Not enough free space' alert appears, continue to step 6.
6. Restore using iTunes.
Thanks,
Matt M. -
Supposedly there's not enough space
My iPod wont let me download apps because "there's not enough space" but there is
To download and install an app the iPod needs storage available equal to about three times the file download size.
If you sync from your iTunes library less storage available is required.
Does the app/iPod meet this?
Maybe you are looking for
-
How to Print Selection-Screen along with ALV Report output
Hi, I have a requirement wherein i need to also print the Selection Screen of a report when I print the ALV report output. Basically i need to print the ALV output along with selection screen. Could you plz suggest me the way. Regards, Nitin
-
Mirroring option not showing on iPad with apple tv.
At a school site with just two apple tvs. Air play mirroring is not an option when I sign into my apple tv. Just says the name of the apple tv and does not provide mirroring option. The other apple tv in another classroom will allow me to mirror. I
-
Daily/weekly/monthly production reports
Hi Experts, IMy client needs daily/weekly/monthly production reports with graphical representation. I want to know in acase there are any standard reports which will be a work around solution for the above said reports. Thanks
-
Firefox 4 will not let me keep my bookmarks listed on the side bar. I can open them there but once I click somewhere else they go away. On previous Firefox versions I could display my bookmark folders down the left side of my screen and just leave th
-
Mobile homes unreliable and unstable
We are having major problems with Apple's mobile home sync. I hope you can help. I will also contact Apple support. When I hear something useful from them I will get back to this topic and add the info. We have a studio of 20 graphical workstations a