Hi Paul,

I don't know if this is relevant in your case, but I've had this problem
before on other FreeBSD versions (4.7-STABLE) and fixed it as follows:

FreeBSD has kernel level user process limits, including direct memory
allocation If the user limits are too low for your jboss instance together
with your application, jboss reports an OutOfMemory error. This can be
fixed by increasing the kernel user process limits by adding the following
lines to the kernel config file and rebuilding the kernel. The example
below limits the user to 384Mb of memory, but this can be increased to
what you need,

options         MAXDSIZ="(384*1024*1024)"
options         MAXSSIZ="(384*1024*1024)"
options         DFLDSIZ="(384*1024*1024)"

Of course, if this has already been done, the memory limits are high
enough, and the problem still persists, the problem lies elsewhere. It is
however more than likely not a jboss problem in this case.

Hope this helps.

Cheers,
Ryan


On Fri, 13 Feb 2004, Paul Ekeland wrote:

> Hello all,
>
> I am trying to deploy our application on JBoss in a freeBSD 5.1 platform with 1Go of 
> RAM, only to get to an OutOfMemory error. Here is the configuration:
>
>  1. In a first step, we precompiled our JSP's (all 800 of them) and the server 
> crashes during the loading of the servlets
>  2. Without the precompilation, JBoss crashes the same way a bit later during the 
> initialisation process.
> In a windows environment, with a less powerful machine, I have found the solution by 
> tweaking the standardJboss.xml file and lowering all non-cluster related
> max-caches to 10000. That did the job and I thought hopefuly the result would be the 
> same on our main server. Unfortunately, we got exactly the same error as
> before so I am wondering even if these modifications are taken in account in the 
> freeBSD environment?
> Any hint is very appreciated! Thanks,
>
> Paul
>
> ------------------------------------------------------- SF.Net is sponsored by: 
> Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux
> with a free DVD software kit from IBM. Click Now! 
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click 
> _______________________________________________ JBoss-user
> mailing list [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to