Sponsored Content
Full Discussion: Aix
Special Forums IP Networking Aix Post 35863 by hugo_perez on Friday 9th of May 2003 11:00:13 AM
Old 05-09-2003
If you want to investigate ...

To look if the problem is related to the number of users,
you can put in the crontab a script to log the number of users
every 5 minutes. An example will look like:

-------------------------------------------------------------------
Host=`uname -n`
wdate=`date +"%Y%m%d"`
outfile=/var/"$wdate"_users.txt

if [ ! -f /var/"$wdate"_users.txt ]
then
echo " " >> $outfile
echo " " >> $outfile
echo " " >> $outfile
echo "Server: $Host DATE: `date +"%d/%m/%Y"` " >> $outfile
echo " " >> $outfile
echo " Report of users logged in " >> $outfile
echo " " >> $outfile
echo " " >> $outfile
fi



w -u|awk '{print $1 " " $6}' >> $outfile
-------------------------------------------------------------------

If the number of users is near to your limit change the value with chlicense.


Also, the maximum processes that an user can have could be
a problem. Please paste the output of:

lsattr -E -l sys0

if maxuproc is less than 500 change the value.

smitty chgsystem (I don't sure with this fast path).

********************************************************************
But if not a user number limit see:

The chapter five of:

http://www.redbooks.ibm.com/pubs/pdf...s/sg246184.pdf


To change the network values you must use the no command
see: http://publib.boulder.ibm.com/doc_li....htm#A229X9bb6



If you want to do modifications add the lines in the /etc/rc.net

For example:

/usr/sbin/no -o ipqmaxlen=512
/usr/sbin/no -o tcp_sendspace=16384
/usr/sbin/no -o udp_recvspace=16384

see: tcp_recvspace, udpsendspace

see the flag -m of netstat to look if is a mbuff problem, an example
script that work in Solaris to log mbuff values is:

#!/bin/ksh
dia=`date +"%Y%m%d"`
hora=`date +"%H:%M"`
dia2=`date +"%d/%m/%Y"`
LOG=/var/reports/$dia/"$dia"_MonNetBuff.txt
fh=$dia2" "$hora

if [ ! -d /var/reports ]
then
mkdir /var/reports
fi

if [ ! -d /var/reports/$dia ]
then
mkdir /var/reports/$dia
echo "Date Failures Parameter Current Maximum Percentage"|awk '{printf("%16s, %9s, %10s, %7s, %7s, %10s \n",$1,$2,$3,$4,$5,$6)}' > $LOG
fi

touch $LOG

netstat -m |/usr/xpg4/bin/awk -v wdate="$fh" '{if(NR>3 && NR<12){printf("%16s, %9d, %10s, %7d, %7d, %10.2d \n", wdate, $5, $1,$2,$3,($2*100/$3)) }}' >> $LOG

exit 0



use "netstat -na" to look if you have a lot of connections in wait status; when you have the problem. If yes, see also the commands related to close the connections in less time for example:
tcp_timewait, tcp_ttl, tcp_keepintvl, maxttl

For other network commands see:
http://publib.boulder.ibm.com/doc_li...tm#Q9G2380kevi



Good luck. Hugo.

Last edited by hugo_perez; 05-14-2003 at 01:27 PM..
 

8 More Discussions You Might Find Interesting

1. AIX

How to apply aix 5.3 TL8 properly on ML5 aix system ?

Is it necessary to put system into single user mode for applying aix 5.3 TL8 on a aix 5.3.5.0 system ? Is the TL8 installation not totally safe ? thank you. (6 Replies)
Discussion started by: astjen
6 Replies

2. AIX

IY17981 fix required for aix 4.3.3 to aix 5L migration but not found

Hi, redbook documentation is telling that IY17981 fix is required for aix 4.3.3 to aix 5L migration. But there is no mention about that fix in any ML installation packages. - My system is ML11 : oslevel –r 4330-11 - But xlC.rte is on wrong version : lslpp -L xlC.rte xlC.rte ... (3 Replies)
Discussion started by: astjen
3 Replies

3. AIX

How to upgrade AIX Firmware & TL Maintenance Level in AIX

Steps to upgrade AIX TL ( technology Level ) / Maintenance Level in AIX ( including Firmware HMC VIOS ) This article or post covers upgrades for - Hardware Management Console ( HMC ) - Firmware ( also known as microcode ) - VIO ( Virtual I/O Server = PowerVM ) - AIX Version, Technology... (2 Replies)
Discussion started by: filosophizer
2 Replies

4. AIX

Get Next month in AIX from curent date in unix AIX

How could we derive teh Next month in MON-RR format from current date ie sysdate in UNI AIX sheel script.I coould get a command but i supports only inLinux susse andnotin AIX. I need for Unix AIX.Pls Help. Regards Shiv (2 Replies)
Discussion started by: SHIV75
2 Replies

5. AIX

Nim on AIX 7.1 used to migrate AIX 5.3 to AIX 6.1...is possible?

Using nimadm: nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y Initializing the NIM master. Initializing NIM client sap024. 0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)
Discussion started by: sciacca75
2 Replies

6. AIX

Will it affect my AIX LPAR security, when i set up email alerts on AIX server.

Hello, I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior. for example 1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert. 2) disk usage alerts 3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies

7. UNIX for Beginners Questions & Answers

New to AIX: How do I setup high availability on an AIX System

I am new to AIX but not new to unix. I have an interview for an AIX systems admin position and I know they want someone who has knowledge of High Availability, Failover and LPARs From my research so far, It appear powerha is used to setup high availability and failover on Power systems but is... (2 Replies)
Discussion started by: mathisecure
2 Replies

8. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies
All times are GMT -4. The time now is 08:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy