SunOS and ericsson application
hi every body
we have ERICSSON XMATE product installed on unix platform
"SunOS 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-250"
this server acts as FTS server where files are polled from AXE exchanges, now we have a problem at this application but i can not determine if it is H/W or Apllication error.
i need your help just to find out the reason ? or at least to detremnie that is not H/W or OS problem.
any troubleshooting command just tell me ?
sorry that i have a little experience for SUN OS as i work only on HP unix
wating your reply
omy
[603 byte] By [
Omy] at [2007-11-26 10:29:43]

# 1
hi every body please if any one have an idea about the server health chek just tell me the required commands for Sun version 5.6 ,just help me to determinw that is not a hard ware problem?best regardsomy
Omy at 2007-7-7 2:35:42 >

# 2
you can check if there is a /usr/platform/bin/prtdiag , if so you can run it with the -v flag.
If that one doesn't exists, try:
/usr/platform/SUNW,Ultra-250/sbin/prtdiag -v
Apart from that, examine the /var/adm/messages and /var/adm/messages.0 files to see if there is any system log message which indicates a hardware error.
Don't you have any support contact at ericsson?
.7/M.
# 3
hi mAbrante
thanks for your help , i have execute command
/usr/platform/sun4u/sbin/prtdiag -v and i receive " No failures found in System " but i use the following commands to troubleshoot :
#dmesg| more
dump on /dev/dsk/c0t0d0s1 size 548608K
WARNING: /tmp: File system full, swap space limit exceeded
also
# df-k
Filesystem kbytesusedavailcapacity Mounted on
swap 3254645344 3201202%/tmp
so do you have any idea about this WARNING concerning swap?
best regards
omy
Omy at 2007-7-7 2:35:42 >

# 4
Well, its an historical entry, at the point when the message was logged to your /var/adm/messages file, the swap was full. But whatever application that had occupied most of it have now released it (perhaps it died when it failed to allocate extra swap).
If it occours very frequently you should consider adding more memory/swap (see "swapadd"), or tune the application that is causing this.
.7/M.
# 5
hi mAbrante
please , i need a command to check the memory and CPUutilization like glance .
also i have received the following repeated messages (does this mean that there is a problem in resolving iforming that we use hosts file.
#more/var/log/syslog
Oct 1 08:13:26 ws10 sendmail[205]: My unqualified host name (ws10.) unknown; sleeping for retry
Oct 1 08:14:26 ws10 sendmail[205]: unable to qualify my own domain name (ws10.) -- using short name
Oct 1 08:14:26 ws10 sendmail[329]: starting daemon (8.8.8+Sun): SMTP+queueing@00:15:00
Oct 1 10:09:30 ws15 sendmail[205]: My unqualified host name (ws15.) unknown; sleeping for retry
Oct 1 10:10:30 ws15 sendmail[205]: unable to qualify my own domain name (ws15.) -- using short name
Oct 1 10:10:31 ws15 sendmail[339]: starting daemon (8.8.8+Sun): SMTP+queueing@00:15:00
Oct 1 21:09:14 ws16 sendmail[212]: My unqualified host name (ws16.) unknown; sleeping for retry
Oct 1 21:10:14 ws16 sendmail[212]: unable to qualify my own domain name (ws16.) -- using short name
Oct 1 21:10:14 ws16 sendmail[321]: starting daemon (8.8.8+Sun): SMTP+queueing@00:15:00
best regards
omy
Omy at 2007-7-7 2:35:42 >

# 6
Nah, that message is just to inform you that the sendmail process can't resolv the hostname, sendmail is very picky with that sort of things, and its fairly safe to ignore it if its not a mailserver.
To get rid of that message you could edit the /etc/hosts file and add "ws10." to the line which starts with the machines IP address and contains "ws10".
SunOS 5.6 is fairly ancient, i don't think there is any tool in it which can be easily used to determine CPU/memory usage, however you could download "top" from sunfreeware.com, its quite good for this kind of purposes, since it can be used to sort on different things such as CPU usage (default) and memory usage.
Top for SunOS 5.6/SPARC can be downloaded from:
ftp://ftp.sunfreeware.com/pub/freeware/sparc/2.6/top-3.6-sol26-sparc-local.gz
.7/M.
# 7
> please , i need a command to check the memory and
> CPUutilization like glance .
Glance + has been ported to Solaris. See:
http://www.ilkda.com for a link
> Oct 1 08:13:26 ws10 sendmail[205]: My unqualified
> host name (ws10.) unknown; sleeping for retry
Exactly what it says. Find your host listing in /etc/hosts and fully qualify it then the messages will stop.
alan
# 8
hi every body
i need to extend swap area
df -k | grep swap
swap 325464 5344 320120 2% /tmp
please send to me the commands required to extend the existing swap
althought the usage is 2% but sometimes application hangs and logs error "application fail due to swap limitaion"
best regards
omy
Omy at 2007-7-7 2:35:42 >

# 9
"swap" has Solaris man pages that you can review.
You can do ...
# man swap
You would be able to see the information that is specific to your Solaris 2.6 if you do that.
However, if this is the Ericsson application that is generating the error message,
you should go back to their technical support for guidance
into exactly what is best for that software.
Perhaps it is not an issue of insufficient swap space, but maybe too much,
or maybe it's on the wrong filesystem, or maybe it's mounted incorrectly.
THEIR support will be able to guide you appropriately.
# 10
hi every body
% swap - l
Swapfiledevswaploblocksfree
/dev/dsk/c0t0d0s132,116 1097264798624
Appserver% swap ?s
Total : 189224k bytes allocated + 22064 reserved = 211288k used, 418816k available
i need to check the current swap size in MB , i just multiply the no., of blocks 1097264 (swap -l ) by 512 is that true calculation ?
also i need to know , when i add extra swap should it has the sape swaplo value or not ?
informing that the support of ericsson application is expired and i do my best effort to solve the problem
best regards
omy
Omy at 2007-7-7 2:35:42 >

# 11
The current swap *used* is 211288k,
The current swap space is 211288k + 418816k = ?
Extra swap can be any amount at all -- but as a previous
poster mentioned, more may not be better.
If you'd like more detailed info about how your swap
space is created and allocated, try running Brendan Gregg's
swapinfo perl script from
http://brendangregg.com/k9toolkit.html
The simplest temporary way to add swap is to find a partition with *lots*
of free space with df -h, make a big file there, and
swap -a /path/to/big/file
eg,
swap -s
mkfile 500m /var/swapfile
swap -a /var/swapfile
swap -s < bigger!
Don't use /tmp.
This will *not* survive a reboot. Go see the man page, and
specifically the vfstab.
Managing swap makes one's head spin.
Good luck.
# 12
hi kidari..
i search for script you send but it requires sun version 8 , and i have an old version which is sun 5.6
i have received on server logs
1- Appserver #dmesg |more
dump on /dev/dsk/c0t0d0s1 size 548608K
WARNING: /tmp: File system full, swap space limit exceeded
2- #more/var/adm/messages.0
WARNING: Sorry, no swap space to grow stack for pid (FTB) (repeated)
so from troubleshooting manual for sun , it recommend to add more swap . what is your opinion ? does this step will not affect ? is there a problem if you have extra swap not used ?
another point , when you calculate the swap by sum the available + used (from swap -s ) it gives size more than (calculate it from blocks resuling from swap -l)
additionally , i have read that TMPFS use a specific amount of swap as it mounted with -o option , to increase the No., of pages transfered , do you have any idea about this scenario?
best regards
omy
Omy at 2007-7-7 2:35:42 >
