Old 12-19-2011, 02:46 PM   #1 (permalink)
Untangle Ninja
 
Mathiau's Avatar
 
Join Date: Feb 2008
Location: Costa Frickn' Rica
Posts: 1,467
Mathiau is on a distinguished road
Send a message via AIM to Mathiau Send a message via MSN to Mathiau Send a message via Yahoo to Mathiau
Default 9.1 upgrade - HIGH cpu usage from java

9.1 upgrade x64 today and really high cpu usage going on from Java, is this just part of the upgrade changing things?

it has been about 11 mins since the upgrade and i also did a reboot after it was done

attached is TOP to see java, also it seems like the high, medium and lo may be off?

i have a Q8200 quad and i am at 6.* and it says medium load or does it take it from the averages?
Attached Images
File Type: jpg 02cpu.JPG (62.3 KB, 66 views)
File Type: jpg medium.JPG (36.8 KB, 52 views)
__________________
Def1:Started:UT 7.1 x64 -- Current :UT 9.1 x64| Gigabyte GM-G31 mATX | Intel Q8200 | 8G DDR2 800 | 80G WD | 4x Intel Pro 1000 GT NIC's | Corsair 550W PSU | Norco RPC-250 2U Case | 50mb/50mb | 10 users
Mathiau is offline   Reply With Quote
Old 12-19-2011, 02:48 PM   #2 (permalink)
Untangle Junkie
 
dmorris's Avatar
 
Join Date: Nov 2006
Location: San Mateo, CA
URLs submitted: 10
Posts: 10,612
dmorris is on a distinguished road
Default

given the screenshots you've posted I'd say the load is coming from postgres not java.

If you want, you can shortcut this process by dumping your data.
More details here:
http://wiki.untangle.com/index.php/9...uming_postgres

post a couple lines of the output of 'vmstat 1'
__________________
Attention: Support and help on the Untangle Forums is provided by
volunteers and community members like yourself.
If you need Untangle support please call or email support@untangle.com

Last edited by dmorris; 12-19-2011 at 02:57 PM..
dmorris is offline   Reply With Quote
Old 12-19-2011, 05:34 PM   #3 (permalink)
Untangle Ninja
 
Mathiau's Avatar
 
Join Date: Feb 2008
Location: Costa Frickn' Rica
Posts: 1,467
Mathiau is on a distinguished road
Send a message via AIM to Mathiau Send a message via MSN to Mathiau Send a message via Yahoo to Mathiau
Default

checking it out, has been a while now and CPU usage still at medium 1min avg of 5
__________________
Def1:Started:UT 7.1 x64 -- Current :UT 9.1 x64| Gigabyte GM-G31 mATX | Intel Q8200 | 8G DDR2 800 | 80G WD | 4x Intel Pro 1000 GT NIC's | Corsair 550W PSU | Norco RPC-250 2U Case | 50mb/50mb | 10 users
Mathiau is offline   Reply With Quote
Old 12-19-2011, 05:37 PM   #4 (permalink)
Untangle Ninja
 
Mathiau's Avatar
 
Join Date: Feb 2008
Location: Costa Frickn' Rica
Posts: 1,467
Mathiau is on a distinguished road
Send a message via AIM to Mathiau Send a message via MSN to Mathiau Send a message via Yahoo to Mathiau
Default

script ran and usage has dropped to low now,. sitting around 1min avg of 3
__________________
Def1:Started:UT 7.1 x64 -- Current :UT 9.1 x64| Gigabyte GM-G31 mATX | Intel Q8200 | 8G DDR2 800 | 80G WD | 4x Intel Pro 1000 GT NIC's | Corsair 550W PSU | Norco RPC-250 2U Case | 50mb/50mb | 10 users
Mathiau is offline   Reply With Quote
Old 01-18-2012, 12:40 AM   #5 (permalink)
Newbie
 
Join Date: Jan 2012
Location: Budapest
Posts: 6
tiger1342 is on a distinguished road
Default

Hi!
I am still having same issue: java uses 20-50% CPU.
Screens:
We have 100 PC-s, it happens from update to 9.1.1.
I tried the patch, but it says not compatible with 9.1 version.
Thanks in advice!
Best Regards:
tiger1342
sysadmin
tiger1342 is offline   Reply With Quote
Old 01-18-2012, 12:44 AM   #6 (permalink)
Newbie
 
Join Date: Jan 2012
Location: Budapest
Posts: 6
tiger1342 is on a distinguished road
Default

Uuups, it doesn't allow images yet...
My config:
HP ProLiant ML150 2 Xeon 5110 1.6 GHz, 2 GB RAM, 155 GB disk. (Untangle uses 80 GB.)
Java 40%, postgres 10% cpu.
Any ideas?
THX
tiger1342 is offline   Reply With Quote
Old 01-18-2012, 06:54 AM   #7 (permalink)
Untangle Ninja
 
mrunkel's Avatar
 
Join Date: Jul 2008
Posts: 2,770
mrunkel is on a distinguished road
Default

Quote:
Originally Posted by tiger1342 View Post
Uuups, it doesn't allow images yet...
My config:
HP ProLiant ML150 2 Xeon 5110 1.6 GHz, 2 GB RAM, 155 GB disk. (Untangle uses 80 GB.)
Java 40%, postgres 10% cpu.
Any ideas?
THX
Please start your own thread.

In any case, using 50% of your CPU is a problem? It's supposed to use your CPU, it's doing lots of stuff.
__________________
m.


Big Frickin Disclaimer:
While I'm pretty sure, I can't guarantee that I know what I'm doing. There might be a better way to do this, and this way might actually suck. Make sure you understand the implications of what you're doing before trying to follow these directions.

It often helps troubleshooting if you have a good network map. Look here if you want my advice on how to draw one.
Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
If you need Untangle support please call or email support@untangle.com
mrunkel is online now   Reply With Quote
Old 01-18-2012, 07:40 AM   #8 (permalink)
Newbie
 
Join Date: Jan 2012
Location: Budapest
Posts: 6
tiger1342 is on a distinguished road
Default

Quote:
Originally Posted by mrunkel View Post
Please start your own thread.

In any case, using 50% of your CPU is a problem? It's supposed to use your CPU, it's doing lots of stuff.
Okay, ofkorz must be not problem.
But I see now interesting thing: web-gui says
Total Memory: 2124 MB
Used: 41%
Free 59%.

From SSH console top command output looks like this:

top - 16:34:57 up 19:26, 2 users, load average: 8.10, 5.82, 4.81
Tasks: 109 total, 1 running, 108 sleeping, 0 stopped, 0 zombie
Cpu(s): 7.7%us, 1.5%sy, 0.0%ni, 0.5%id, 90.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 2075140k total, 2019224k used, 55916k free, 22448k buffers
Swap: 2072376k total, 1684k used, 2070692k free, 1144064k cached

I think we ran out of memory... (
With 9.0 version there was no problem, now something happened...
I will try to open new thread.
Thanks!
tiger1342 is offline   Reply With Quote
Old 01-18-2012, 11:23 AM   #9 (permalink)
Untangle Ninja
 
mrunkel's Avatar
 
Join Date: Jul 2008
Posts: 2,770
mrunkel is on a distinguished road
Default

Quote:
Originally Posted by tiger1342 View Post
Okay, ofkorz must be not problem.
But I see now interesting thing: web-gui says
Total Memory: 2124 MB
Used: 41%
Free 59%.

From SSH console top command output looks like this:

top - 16:34:57 up 19:26, 2 users, load average: 8.10, 5.82, 4.81
Tasks: 109 total, 1 running, 108 sleeping, 0 stopped, 0 zombie
Cpu(s): 7.7%us, 1.5%sy, 0.0%ni, 0.5%id, 90.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 2075140k total, 2019224k used, 55916k free, 22448k buffers
Swap: 2072376k total, 1684k used, 2070692k free, 1144064k cached

I think we ran out of memory... (
With 9.0 version there was no problem, now something happened...
I will try to open new thread.
Thanks!
No, you haven't run out of memory. run free -m. Or just look at the buffers value on the line you posted.

Linux uses any unused memory for file buffers. That memory can be instantly reallocated to any process that needs it. That is why we don't include it in the GUI memory stats.
__________________
m.


Big Frickin Disclaimer:
While I'm pretty sure, I can't guarantee that I know what I'm doing. There might be a better way to do this, and this way might actually suck. Make sure you understand the implications of what you're doing before trying to follow these directions.

It often helps troubleshooting if you have a good network map. Look here if you want my advice on how to draw one.
Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
If you need Untangle support please call or email support@untangle.com
mrunkel is online now   Reply With Quote
Old 01-19-2012, 12:46 AM   #10 (permalink)
Newbie
 
Join Date: Jul 2009
Posts: 13
ittechie is on a distinguished road
Default

I'm seeing the same high CPU due to JAVA...

1. Bombed the box, re-installed from newest iso and restored settings... Same issue.
2. Bombed the new box, re-installed from newest iso again, configured manually and only the startup wizard for external/internal networks... Java now running at +-40% CPU and 78% RAM...

Anyone else think this is a bug in the new software?

PS. I tried running that vacuuming script, says it's not valid for 9.1.1, only 9.1
ittechie is offline   Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 07:57 AM.


© 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.6.0 PL2