You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Raj Mettai <rm...@broward.edu> on 2002/09/24 21:35:38 UTC

Not enough space Error: on tomcat 4.0.4

I am running tomcat 4.0.4 on solaris8. I am getting Not enough space error after few days of running when I try to compile a jsp page, every thing works fine once I restart the tomcat. 

Is it the heap Issue ?  I am running tomcat with default values....

any thoughts ?


Here is the error from log files.........

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:551)
        at java.lang.Runtime.exec(Runtime.java:418)
        at org.apache.catalina.servlets.CGIServlet$CGIRunner.run(CGIServlet.java:1585)
        at org.apache.catalina.servlets.CGIServlet.doGet(CGIServlet.java:635)
        at org.apache.catalina.servlets.CGIServlet.doPost(CGIServlet.java:597)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
        at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
        at java.lang.Thread.run(Thread.java:484)


thanks

-Raj

Re: Not enough space Error: on tomcat 4.0.4

Posted by Kent Perrier <kp...@ev1.net>.
On Tue, Sep 24, 2002 at 03:35:38PM -0400, Raj Mettai wrote:
> I am running tomcat 4.0.4 on solaris8. I am getting Not enough space error after few days of running when I try to compile a jsp page, every thing works fine once I restart the tomcat. 
> 
> Is it the heap Issue ?  I am running tomcat with default values....
> 
> any thoughts ?
> 
> 
> Here is the error from log files.........
> 
> 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:551)
>         at java.lang.Runtime.exec(Runtime.java:418)

Two things I would check are the actual filesystem that the JSP sits on and
your memory usage.  There might not be enough space for the compiled JSP 
on the filesystem or you might have exausted all of your memory (both
physical and paging).  I admit, the last one is a but far fetched as I
bet you would know if your system was paging that much. 

Oh, another thought just came to me, you could also be running out of 
semaphores or thread space.

All of this is, of course, off the hip....

Kent

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>