Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-25-2010, 11:56 PM
|
#1
|
LQ Newbie
Registered: Oct 2010
Posts: 6
Rep:
|
Linux application server is slow
Hi,
I am new to this forum and Linux, hope I am in write forum,if not please let me knoe relevant forum to post in.
Issue:
We recently shifted our applcation and database to LINUX from UNIX.
so now application server(weblogic 8.1) is on linux and oracle database 9i is on linux.
previously there is a process in application server(which access the Database dor the data) which took only 1 hour to run on UNIX after shifting to LINUX the same process is taking 4 to 5 hours to run.
but when individually ran the queries on the database it is quck than UNIX.
our ADMIN tried changing the kernel parameters for the database server, but it is still the same.
Can you please let me know what information I should provide to understand the problem more clearly.
Thanks.
Last edited by linux37; 10-25-2010 at 11:58 PM.
|
|
|
10-26-2010, 12:51 AM
|
#2
|
Senior Member
Registered: Aug 2009
Posts: 3,790
|
Is there any particular reason for running those versions, they're not exactly current ... ? You may want to enable JMX and take a look with jconsole to see what's happening. Also check whether there is anything obvious in the WL logs
cheers
|
|
|
10-26-2010, 01:03 AM
|
#3
|
LQ Newbie
Registered: Oct 2010
Posts: 6
Original Poster
Rep:
|
Thanks for the quick reply.
We shifted from linux to unix to improve the performance, as you know Linux is much faster.
and there is nothing wrong with WL logs.
Can you please tell me clearly about JMX and jconsole, as I am new to LINUX and I am not sure how to act on these kind of performance issues.
linux version:
Linux dev1 2.6.9-89.0.26.ELsmp #1 SMP Sun May 30 09:34:08 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
and UNIX is HP11
|
|
|
10-26-2010, 06:32 AM
|
#4
|
Member
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep: 
|
Hi,
without any kind of knowledge about your hardware, system configuration, application and database configuration there will be no chance to help you.
What you can do as first step is:
- check system load during your slow action
- use top to identify the process which takes so long time
- use strace on your identified process to identify what takes this long time
- try to eliminate the problem which keeps the process hanging
|
|
|
10-26-2010, 05:56 PM
|
#5
|
LQ Newbie
Registered: Oct 2010
Posts: 6
Original Poster
Rep:
|
thnaks for that...
tried doing top...but didn't find any process which takes long time.
Will do trace on the process and post the result.
Thanks
|
|
|
10-28-2010, 12:31 AM
|
#7
|
LQ Newbie
Registered: Oct 2010
Posts: 6
Original Poster
Rep:
|
hi,
I did strace on the script which in turns call java.
In the strace log - the record is processed and updated in the database, but in between I can see a message likie this:
[pid 14333] 12:05:00 tgkill(14333, 14382, SIGPWR) = 0 <0.000018>
[pid 14333] 12:05:00 futex(0x3689b1a5e0, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 14333] 12:05:00 tgkill(14333, 14382, SIGPWR) = 0 <0.000018>
[pid 14333] 12:05:00 futex(0x3689b1a5e0, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 14382] 12:05:00 <... futex resumed> ) = -1 EINTR (Interrupted system call) <0.982761>
[pid 14382] 12:05:00 --- SIGPWR (Power failure) @ 0 (0) ---
[pid 14382] 12:05:00 futex(0x3689b1a5e0, FUTEX_WAKE, 1) = 1 <0.000365>
[pid 14333] 12:05:00 <... futex resumed> ) = 0 <0.004612>
[pid 14382] 12:05:00 rt_sigsuspend(~[INT QUIT ABRT TERM XCPU RTMIN RT_1] <unfinished ...>
[pid 14333] 12:05:00 tgkill(14333, 14382, SIGXCPU) = 0 <0.000024>
[pid 14382] 12:05:00 --- SIGXCPU (CPU time limit exceeded) @ 0 (0) ---
[pid 14382] 12:05:00 <... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call) <0.026197>
[pid 14382] 12:05:00 rt_sigreturn(0x40a00960) = -1 EINTR (Interrupted system call) <0.000008>
[pid 14382] 12:05:00 rt_sigreturn(0x2) = -1 EINTR (Interrupted system call) <0.000009>
Please let me know about this error.
Is this message/error causing delay in my process?
Thanks
|
|
|
10-28-2010, 05:38 PM
|
#8
|
LQ Newbie
Registered: Oct 2010
Posts: 6
Original Poster
Rep:
|
Can anyone please tell me about the aboce error or message, it is there after every record is processed with the database in strace log.
Thanks
|
|
|
10-28-2010, 09:20 PM
|
#9
|
Senior Member
Registered: Aug 2009
Posts: 3,790
|
This
Quote:
--- SIGPWR (Power failure) @ 0 (0) ---
|
is a little worrying, its saying the system power has failed, maybe cpu is on the way out .. ?
|
|
|
10-28-2010, 10:08 PM
|
#10
|
LQ Newbie
Registered: Oct 2010
Posts: 6
Original Poster
Rep:
|
which cpu is it Linux or my pc? and the above message is repeating, but the end of the day the process is completed.
What can I do about it?
|
|
|
10-31-2010, 08:09 PM
|
#11
|
Senior Member
Registered: Aug 2009
Posts: 3,790
|
Maybe the linux system has some hardware issues
|
|
|
All times are GMT -5. The time now is 05:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|