1829380 Members
4546 Online
109991 Solutions
New Discussion

socket not enough space

 
SOLVED
Go to solution
Printaporn_1
Esteemed Contributor

socket not enough space

when machine boot up , what ever command that relate to network like ping report error
socket : not enough space.
also syslog have this message ,
reboot is not help.
what is cause and how to fix.

thanks in advance,
enjoy any little thing in my life
11 REPLIES 11
harry d brown jr
Honored Contributor

Re: socket not enough space

Sounds like you have a full filesystem?

live free or die
harry
Live Free or Die
Printaporn_1
Esteemed Contributor

Re: socket not enough space

thanks , but first I also think file system is full , but actually it's not
/var is only 56 %
enjoy any little thing in my life
Michael Tully
Honored Contributor

Re: socket not enough space

Hi,

How is your swap space ?
Run 'swapinfo -t'

-Michael
Anyone for a Mutiny ?
Printaporn_1
Esteemed Contributor

Re: socket not enough space

Hi Michael,

I cannot paste my swapinfo -t output because
no network to server from my web browser.
but I don't run out of swap the total PCT USED is 1%
actually it's error 12 ENOMEM but
if not swap problem whatelse can be the cause.
or you really need swapinfo -t ?
enjoy any little thing in my life
Michael Tully
Honored Contributor

Re: socket not enough space

Hi,

The -t option in swapinfo gives a total line,
which is the difference between -t and no option
at all. Have a look at this link.

http://us-support2.external.hp.com/cki/bin/doc.pl/sid=e1f3c819191a89dd0d/screen=ckiDisplayDocument?docId=200000047272111
-Michael
Anyone for a Mutiny ?
Animesh Chakraborty
Honored Contributor

Re: socket not enough space

Hi,
Here is a discussion on socket overflow.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x628fabe92dabd5118ff10090279cd0f9,00.html

Animesh
Did you take a backup?
harry d brown jr
Honored Contributor

Re: socket not enough space

Check your network cable, and card. Can another server on the same net ping the server with the problems? Also, you said var was only 56%, are any others at 99 or 100%?

live free or die
harry
Live Free or Die
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: socket not enough space

Hi:

ENOMEM can be caused by maxdsiz being setting too small but this sounds more like not enough swapspace or swapmem_on needing to be enabled.
If it ain't broke, I can fix that.
harry d brown jr
Honored Contributor

Re: socket not enough space

From hp manuals:

ENOMEM
Not enough space. During a system call such as exec(), brk(), fork(), or sbrk(), a program asks for more space than the system is able to supply. This may not be a temporary condition; the maximum space size is a system parameter. The error can also occur if the arrangement of text, data, and stack segments requires too many segmentation registers, or if there is not enough swap space during a fork().

live free or die
harry
Live Free or Die
Roger Baptiste
Honored Contributor

Re: socket not enough space

Hi,

Is it only the ping command which is not
working ? Or all the network related commands
- telnet, ftp ... ?

Check the permissions and ownership setting
of the commands.
#ll `which ping`
#ll `which telnet`

Also, look at the network settings through
#netstat -nr
#netstat -i

HTH
raj
Take it easy.
Printaporn_1
Esteemed Contributor

Re: socket not enough space

thanks everybody , problem solved by increase maxdsiz and maxdsiz_64bit.

I wonder this cause actually no major configuration /application changed and I have another identical server with same kernel value and more application running and it working fine.
anyway hope this is correct fix.
enjoy any little thing in my life