Synology > Slow to process

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
aglyons
Posts: 19
Joined: 29 Dec 2020, 18:42

Synology > Slow to process

Post by aglyons »

I recently updated my DS1515+ to DSM7.1

The process went fine and everything was updated successfully. Filebot and FilebotNode were both reinstalled with the DSM7 repository. Java 11 OpenJDK was needed to get FB running again.

But I've come to realize that the process takes quite some time. Not hours but it does take about 1-2 min before anything is output in the console.

I did run a command that I found in another post

Code: Select all

filebot -script fn:properties --def net.filebot.logging.time=true
The results did show a message about "Low Memory Limit".

I do have 16GB installed with both expansion ports populated (DX513 & DX517) and I never see a CPU spike when it runs.

Code: Select all

filebot -script 'fn:sysinfo' --log-file '/var/packages/filebot-node/var/filebot.log'

------------------------------------------

Generate CDS archive...
Low Memory Limit: 259 MB
* Consider using JAVA_OPTS -Xmx384m or higher
* Consider using -no-index on low-memory devices
FileBot 4.9.6 (r9125)
JNA Native: 6.1.2
MediaInfo: 19.04
Tools: 7z/16.02 unrar/5.70
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-04-11 (r811)
Groovy: 3.0.9
JRE: OpenJDK Runtime Environment 11.0.12
JVM: OpenJDK 64-Bit Zero VM
WARNING: BAD JVM = Zero VM
CPU/MEM: 4 Core / 259 MB Max Memory / 36 MB Used Memory
OS: Linux (amd64)
HW: Linux DS1515 3.10.108 #42661 SMP Fri Apr 1 15:30:46 CST 2022 x86_64 GNU/Linux synology_avoton_1515+
CPU/MEM: Intel(R) Atom(TM) CPU  C2538  @ 2.40GHz [MemTotal: 16 GB | MemFree: 181 MB | SwapTotal: 12 GB | SwapFree: 12 GB]
STORAGE: ext4 [/] @ 405 MB | btrfs [/volume2] @ 7 TB | btrfs [/volume3] @ 7 TB | btrfs [/volume1] @ 2.5 TB | exfat [/volumeUSB1/usbshare] @ 7 TB
USER: FileBot
DATA: /var/packages/filebot/var/data/106247
Package: SPK
License: FileBot License **************** (Valid-Until: 2071-04-11)
Done ヾ(@⌒ー⌒@)ノ

------------------------------------------

[Process completed]
Wondering if this may be alluding to the problem. Any ideas on what is needed to speed the process up?
aglyons
Posts: 19
Joined: 29 Dec 2020, 18:42

Re: Synology > Slow to process

Post by aglyons »

ok, uninstalled the JavaJDK and the Java installer from Synology. Installed the Java Installer from Rednoah and things are back to normal again.

No more low memory error message.

Code: Select all

filebot -script 'fn:sysinfo' --log-file '/var/packages/filebot-node/var/filebot.log'

------------------------------------------

FileBot 4.9.6 (r9125)
JNA Native: 6.1.2
MediaInfo: 19.04
Tools: 7z/16.02 unrar/5.70
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-04-11 (r811)
Groovy: 3.0.9
JRE: OpenJDK Runtime Environment 17.0.2
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 4.2 GB Max Memory / 60 MB Used Memory
OS: Linux (amd64)
HW: Linux DS1515 3.10.108 #42661 SMP Fri Apr 1 15:30:46 CST 2022 x86_64 GNU/Linux synology_avoton_1515+
CPU/MEM: Intel(R) Atom(TM) CPU  C2538  @ 2.40GHz [MemTotal: 16 GB | MemFree: 203 MB | SwapTotal: 12 GB | SwapFree: 12 GB]
STORAGE: ext4 [/] @ 407 MB | btrfs [/volume2] @ 7 TB | btrfs [/volume3] @ 7 TB | btrfs [/volume1] @ 2.5 TB | exfat [/volumeUSB1/usbshare] @ 7 TB
USER: FileBot
DATA: /var/packages/filebot/var/data/106247
Package: SPK
License: FileBot License **********(Valid-Until: 2071-04-11)
Done ヾ(@⌒ー⌒@)ノ

------------------------------------------

[Process completed]
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology > Slow to process

Post by rednoah »

You installed OpenJDK package provided by Synology:

Code: Select all

WARNING: BAD JVM = Zero VM

:arrow: Please follow the instructions:
rednoah wrote: 10 Jul 2014, 06:56 FileBot requires java. Please use the Java Installer package to install the latest OpenJDK binaries. DO NOT install the OpenJDK package provided by Synology.
:idea: Please read the FAQ and How to Request Help.
Post Reply