geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From weberjn <webe...@gmail.com>
Subject Re: Hi CPU load on idle server
Date Wed, 19 Sep 2012 11:03:28 GMT
After a day my idle Geronimo 3 server has already used over one cpu hour.
This is a serious bug, which forbids using Geronimo on CPU-restricted
machines (e.g. z/OS) and should be fixed.

Geronimo also could look if it runs under a JRE 7 and use the Watch Service
API, so idle CPU usage could be zero.

https://blogs.oracle.com/thejavatutorials/entry/watching_a_directory_for_changes

Greetings,
Juergen


Jarek Gawor wrote
> The server is periodically pooling the etc/ for new configuration
> files and hotbundles/ directory for new bundle files. The component
> that does this pooling has a bug
> (https://issues.apache.org/jira/browse/FELIX-3635) as it does some
> expensive work that it doesn't need to.
> 
> Jarek
> 
> On Tue, Sep 18, 2012 at 8:48 AM, weberjn &lt;

> weberjn@

> &gt; wrote:
>> Hi,
>>
>> I unzipped a new server instance and started it as it is, i.e. nothing
>> changed, nothing deployed, nothing done (no console, nothing).
>> After about 5 hours it has already eaten 10 cpu minutes. What does the
>> server do?
>>
>> Thanks,
>> Juergen
>>
>> juergen@tux64:~ ps -lf
>> F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY         
>> TIME
>> CMD
>> 0 R juergen  10317 19471  0  80   0 - 27549 -      14:38 pts/0   
>> 00:00:00
>> ps -lf
>> 0 S juergen  19471 19470  0  80   0 - 27597 wait   09:47 pts/0   
>> 00:00:00
>> -bash
>> 0 S juergen  29204     1  4  80   0 - 151093 futex_ 10:59 pts/0  
>> 00:10:38
>> /home/juergen/jdk1.7.0_07/jre/bin/java
>> 0 S juergen  29483     1  4  80   0 - 156309 futex_ 11:01 pts/0  
>> 00:10:43
>> /home/juergen/jdk1.7.0_07/jre/bin/java
>> juergen@tux64:~ date
>> Tue Sep 18 14:38:54 CEST 2012
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-geronimo.328035.n3.nabble.com/Hi-CPU-load-on-idle-server-tp3985733.html
>> Sent from the Users mailing list archive at Nabble.com.





--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Hi-CPU-load-on-idle-server-tp3985733p3985737.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message