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
LEARN ABOUT ULTRIX
reboot
reboot(8) System Manager's Manual reboot(8)
Name
reboot - automatic reboot procedures
Syntax
/etc/reboot [ -n ] [ -q ]
Description
The ULTRIX system is booted by loading a kernel image, usually into memory at location zero and transferring to zero. Because the system
is not reenterable, the kernel image must be read in from disk each time the system is bootstrapped.
When the reboot of a running system is desired, is normally used. If there are no users, can be used. The command causes the disks to be
synced, and then a multiuser reboot is initiated. The system is booted and an automatic disk check is performed. If the procedure suc-
ceeds, the system is then brought up for the users.
The system will reboot itself after a power failure or after a crash, provided auto-restart is enabled on your system. A consistency check
of the file systems will be performed and, unless the check fails, the system will resume multiuser operations.
Options
-n Prevents the disks from being synced.
-q Reboots quickly and ungracefully, without shutting down running processes first.
Files
System code
See Also
crash(8v), fsck(8), halt(8), init(8), newfs(8), rc(8), shutdown(8)
reboot(8)