Operating System - HP-UX
1836579 Members
1705 Online
110102 Solutions
New Discussion

Re: accept error: no buffer space left

 
Bhoyet Orillo
Occasional Contributor

accept error: no buffer space left

can anybody out there help me with my socket
problem...my program keeps having an error
on the accept() part of the socket connection after running it for a while...and the error is "no more buffer space left"...

thanks,
4 REPLIES 4
Vincenzo Restuccia
Honored Contributor

Re: accept error: no buffer space left

Try bufpages defines the number of 4096-byte memory pages in the file-system buffer cache.

See http://docs.hp.com/hpux/onlinedocs/os/KCparam.BufPages.html
Bhoyet Orillo
Occasional Contributor

Re: accept error: no buffer space left

>Try bufpages defines the number of 4096-byte >memory pages in the file-system buffer cache.

>See >http://docs.hp.com/hpux/onlinedocs/os/KCparam.>BufPages.html

thanks for the quick reply...btw, do you know any specific reason why the buffer space during
"accept()" gets filled up...

thanks,
MANOJ SRIVASTAVA
Honored Contributor

Re: accept error: no buffer space left

Hi Bhoyet

Try two things

1. I assume y have this problem with Oracle , try adding one more listner .

2. Go to the link
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x700aa22d6d27d5118fef0090279cd0f9,00.html
which essentially explains that :
when a new connect request arricves at the local tcp and it is immediately followed by a RESET from the remote system , the server application is awakened twice by the request to perform ( accept ( ) calls ) . Each is returned bu ENOBUFS or HP Error 233. The problem is the acceptin server application should not be awakened twice . This was caused by mishandling the connection id in the TPI messages . The problem is fixed by correctly tracking the connection id between the socket and TCP layers.

Also try loading the following patch PHNE_23456 to get more clues.

Manoj Srivastava
Vincenzo Restuccia
Honored Contributor

Re: accept error: no buffer space left