Operating System - HP-UX
1820890 Members
3911 Online
109628 Solutions
New Discussion юеВ

Caused by: java.io.IOException: Not enough space (errno:12)

 
ambika_1
Frequent Advisor

Caused by: java.io.IOException: Not enough space (errno:12)

Hi,
I am trying to deploy a sample enterprise content management applicataion in the tomcat server, when i start the tomcat server i am getting following error,
... 44 more
Caused by: java.io.IOException: Not enough space (errno:12)
at sun.nio.ch.FileChannelImpl.map0(Native Method)
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:913)


I have tried with the increasing of the following kernal parameters.
shmmax
maxdsiz
maxdsiz_64bit,

I am trying on a IA 11.23 OS.

but there is not change, please can any one help me?

Regards,
Ambika
3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: Caused by: java.io.IOException: Not enough space (errno:12)

What did you increase them to?
Also, what does swapinfo -tam show around the time of the abort?
ambika_1
Frequent Advisor

Re: Caused by: java.io.IOException: Not enough space (errno:12)

Hi,
thanks for your quick response. I have increased all the above values to the max limit and enough space is there in the machine.

#swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8388608 68 8388540 0% 0 - 1 /dev/vg00/lvol2
reserve - 536744 -536744
memory 4174360 1016220 3158140 24%

#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 132186112 39305200 92155328 30% /
/dev/vg00/lvol1 1835008 87504 1733952 5% /stand
/dev/vg01/lvol4 524288 422352 101936 81% /vg01_lvol4
/dev/vg01/lvol3 22413312 22061400 351912 98% /vg01_lvol3

JDK 1.5.0.11 is used

Regards,
Ambika
Dennis Handly
Acclaimed Contributor

Re: Caused by: java.io.IOException: Not enough space (errno:12)

>I have increased all the above values to the max limit

To 4 Gb for maxdsiz and larger for maxdsiz_64bit?

>#swapinfo

(I asked for swapinfo -tam to make it easy to decode by looking at the total line.)
It seems like enough.

>JDK 1.5.0.11 is used

It appears you will have to talk to the Response Center. Do you have any memory tuning options on your java line? Do you have all of the required java patches?