Menu

#1 jdd using up to 135mb memory

open
nobody
None
5
2014-12-14
2004-11-18
No

I'm not sure if you run linux or not, but I keep my
computer on for many days at a time and then after a
while, it start running very slow. I checked out what
was happening and found jdd using a ton of memory. Not
sure if garbage collection is not being called, or if
you have huge lists of stuff sticking around, but I
just wanted to let you know that.

I downloaded jdd about 2/3 months so I'm not sure if
there is a new version out. I'll try getting the
current stable version and see if it makes a difference.

Here are my config files (most of it is commented out):

<?xml version="1.0" encoding="UTF-8"?>
<jddconfig>

&lt;\!--
The configuration file for JDD.

JDD is interested in two things: 1\) how to find out

what your IP address is,
and 2) what to do when your IP address changes.
"Monitors" are responsible
for the former and "Updaters" are handle the latter.

You specify and configure monitors and updaters using

XML tags. Generally,
each tag represents one monitor or one updater. The
name of the tag specifies
one of the entries in modules.xml, while the
attributes of the tag provide
information to the monitor or updater.
-->

&lt;\!--
Specifies the level of detail in the logging messages.

Values \(from least to most detail\): FATAL, ERROR,

WARNING, INFO, VERBOSE, DEBUG.

Each subsequent value will show a superset of the

previous value's messages, so
DEBUG will show all messages while ERROR will only
show FATAL and ERROR messages.
-->
<log level="DEBUG"/>

&lt;\!--
Defines a list of monitors that can be polled for the

current IP address.
JDD will start at the top of the list and use one
monitor at a time, only
moving on to the next monitor if the current one fails.

Also defines a list of updaters, which will all always

be triggered when
the IP address changes.

Again, the monitors will be used one at a time \(only

moving on to the next
when the current one fails), but the updaters will be
used in parallel.
-->
<multimonitor>

    &lt;monitors interval="10:00"&gt;

        &lt;\!--
        Poll Linksys router at 192.168.0.1 for IP address

every 30 seconds.

        To use a different router brand, replace the element

name "linksys" with
one of the following values: linksys,
watchguard-soho, netopia-r910,
smc-barricade, netgear-rt3xx, maxgate-ugate3x00,
3com-3c886a, sohoware-nbg800,
xsense-aero, alcatel-stp, allnet-1298,
3com-oc-remote812, e-tech, cayman-3220h,
vigor-2200usb, dlink-614.

        If your router is not represented in that list, or

doesn't work correctly,
e-mail code@joecheng.com for assistance.
-->
<!--
<linksys routerAddr="192.168.0.1"
password="ROUTER_PASSWORD" interval="30"/>
-->

        &lt;\!--
        &lt;dlink-614 routerAddr="192.168.0.1" username="admin"

password="mjunhy" interval="30"/>
-->

        &lt;\!--
        Poll http://ipcheck.dyndns.org every 7.5 minutes.

        If you want to use a different IP checking web page,

copy and modify the
entry for web_dyndns in modules.xml. You can also
replace web_dyndns with
one of the following:
web_shat (uses http://ipid.shat.net/iponly/\)
web_whatismyip (uses http://www.whatismyip.com/\)
-->
<web_dyndns interval="07:30"/>

    &lt;/monitors&gt;

    &lt;updaters&gt;

        &lt;\!-- for a DynDNS.org 'custom' account --&gt;
        &lt;\!--
        &lt;dyndns system="custom" username="USERNAME"

password="PASSWORD" wildcard="false">
<host>full.hostname.com</host>
</dyndns>
-->

        &lt;\!-- for a DynDNS.org 'dynamic' account --&gt;
        &lt;dyndns system="dyndns" username="\*\*\*\*\*"

password="*****" wildcard="false">
<host>*****.homelinux.org</host>
</dyndns>

        &lt;\!-- for a dynu.com 'basic' account --&gt;
        &lt;\!--
        &lt;dynu service="basic" first="com" domain="joecheng"

password="joecheng"/>
-->

        &lt;\!-- for a dynu.com 'premium' account --&gt;
        &lt;\!--
        &lt;dynu service="premium" first="com"

second="joecheng" password="joecheng"/>
-->

    &lt;/updaters&gt;

&lt;/multimonitor&gt;

&lt;\!--
If you don't want to take advantage of multimonitor's

ability to use
a while list of monitors, and just want to use a
single monitor, you
can specify it by itself and nest some updaters inside
the body, as
shown below.
-->
<!--
<linksys routerAddr="192.168.0.1"
password="ROUTER_PASSWORD" interval="30">
<updaters>

        &lt;dyndns system="dyndns" username="test"

password="test" wildcard="false">
<host>test.dyndns.org</host>
</dyndns>

        &lt;testupdater/&gt;

    &lt;/updaters&gt;
&lt;/linksys&gt;
\--&gt;

</jddconfig>

<?xml version="1.0" encoding="UTF-8"?>
<modules>

&lt;\!--
This file specifies the different types of monitors

and updaters that
can be referred to in config.xml. The "module"
element's "name" attribute
is the name of the corresponding XML element in
config.xml.

Unless you are creating a new type of monitor or

updater, you should not
need to make any changes to this file.
-->

&lt;monitors&gt;
    &lt;module name="testmonitor"

classname="org.jdd.monitor.TestMonitor"/>

    &lt;module name="multimonitor"

classname="org.jdd.monitor.MultiMonitor"/>

    &lt;\!-- begin web IP monitors --&gt;
    &lt;module name="web\_shat"

classname="org.jdd.monitor.WebAddrMonitor">
<param name="href"
value="http://ipid.shat.net/iponly/" skip=""/>
</module>
<module name="web_dyndns"
classname="org.jdd.monitor.WebAddrMonitor">
<param name="href" value="http://checkip.dyndns.org"
skip="IP Address:"/>
</module>
<module name="web_whatismyip"
classname="org.jdd.monitor.WebAddrMonitor">
<param name="href"
value="http://www.whatismyip.com/" skip="Your IP is"/>
</module>
<!-- end web IP monitors -->

    &lt;\!-- begin broadband router monitors --&gt;
    &lt;module name="linksys"

classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/Status.htm"/>
<param name="skip" value="WAN:"/>
</module>
<!-- the following definitions are copied from Paul
Burry's ddclient -->
<module name="watchguard-soho"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/pubnet.htm"/>
<param name="skip" value="NAME=IPAddress VALUE="/>
</module>
<module name="netopia-r910"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/WanEvtLog"/>
<param name="skip" value="local:"/>
</module>
<module name="smc-barricade"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/status.htm"/>
<param name="skip" value="IP Address"/>
</module>
<module name="netgear-rt3xx"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/mtenSysStatus.html"/>
<param name="skip" value="IP Address"/>
</module>
<module name="maxgate-ugate3x00"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/Status.htm"/>
<param name="skip" value="WAN"/>
</module>
<module name="3com-3c886a"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/stat3.htm"/>
<param name="skip" value="IP address in use"/>
</module>
<module name="sohoware-nbg800"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/status.htm"/>
<param name="skip" value="Internet IP"/>
</module>
<module name="xsense-aero"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/A_SysInfo.htm"/>
<param name="skip" value="WAN"/>
</module>
<module name="alcatel-stp"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/cgi/router/"/>
<param name="skip" value="Brt"/>
</module>
<module name="allnet-1298"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/cgi/router/"/>
<param name="skip" value="WAN"/>
</module>
<module name="3com-oc-remote812"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/callEvent"/>
<param name="skip" value="IP address in use"/>
</module>
<module name="e-tech"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/Status.htm"/>
<param name="skip" value="Public IP Address"/>
</module>
<module name="cayman-3220h"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/shell/show+ip+interfaces"/>
<param name="skip" value="inet"/>
</module>
<module name="vigor-2200usb"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/doc/online.sht"/>
<param name="skip" value="PPPoA"/>
</module>
<module name="dlink-614"
classname="org.jdd.monitor.BroadbandRouterAddrMonitor">
<param name="url" value="/st_devic.html"/>
<param name="skip" value="WAN"/>
</module>
<!-- end broadband router monitors -->
</monitors>

&lt;updaters&gt;
    &lt;module name="dyndns"

classname="org.jdd.updater.DynDnsUpdater"/>
<module name="dynu"
classname="org.jdd.updater.DynuUpdater"/>
<module name="testupdater"
classname="org.jdd.updater.TestUpdater"/>
</updaters>
</modules>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.