LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-06-2018, 01:31 AM   #1
Natarajachar
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Rep: Reputation: Disabled
Question su - oracle is taking long time


Hi,

I am working with SUSE Linux 10 SP2 and this is a production server. Now the issue is "su - oracle" is taking more than 10 seconds of time where as it was not taking more than one second before for the same. Because of this may be the tar command is also running very slow and taking double the time to zip files when compared to previous results. Please suggest what might be the reason for it.

Thanks&regards,
Natraj
 
Old 03-06-2018, 08:12 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Does your initial login to the server take a long time? The most common reason I've seen logins/switching users take time is because they do quota checks (even if you haven't enabled quotas). The quota check hangs because it tries to check quota on things like NFS mounts from other servers that are no longer available on the local server. This happens if the other server gets shutdown or the mount is no longer exported with permissions for the local server.

In such a situations "df -hP" would also likely hang.

You can check /etc/mtab to see if it lists any filesystems mounted (look for colon [:] in the entries). Do NOT edit /etc/mtab.

You can try to do "umount -f" on the hung filesystem to force unmount it. Failing that you can try "umount -l" to lazy unmount it.

If the issue is not a hung NFS mount it is likely your profiles or bashrc files or other environment files of the oracle user are doing something that is taking more time than in the past. You could try doing:
su oracle (Not su - oracle)
set -x
cd ~oracle
. ./.bashrc

That will make it go to the home directory of user, oracle, then execute what should be its first environmental file (assuming it is using bash shell) then ideally that would step through everything else it is doing.
 
Old 03-06-2018, 09:08 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,685

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by Natarajachar View Post
Hi,
I am working with SUSE Linux 10 SP2 and this is a production server. Now the issue is "su - oracle" is taking more than 10 seconds of time where as it was not taking more than one second before for the same. Because of this may be the tar command is also running very slow and taking double the time to zip files when compared to previous results. Please suggest what might be the reason for it.
To add to what MensaWater said, you seem to have omitted a LOT of things. Also, you do realize that SLES 10 was END OF LIFE/unsupported since 2008?? From Suse's website
Code:
SUSE Linux Enterprise Server 10

General Support ends: 31 Jul 2013
Extended Support ends: 31 Jul 2016
Self-Support ends: 31 Jul 2016
Current version: SUSE Linux Enterprise Server 10 SP4
Replacement: SUSE Linux Enterprise Server 11

Service Pack Release FCS Date
SUSE Linux Enterprise Server 10 17 Jul 2006
SUSE Linux Enterprise Server 10 SP1 18 Jun 2007
SUSE Linux Enterprise Server 10 SP2 19 May 2008
SUSE Linux Enterprise Server 10 SP3 12 Oct 2009
SUSE Linux Enterprise Server 10 SP4 12 Apr 2011
...and you're STILL running a production server on it?? With Oracle....BOTH of these things are commercial, PAY FOR products. Have you contacted Suse or Oracle??? Because these things have been suggested to you in the past, several times.

You tell us nothing about your server, your environment, what has changed recently, database details, what kind of storage it's on, any procedures/scripts that run upon login, etc. Again, the best thing for you to do is to contact Oracle support for help.
 
Old 03-07-2018, 11:53 AM   #4
Natarajachar
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Original Poster
Rep: Reputation: Disabled
hi,

Thanks for the replies but I have already contacted oracle support and they confirmed that there is some issue at OS level which needs to be resolved by unix support. Since the support for suse has ended please h3lp me to resolve this issue. Also our organization is planning to migrate from suse 10 to redhat 6 soon.

Regards,
Natraj
 
Old 03-07-2018, 12:12 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,685

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by Natarajachar View Post
hi,
Thanks for the replies but I have already contacted oracle support and they confirmed that there is some issue at OS level which needs to be resolved by unix support.
Ok...so are YOU unix support???
Quote:
Since the support for suse has ended please h3lp me to resolve this issue. Also our organization is planning to migrate from suse 10 to redhat 6 soon.
Why are you going to bother??? Because RHEL 6 is ALSO old, and about to be end-of-life. Latest is 7.4...and unless you're going to PAY FOR RHEL, then don't use it. Are you going to pay??

And as you were asked before:
  • Details about your server?
  • Details about your environment?
  • Details about what has changed recently?
  • Any details about your database?
  • What kind of storage it's on?
  • What, if any procedures/scripts that run upon login??
If you're not going to answer questions when asked, then there isn't much point in posting. You were also given the advice to check DNS. Did you?? You've been posting like this for two years now, and not providing details or showing much in the way of effort.
 
Old 03-07-2018, 12:46 PM   #6
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You don't answer any of the questions that I asked. You really need to learn to read more than one reply in a thread as mine gave you some things to look at.

I agree with the prior poster. If you're going to migrate to another OS and have paid support from Oracle you should go to RHEL7 rather than RHEL6. The RHEL subscription allows you to upgrade the major release you're using so even if you bought it originally for RHEL6 it will allow you to install RHEL7.
 
1 members found this post helpful.
Old 03-08-2018, 02:24 AM   #7
Natarajachar
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Original Poster
Rep: Reputation: Disabled
Hi,

Our customers are planning to migrate to RHEL with payed version for sure.

1. Details about your server?
SLES 10 SP2
Details about your environment?
2. Details about what has changed recently?
We have not changed anything.
3. Any details about your database?
Oracle EBS application r12.1.1 and the DB is installed on other server.
4. What kind of storage it's on?
Floppy disk controller
VMWare Virtual Machine Chipset
LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI
5. What, if any procedures/scripts that run upon login??
There are no procedures running upon login and the same server is running for past 7 years with good performance.

Also PFA the script we are using for application server backup.

Regards,
Natraj
Attached Files
File Type: txt prod app backup script.txt (2.0 KB, 8 views)
 
Old 03-08-2018, 06:49 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,685

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by Natarajachar View Post
Hi,
Our customers are planning to migrate to RHEL with payed version for sure.
Your customers?? So they hired you to solve this problem, and you're asking US to do it for you? How much of your paycheck do we get? And do your customers know that RHEL 6 is similarly old, since you say they were going to 'upgrade' to another old, obsolete version?
Quote:
1. Details about your server? SLES 10 SP2
...which you said before. Not the OS, things like what KIND of server, running what KIND of hard drives/controllers, etc., on what kind of network. You know...DETAILS.
Quote:
Details about your environment?
This is the "what kind of network/environment"...which you didn't answer.
Quote:
2. Details about what has changed recently? We have not changed anything.
Oh? Then why are things behaving differently?? SOMETHING changed if it wasn't doing this and now it is...common sense.
Quote:
3. Any details about your database? Oracle EBS application r12.1.1 and the DB is installed on other server.
This is where the "Details about your environment" come in. You ONLY NOW say that the DB is installed on another server, and STILL don't tell us anything about it, where it is, connection between the two, etc.
Quote:
4. What kind of storage it's on? Floppy disk controller
VMWare Virtual Machine Chipset
LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI
Do you honestly expect anyone here to believe that an SLES server is running an Oracle 12 database off a floppy disk?? And now you bring VMware into things, so yet AGAIN, details that weren't mentioned before
Quote:
5. What, if any procedures/scripts that run upon login?? There are no procedures running upon login and the same server is running for past 7 years with good performance.
So it's run for seven years, and nothing has changed....therefore, either you're lying, or there is no problem. Because if NOTHING changed, it'll work the way it always has.

Which is it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mkfs.ext4 taking a VERY long time.. slackerDude Slackware 0 07-07-2016 03:46 AM
SuSE 10.1 taking a long time to boot up adityavpratap SUSE / openSUSE 2 07-04-2006 06:51 AM
Kernel Decompress Taking a long time v2-ncl Linux - Laptop and Netbook 0 11-10-2003 08:47 AM
Seriously this is taking a long time!! Omega Linux - Newbie 13 04-25-2003 05:46 AM
programs taking a long time to load... sas Linux - Software 2 01-08-2003 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration