Solaris 10 processes slow


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Solaris 10 processes slow
# 1  
Old 08-18-2017
Solaris 10 processes slow

Hi Guys

I have a Solaris 10 server running Oracle database most of the sessions are slow when forking resource/processes on the O/S.

How can I resolve this issue or how do I see the time it takes to fork a process from the O/S?

Thanks

Pleasse help!!!
# 2  
Old 08-18-2017
You have to be able to quantify what you are seeing, we cannot help with really vague questions because we will start asking a bunch of questions about things like this:
For example:
1. is free memory unavailable?
2. how many processes are there and how many process slots are free?
3. are there lots of network connections in the TIMED_WAIT status?
4. are there a few processes that are using lots of resources?

And keep going until there is enough information to help. Consider putting together a much better question with lots of information based on problems you see in the system.

Thanks.
# 3  
Old 08-18-2017
The bigger the process, the longer takes the fork.
Oracle DB processes might be a little better because they use a large portion of "shared memory".

Since also Solaris is from Oracle, you can consider analysis method/tools from Oracle.
Also OS patches often boost performance.

Also you can monitor your system.
E.g. on the command line do
Code:
vmstat 2

you can likely see a bottle neck: a big value in the "b" column means a slow disk, a big value in the "r" column means too much work for the CPU.
If you have a slow CPU, you can look how CPU time is distributed between "sy"s=kernel and "us"er=processes, and hopefully something is left for "id"le. (These values are in percent and sum up to 100.)
If you have a slow disk, you can break down this further with
Code:
iostat -D 2

or with the OS disk names (but long names are truncated)
Code:
iostat -nD 2

Looking for
Code:
netstat | grep 'TIME[_]WAIT'

is a good idea because these processes are waiting for the client to re-open the connection, they cannot be used for another client.
If there are too many processes in TIME_WAIT it can improve by tuning it down, say from
Code:
ndd /dev/tcp tcp_time_wait_interval

60000 reduce it to 30000
Code:
ndd -set /dev/tcp tcp_time_wait_interval 30000
ndd /dev/tcp tcp_time_wait_interval

# 4  
Old 08-19-2017
Filesystems or ASM for database ?
Are you using ZFS on your Solaris system ?

Can you provide the output of following command :
Code:
echo "::memstat" | mdb -k

Regards
Peasant.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Slow ssh on Solaris 10 zone

ssh is slow on solaris zone , and is getting stuck at the following place. debug2: callback done debug2: channel 0: open confirm rwindow 0 rmax 32768 debug3: Wrote 664 bytes for a total of 3325 Below is the ssh version being used: Sun_SSH_1.1.6, SSH protocols 1.5/2.0, OpenSSL 0x0090704f ... (10 Replies)
Discussion started by: skamal4u
10 Replies

2. Solaris

Solaris 11.1 Slow Network Performance

I have identical M5000 machines that are needing to transfer very large amounts of data between them. These are fully loaded machines, and I've already checked IO, memory usage, etc... I get poor network performance even when the machines are idle or copying via loopback. The 10 GB NICs are... (7 Replies)
Discussion started by: christr
7 Replies

3. Solaris

slow response on solaris terminal

Solaris terminal responding very slow .. we have recently put a T3 hardware in to production , the applications running are it are perfectly and no complaints from user ..but when i ssh to the server ... the terminal response is very very slow .. it takes 3 seconds to show the character i type ..... (3 Replies)
Discussion started by: skamal4u
3 Replies

4. Solaris

Slow run processes after abnormal reboot

hi all, I'm working Solaris 5.10 (5.10 Generic_137137-09 sun4u sparc SUNW,SPARC-E nterprise) Few days ago, my junior engineer made a mistake! He is execute shutdown command on the live server. He mis understand between live and test servers! :wall: The live... (0 Replies)
Discussion started by: buyantugs
0 Replies

5. Shell Programming and Scripting

mail too slow on solaris

Hi, I am using /usr/ucb/mail for mailing thru script. But mail reaches after 30-40 mins. What can be the reason and also how to check status and related info (1 Reply)
Discussion started by: Deei
1 Replies

6. Solaris

Solaris 10 v245 Busy/Slow System

Hello All, I have noticed that one of my servers, the busiest has become increasingly slow to respond and execute commands, the running applications appear to be fine though. Here is some output from vmstat :- kthr memory page disk faults cpu r b... (5 Replies)
Discussion started by: Wez
5 Replies

7. Solaris

why telnet from PC to Solaris x86 is extremely slow?

I got the following info from this forum, in regards to configuring my Solaris x86 to link to the Net: # echo 192.168.0.1 > /etc/defaultrouter # route add default 192.168.0.1 # echo nameserver 192.168.0.1 >> /etc/resolv.conf # cp /etc/nsswitch.dns /etc/nsswitch.conf So I did... (1 Reply)
Discussion started by: newbie09
1 Replies

8. UNIX for Dummies Questions & Answers

Solaris Express Slow to load Gnome

Hi, I recently installed the latest Solaris Express Developers Edition. I'm building a NAS and want to use RAID Z, and Solaris 10 didn't have the drivers for my HD controller card. Everything is up and running fine, but I notice it takes a good 8 minutes to load gnome (or X, not sure where it... (2 Replies)
Discussion started by: ciscocbee
2 Replies

9. IP Networking

Samba Slow to Connect Xp to Solaris

Hi everyone, I posted this on the Solaris forums but so far no one has been able to help... I'm new to solaris and I've installed 10, update 5. I've configured samba (very badly I believe) so that I can access my solaris box from my XP 64 computer. Both are on a local network (connected via... (1 Reply)
Discussion started by: ciscocbee
1 Replies

10. Solaris

Solaris running very slow!!

Hi all, Solaris is working very slow as login to solaris takes time say after 10 to 15 mins we get the login prompt back after logging in as oracle account/other account. This causes most Batch run delays(DWHouse jobs) scheduled through cronjobs. Where should one look for such issues to... (3 Replies)
Discussion started by: a1_win
3 Replies
Login or Register to Ask a Question