## Plugin Configuration The directory `/awips2/edex/conf/resources` contains configuration text files for specific plugins, which allow for user-defined values which are read by AWIPS plugins on EDEX start: com.raytheon.edex.plugin.gfe.properties com.raytheon.edex.plugin.grib.properties com.raytheon.edex.plugin.radar.properties com.raytheon.edex.text.properties com.raytheon.uf.edex.archive.cron.properties com.raytheon.uf.edex.database.properties com.raytheon.uf.edex.registry.ebxml.properties distribution.properties edex-localization-http.properties edex-ogc.properties edex-requestsrv.properties goesr.properties purge.properties warning.properties Look at *purge.properties* for example: # Master switch to enable and disable purging purge.enabled=true # Interval at which the purge job kicks off purge.cron=0+0/15+*+*+*+? # Interval at which the outgoing files are purged purge.outgoing.cron=0+30+*+*+*+? # Interval at which the logs are purged purge.logs.cron=0+30+0+*+*+? # Interval at which hdf5 orphans are purged purge.orphan.period=24h # Number of days older than the earliest known data to delete. purge.orphan.buffer=7 In *com.raytheon.edex.plugin.grib.properties*, *com.raytheon.edex.plugin.radar.properties*, and *com.raytheon.edex.plugin.radar.properties* you can adjust the number of decoder threads for each plugin. cat com.raytheon.edex.plugin.radar.properties # Number threads for radar products ingested from the SBN radar-decode.sbn.threads=5 --- ## Ingest Modes By default, EDEX starts three "modes": *ingest*, *ingestGrib*, and *request* (each as its own JVM). The file `/awips2/edex/conf/modes/modes.xml` contains all available mode definitions, including some specific modes for Hydro Server Applications, ebXML Registries, and Data Delivery. EDEX services are registered through spring, and by including or excluding specific spring files (usually by datatype plugin name) we can finely customize EDEX startup. In `/awips2/edex/conf/modes/modes.xml` there are a number of unused plugin decoders excluded because the data are not available outside of the SBN: ... .*request.* edex-security.xml ebxml.*\.xml grib-decode.xml grid-staticdata-process.xml .*(taf|nctext).* webservices.xml ebxml.*\.xml .*datadelivery.* .*bandwidth.* .*sbn-simulator.* grid-metadata.xml .*ogc.* ... In this example, OGC, Data Delivery, request, ebXML, and grib plugins are excluded because they are included in their own mode/JVM. > TAF and NCTEXT plugins are disabled here due to performance issues. --- ## JVM Memory The directory `/awips2/edex/etc/` contains files which define the amount of memory used for each of the three EDEX JVMs (ingest, ingestGrib, request): ls -al /awips2/edex/etc/ -rw-r--r-- 1 awips fxalpha 1287 Jul 24 18:41 centralRegistry.sh -rw-r--r-- 1 awips fxalpha 1155 Jul 24 18:42 default.sh -rw-r--r-- 1 awips fxalpha 1956 Jul 24 18:41 ingestGrib.sh -rw-r--r-- 1 awips fxalpha 337 Jul 24 18:36 ingest.sh -rw-r--r-- 1 awips fxalpha 848 Jul 24 18:42 profiler.sh -rw-r--r-- 1 awips fxalpha 1188 Jul 24 18:41 registry.sh -rw-r--r-- 1 awips fxalpha 601 Jul 24 18:36 request.sh -rw-r--r-- 1 awips fxalpha 1124 Jul 23 17:22 sbnSimulator.sh Each file contains the **Xmx** definition for maximum memory: export INIT_MEM=512 # in Meg export MAX_MEM=4096 # in Meg After editing these files, you must restart edex (`service edex_camel restart`). ---