12-30-2005
WARNING: No Memory for Streams (NSTRPAGES)
[FONT=Arial]Anybody have a clue what might have caused the Failures under Class 6? I did a reboot and so far so good, I had been up for about 55 days prior to the reboot. I'm running SCO_SV rel 3.2v5.0.7.
Steve
#netstat -m
streams allocation:
config alloc free total max fail
stream 8192 154 8038 562924 177 0
queues 794 315 479 1125857 361 0
mblks 4196 1816 2380 561733628 4177 4
buffer headers 4922 3650 1272 32410014 4905 0
class 1, 64 bytes 384 40 344 197354853 334 0
class 2, 128 bytes 64 0 64 64302899 63 0
class 3, 256 bytes 848 5 843 85835176 834 0
class 4, 512 bytes 32 6 26 3960472 27 0
class 5, 1024 bytes 36 0 36 2695259 36 0
class 6, 2048 bytes 1350 830 520 52422159 1350 643122
class 7, 4096 bytes 799 798 1 106655 800 0
class 8, 8192 bytes 0 0 0 1535116 5 0
class 9, 16384 bytes 0 0 0 157712 2 0
class 10, 32768 bytes 0 0 0 198901 2 0
class 11, 65536 bytes 0 0 0 1124524 2 0
class 12, 131072 bytes 0 0 0 0 0 0
class 13, 262144 bytes 0 0 0 0 0 0
class 14, 524288 bytes 0 0 0 0 0 0
total configured streams memory: 25536.00KB
streams memory in use: 4988.31KB
maximum streams memory used: 6659.66KB
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Everyone
I am building some A Class HP boxes as web proxy servers, have just installed HP-UX 11.00 and am starting to configure one according to our standard build policy.
However on the A Class I just happened to place the software depot this error message keeps popping up every 2 mins:
... (1 Reply)
Discussion started by: alwayslearningunix
1 Replies
2. UNIX for Advanced & Expert Users
What are transparent ioctls messages and when and why we have to issue copyin or copyout kernel utilities with respect to ioctls calls to a Stream. (2 Replies)
Discussion started by: S.P.Prasad
2 Replies
3. UNIX for Dummies Questions & Answers
Hello guys i'm getting this error on a sco 5.0.7 machine and i have no idea why i'm getting this error.
I know how to encrease the value of NSTRPAGES, right now i have it up to 4000.
I would like to know what is NSTRPAGES and what is causing this error to come up in my server.
Thanks a... (2 Replies)
Discussion started by: josramon
2 Replies
4. Shell Programming and Scripting
Hi I wrote a script
#!/usr/bin/ksh
#set -x
for fs in `df -k|awk '{print $1}'|sed -n "3,14 p"`
do
x=`df -kl | grep $fs | awk '{ print $5 }'`
y=50%
if
then
message="File System `df -k |grep $fs |awk '{print $6\", \"$5}'`... (1 Reply)
Discussion started by: namishtiwari
1 Replies
5. Programming
#include "../ourhdr.h"
int main(void)
{
int c;
char *buf;
setvbuf(stdin,buf,_IONBF,10);
setvbuf(stdout,buf,_IONBF,10);
while((c=getc(stdin)) != EOF)
{
if(putc(c,stdout) == EOF)
err_sys("output... (2 Replies)
Discussion started by: gandhevinod
2 Replies
6. Shell Programming and Scripting
Here is an example code that shows the issue I have:
#!/bin/bash
counter() {
seq 1000 | while read NUM; do
echo $NUM
echo "debug: $NUM" >&2
sleep 0.1 # slow it down so we know when this loop really ends
done
}
counter | grep --line-buffered "" | head -n1
... (10 Replies)
Discussion started by: tokland
10 Replies
7. AIX
Hi all,
I have a AIX kernel STREAMS question need your help,
I need to implement a firewall on AIX and get packet raw data then decide pass or drop it,
I've seen similiar firewall code on HP-UX,
on HP-UX, you have to implement a "dlpi STREAMS driver", and specify it as a "dlpi" driver in... (1 Reply)
Discussion started by: rocktilldie
1 Replies
8. Shell Programming and Scripting
Greetings,
It seems obvious to me that I am missing something here. I have the following:
cfDU ()
{
clear
printf "Calculating Sizes of Data In:"
while ; do
awk -v C=$(tput cup 1 0) -v B=$(tput el) '{split($2,a,"/")
print C B a}'
... (7 Replies)
Discussion started by: reid
7 Replies
REBOOT(8) System Manager's Manual REBOOT(8)
NAME
reboot - reboot the system immediately
SYNOPSIS
reboot [-f]
DESCRIPTION
Reboot can be used to reboot the system after installing a new kernel. It does not inform the users, but does log it's actions in
/usr/adm/wtmp and /usr/adm/authlog. The system is then rebooted with the reboot(2) systemcall.
If the -f flag is not given then all processes are sent terminate signals to give them a chance to die peacefully before the reboot() call.
If the wtmp file exists, reboot logs itself as if it were a shutdown. This is done to prevent last(1) from talking about system-crashes.
Reboot is registered as is in the authlog file.
Reboot can only be executed by the super-user. Any other caller will be refused, either by reboot(8) or by reboot(2).
SEE ALSO
reboot(2), shutdown(8), halt(8), boot(8).
BUGS
The error message's given by reboot are not always useful. There are several routines that can fail, but which are not fatal for the pro-
gram.
AUTHOR
Edvard Tuinder (v892231@si.hhs.NL)
REBOOT(8)