how to clear/clean mbufs (network buffer space)?


 
Thread Tools Search this Thread
Top Forums Programming how to clear/clean mbufs (network buffer space)?
# 8  
Old 01-19-2005
Yes, the network has become a little slow. I just couldn't detect to see how slow it was.

However, these problems (error 10055: no buffer space; error 183:?) seemed to be known issues on windows 2000 platforms. The same codes run on windows XP did not cause these problems.

In general, I think these are network-related problems on windows 2000. I hope to be able to access the network buffer (mbufs) to clear/clean to see if the problems are resolved.

Thanks,
DP
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Clear standard input buffer for C program in Linux

Hello friends! i am writing a code in which i take inputs (numbers) from user and count the total number of positive, negative and zeros entered. I need to clear my standard input buffer before scanf() command. My compiler is completely ignoring the fflush(stdin) command. its not even showing any... (1 Reply)
Discussion started by: Abhishek_kumar
1 Replies

2. Programming

How to avoid 'No buffer space available' on C socket?

Hello everybody, Years ago i left in stand-by a project of mine where the main program was supposed to send thousands ARP frames over the socket as fast as it could; but because of a programming issue i couldn't continue it. 2 days ago I decided to solve that issue. The thing is, when the... (4 Replies)
Discussion started by: Zykl0n-B
4 Replies

3. Solaris

How to clear network socket port 17005?

:)Hi Solaris Experts, I am wondering whether it is possible to clear a network socket port 17005 left by Apache Tomcat/6.0.20 after having to terminate it forcefully, since it has run away due to remote JDBC resource contention on another server. A normal Tomcat stop / shutdown proves... (2 Replies)
Discussion started by: gjackson123
2 Replies

4. AIX

Need to clear the keyboard buffer

I'm running a ksh script that requires user interaction, and said users (myself among them) may get a little trigger happy and get ahead of ourselves and accidentally key in the wrong responses to future prompts in the script. Naturally, I'd like to prevent that, so how does one clear that... (0 Replies)
Discussion started by: Michael Mullig
0 Replies

5. HP-UX

How to clear keyboard buffer

Hi, How can i clear the command. Suppose using esc k i retrieved teh command, but for some reason I want to clear and type fresh one... how can i do that. thx (2 Replies)
Discussion started by: bang_dba
2 Replies

6. Shell Programming and Scripting

Clean up the space

Hi I just want to clean up the space in UNIX. Is there any special command that does this process or do I need to manually type the following rm <filename> Any help would be really appreciated. Thanks (2 Replies)
Discussion started by: bobby1015
2 Replies

7. Programming

Clear Serial Port Buffer Using iclear, iflush

Hello, I am having trouble clearing the serial port buffer using the iclear and iflush commands. The code runs without errors being returned, but when I check the buffer again there is still data. The only way I have so far is to read until there is nothing left in the buffer. Shouldn't one... (1 Reply)
Discussion started by: sammy-e
1 Replies

8. Shell Programming and Scripting

How to get just the word and clean the white space?

Hi, I need to check if the value returned by this query is bigger then 20000. It's not working! I think that the problem is that the return is with white spaces. How to solve this? Tks, Paulo Portugal. ####################### RESPOSTA=`/oracle/app/product/10.2/bin/sqlplus -s <<EOF / as... (2 Replies)
Discussion started by: paulofp
2 Replies

9. Shell Programming and Scripting

Space Clean Up Activity In Unix

Hi I am trying to develop a script so that whenever used % reaches 90% it will send an alert mail. Following is the script whic I am tryiing to implement but it show some error. code: #! /bin/ksh df -v | grep -i "/opt" | awk '{print $6}' > space if ] then echo "ALERT YOUR SPACE IS TOO... (6 Replies)
Discussion started by: pankajkrmishra
6 Replies

10. Linux

ssh: connect to host traviata port 22: No buffer space available

What does that mean? traviata being my distant host? What am i to do? (0 Replies)
Discussion started by: penguin-friend
0 Replies
Login or Register to Ask a Question
RFIOSETOPT(3)						      Rfio Library Functions						     RFIOSETOPT(3)

NAME
rfiosetopt - set RFIO options SYNOPSIS
#include <sys/types.h> #include "rfio_api.h" int rfiosetopt (int opt, int *pval, int len) int rfio_setbufsize (int s, int bufsize) DESCRIPTION
rfiosetopt sets the RFIO option opt to the content of the memory cell pointed by pval. rfio_setbufsize sets the size of the readahead buffer to be used on a particular socket connection. opt can have on of the following values: RFIO_READOPT The value pointed by pval can be 0, RFIO_READBUF, RFIO_READAHEAD or RFIO_STREAM (V3). If set to zero, a normal read will be used (one request to the server per read). If set to RFIO_READBUF, an internal buffer is allocated in the client API, each call to the server fills this buffer and the user buffer is filled from the internal buffer. There is one server call per buffer fill. If set to RFIO_READAHEAD, an initial call is sent to the server which pushes data to the client buffer until end of file is reached or an error occurs or a new request comes from the client. There is no intermediate buffer unless RFIO_READ- BUF|RFIO_READAHEAD is specified. If RFIO_STREAM is set, the V3 protocol is enabled. This uses 2 socket connections between the client and the server and the server itself is multi-threaded allowing overlap of disk and network operations. The data is pushed on the data socket until end of file is reached or an error occurs. The transfer can be interrupted by sending a packet on the control socket. Default is RFIO_READBUF. The default internal buffer size is 128kB, but the buffer size can be set with an entry RFIO IOBUFSIZE in shift.conf or thru the environment variable RFIO_IOBUFSIZE. RFIO_NETOPT The value pointed by pval can be RFIO_NONET or RFIO_NET. If set to RFIO_NONET, the NET entries in shift.conf are ignored. Default is RFIO_NET. RFIO_NETRETRYOPT The value pointed by pval can be RFIO_RETRYIT or RFIO_NOTIME2RETRY. If set to RFIO_RETRYIT, there will be retries on failing connect. The number of retries is given by the environment variable RFIO_CONRETRY or the RFIO CONRETRY entry in shift.conf. The retry interval (in seconds) is given by the environment variable RFIO_CONRETRYINT or the RFIO CONRETRYINT entry. If set to RFIO_NOTIME2RETRY, there will be no retry on failing connect. Default is RFIO_RETRYIT. RFIO_CONNECTOPT The value pointed by pval can be RFIO_NOLOCAL or RFIO_FORCELOCAL. If set to RFIO_FORCELOCAL, no parsing is done on pathname. The file is assumed to be local. Default is RFIO_NOLOCAL. The len argument is ignored. s is the file descriptor of the receiving socket. bufsize is the size of the readahead buffer to be used. RETURN VALUE
rfiosetopt returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately. ERRORS
ENOMEM buffer could not be allocated. EINVAL opt is not a valid option, bufsize is negative or the user tries to change the buffer size after the actual I/O has started. SEE ALSO
rfio_open(3), rfioreadopt(3) AUTHOR
LCG Grid Deployment Team LCG
$Date: 2010-02-15 10:01:40 +0100 (Mon, 15 Feb 2010) $ RFIOSETOPT(3)