FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Memory leaks on Fedora 9 ? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Memory leaks on Fedora 9 ?
#609
davegball (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Memory leaks on Fedora 9 ? 5 Months, 3 Weeks ago Karma: 0  
I get the following memory leak errors when running 'run.sh -b 0.0.0.0' on a Fedora Core 9 system:

"GC warning: repeated allocation of very large block: may lead to memory leak and poor performance".

'Top' shows 100% utilization and 'cat /proc/meminfo' shows very low free memory and dropping every second.

Is this a known issue?

DGB.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#617
pavila (Admin)
Admin
Posts: 304
graph
User Offline Click here to see the profile of this user
Gender: Male OpenKM
Re:Memory leaks on Fedora 9 ? 5 Months, 2 Weeks ago Karma: 7  
In Ubuntu with JDK 1.5 runs ok. You should search for Java or JBoss problems for Fedora.
 
Report to moderator   Logged Logged  
 
Be open, my friend!
  The administrator has disabled public write access.
#665
davegball (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Memory leaks on Fedora 9 ? 5 Months, 1 Week ago Karma: 0  
Thanks. I was able to get OpenKM up and running on Ubuntu with a default Ubuntu install. However Fedora comes with GCJ rather than Sun JDK and OpenKM doesn't seem to like GCJ. I was able to fix the memory issues by installing openjdk on my Fedora 9 machine.

I was also getting webservices errors messages but with a little tweaking to turn off web Services as mentioned in an earlier post (referencing OpenKM.ear) I was able to get OpenKM up and running.

Now here's the thing. I have OpenKM running on port 8080 and I've edited server.xml to bind to the external interface of my server however when I connect remotely to my Fedora server on 8080 I only get the Jboss admin page not OpenKM.

The last few lines of the OpenKM run.sh -b <my IP address> seem to imply that everything went ok. There are no error messages on the console. Any idea why I don't get the OpenKM login page?

07:00:27,994 INFO [EARDeployer] Started J2EE application: file:/opt/OpenKM-2.0_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
07:00:28,078 INFO [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-10.1.1.1-8080
07:00:28,101 INFO [AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-10.1.1.1-8009
07:00:28,130 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 25s:291ms
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#667
pavila (Admin)
Admin
Posts: 304
graph
User Offline Click here to see the profile of this user
Gender: Male OpenKM
Re:Memory leaks on Fedora 9 ? 5 Months, 1 Week ago Karma: 7  
Don't touch server.xml file: there is no reason to do it. If you want JBoss to server to any IP (not only from localhost), start JBoss with
Code:

./bin/run.sh -b 0.0.0.0
 
Report to moderator   Logged Logged  
 
Be open, my friend!
  The administrator has disabled public write access.
#669
davegball (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Memory leaks on Fedora 9 ? 5 Months ago Karma: 0  
This wasn't my issue. Here's how I fixed it.

1. Removed earlier OpenKM install.
2. Replace OpenJDK with Java 1.5
3. Lots of Webservices errors when running './run.sh -b 0.0.0.0'.
4. Found an earlier link to needing Internet access to validate XML.
5. Set up JAVA_OPTS with my proxy as follows:

export JAVA_OPTS="-Dhttp.proxyHost=x.x.x.x -Dhttp.proxyPort=3128"

NOTE: Linux http_proxy environment variable needs http:// but Java_OPTS only the IP address. This caught me out.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#672
jllort (Admin)
Admin
Posts: 291
graphgraph
User Offline Click here to see the profile of this user
Re:Memory leaks on Fedora 9 ? 5 Months ago Karma: 4  
If you've got problems with Webservices, that needs internet connection ( know jboss bug not still solved ), one simple solution is to open OpenKM.ear -> OpenKM.war and remove the WEB_INF/wsdl directory (here's the xml webservices descriptor ). Doing it you'll disabling Webservices, but if you don't use you can drop it.
 
Report to moderator   Logged Logged  
 
Be open my friend
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop