On Jul 23, 1:56 pm, Dan Wilson <[email protected]> wrote:
> Jeff,
>
> You say you have 2GB of ram, but you also say you have memory problems.
>
> Depending on which Operating System you have, you might only be able to
> address 1.2 GB of Ram in your JVM. Furthermore, if you don't know how to
> tune your JVM, it's likely your JVM settings are stock, which isn't good at
> all.
>

Linux

> I don't use Railo so I have no idea how it ships. But CF ships with 512MB of
> ram for the main heap. This used to be a lot, but then again, I remember
> when a 4GB hard drive was cavernous, know what I'm saying?
>
> I'm going to help you out a little bit and you've got to do the rest of the
> work because you'll have some particulars with Railo that I won't be able to
> help with.
>
> We are going to start by adjusting your JVM settings. In your Railo install
> or in your Tomcat or whatever, you'll find a jvm.config file. Paste the
> contents of that file intohttp://modelglue.pastebin.com
>

I THINK this is what you're looking for:

JAVA_OPTS="-Xms128m -Xmx1280m"; export JAVA_OPTS

thats from my setenv.sh file (and its ALL thats in there).  I cant
seem to find the jvm.config file....

> Then send the URL in your next email to the group.
>
> I'll make some adjustments, you can (after making a backup copy) replace
> your old file with the new file, then try your application again. You'll
> find instant relief. The question will be how much relief will you need.
>
> I'll also want to know the following:
>
> What OS are you using ( and version )

Linux
2.6.18-92.1.22.el5xen

> What web server are you using?

Apache

> Is the web server on the same machine?

Yes

> Are you using a database? If so, is the database on the same machine as
> Railo?

Yes, Mysql, Yes

> What percentage free memory do you have on the machine BEFORE you start
> Railo?
>

Rail is definitely taking up all available memory, but I believe that
is by design (it will take all it can to cache and what not).  Here
are the processes running:

                 1577            1567.88         root    
/opt/railo/jdk/jre/bin/java -
Djava.util.logging.config.file=/opt/railo/tomcat/conf/
logging.propertie
                907             109.5   named   /usr/sbin/named -u named -t 
/var/named/chroot
                1138            27.36   mysql   /usr/libexec/mysqld 
--basedir=/usr --datadir=/
var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/
                10149           26.2    apache  /usr/sbin/httpd
                10151           26.2    apache  /usr/sbin/httpd
                11266           26.19   apache  /usr/sbin/httpd
                12974           26.19   apache  /usr/sbin/httpd
                14163           26.19   apache  /usr/sbin/httpd
                11297           26.19   apache  /usr/sbin/httpd
                12327           26.19   apache  /usr/sbin/httpd
                10146           26.19   apache  /usr/sbin/httpd
                10144           26.19   apache  /usr/sbin/httpd
                10145           26.19   apache  /usr/sbin/httpd
                10147           26.19   apache  /usr/sbin/httpd
                10148           26.19   apache  /usr/sbin/httpd
                10150           26.18   apache  /usr/sbin/httpd
                10142           25.92   root    /usr/sbin/httpd
                1022            24.61   root    /usr/sbin/snmpd -Lsd -Lf 
/dev/null -p /var/run/
snmpd.pid -a
                15029           9.67    root    sshd: r...@pts/0
                1039            6.86    root    /usr/sbin/sshd
                1340            6.67    root    
/usr/libexec/courier-authlib/authdaemond
                1295            6.62    root    
/usr/libexec/courier-authlib/authdaemond
                10282           6       lxlabs  
/usr/local/lxlabs/ext/lxlighttpd/sbin/kloxo.httpd
-f /usr/local/lxlabs/kloxo/file/lighttpd.conf
                10288           4.61    root    ../sbin/kloxo.exe master
                1062            4.24    ntp     ntpd -u ntp:ntp -p 
/var/run/ntpd.pid -g



Thanks again for the help!

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to