Operating System - HP-UX
1748185 Members
3805 Online
108759 Solutions
New Discussion юеВ

Re: ftp/tcp: accept: No buffer space available

 
Steve Bear_1
Frequent Advisor

ftp/tcp: accept: No buffer space available

Sometimes ftp and telnet connections to my HPUX server 11.00 generate following messages in the syslog.log

inetd[675]: ftp/tcp: accept: No buffer space available

Any suggestion ?


11 REPLIES 11
Elmar P. Kolkman
Honored Contributor

Re: ftp/tcp: accept: No buffer space available

Sounds like you run out of virtual memory... Are there other processes complaining or crashing on you at the same time you get this message ?
Every problem has at least one solution. Only some solutions are harder to find.
Steve Bear_1
Frequent Advisor

Re: ftp/tcp: accept: No buffer space available

swapinfo details....

TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 3072000 42236 3029764 1% 0 - 1 /dev/vgroot/lvol2
reserve - 1116748 -1116748
memory 1553780 953156 600624 61%
total 4625780 2112140 2513640 46% - 0 -
T G Manikandan
Honored Contributor

Re: ftp/tcp: accept: No buffer space available

check the swap and memory usage on the machine

swapinfo -ta
Zeev Schultz
Honored Contributor

Re: ftp/tcp: accept: No buffer space available

http://archives.neohapsis.com/archives/postfix/2002-02/1952.html

So computers don't think yet. At least not chess computers. - Seymour Cray
Steve Bear_1
Frequent Advisor

Re: ftp/tcp: accept: No buffer space available

Dont see any problem with the swap.
Elmar P. Kolkman
Honored Contributor

Re: ftp/tcp: accept: No buffer space available

True. As long as this is the output at the time of the problem too...

If that is the case, then try to add a buffersize when starting the ftpd by adding a -B option in /etc/inetd.conf for the ftp daemon. Set it to a small value. And when you're add it, also set logging to see if the message is generated immediately or after some time.
Every problem has at least one solution. Only some solutions are harder to find.
Zeev Schultz
Honored Contributor

Re: ftp/tcp: accept: No buffer space available

To clarify (no add. points pls):
This is about accept() TCP procedure.What happens is that when server (ftp in your case) is busy client puts its request in a queue , later client timeouts but when server is free and tries to accept the connection RST bit is sent from the client ( I guess ) ,client buffers are freed from the server and server receives ENOBUFS from its TCP and complains.Ie, there was such an issue in Apache 1.x but was fixed in 2.x.What ftp server do you use, hp-ux usual?

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Steve Bear_1
Frequent Advisor

Re: ftp/tcp: accept: No buffer space available

Zeev,

It is not just FTP, there were few ocassions when telnet also reported same messages in the sylog.
The ftp version we use is 1.1.214.6

so whats the solution ?

Thanks

Bernhard Mueller
Honored Contributor

Re: ftp/tcp: accept: No buffer space available

Steve,

you can find a lot of threads in this forum if you just search for "network " and "no buffer space".

Quickly glancing across them I found that on one occasion it was fixed by increasing the kernel parameter nstrtel, another fixed it by increasind maxdsiz.

Some indicate network patches, but you may want to take a closer look yourself.

Regards,
Bernhard