For now, you can always adjust the polling period to something really large or 0 or disable it altogether.
Jarek On Wed, Sep 19, 2012 at 7:03 AM, weberjn <[email protected]> wrote: > 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 < > >> weberjn@ > >> > 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.
