mktlb0303 Posted October 17, 2022 Share Posted October 17, 2022 (edited) Hi all, I have an issue with NZBHydra2. It is constantly using lots of CPU (10-15%) and disks (80-85 MB/s). While running HTOP in the cmd prompt I get the following: I have also attached the log. I would like to reduce the CPU and Disk usage. Thank you for your help. 2022.10.17 - NZBHydra2-log.txt Edited October 17, 2022 by mktlb0303 Quote Link to comment
Kloudz Posted January 12, 2023 Share Posted January 12, 2023 (edited) On 10/17/2022 at 6:26 AM, mktlb0303 said: Hi all, I have an issue with NZBHydra2. It is constantly using lots of CPU (10-15%) and disks (80-85 MB/s). While running HTOP in the cmd prompt I get the following: I have also attached the log. I would like to reduce the CPU and Disk usage. Thank you for your help. 2022.10.17 - NZBHydra2-log.txt 16.34 kB · 0 downloads I want to know whats going on as well. NZBHydra constantly writes to disk. I didn't notice till one day I was starring at my server and disk activity light was constantly on. Stopped NZBHydra and now activity light blinks as normal Has there been any changes lately? I moved to Prowlarr due to this issue Edited January 12, 2023 by Kloudz Quote Link to comment
DaveH Posted January 29, 2023 Share Posted January 29, 2023 (edited) Have just updated nzbhydra2 to the latest version, but the webpage is no longer loading, and in the logs it's showing this at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130) 2023-01-29 01:46:07,688 ERROR - Main process shut down unexpectedly. If the wrapper was started in daemon mode you might not see the error output. Start Hydra manually with the same parameters in the same environment to see it Logging wrapper output to /config/logs/wrapper.log 2023-01-29 01:46:07,803 INFO - Determined release type: native 2023-01-29 01:46:07,810 INFO - Starting NZBHydra main process with command line: ./core -Xmx256M -DfromWrapper=true -DinternalApiKey=phuzcvsoemkavtvqdfde -Dspring.output.ansi.enabled=ALWAYS --nobrowser --datafolder /config in folder /app/nzbhydra2 01:46:09.297 [main] INFO org.nzbhydra.NzbHydra - Version: 5.1.1 01:46:09.297 [main] INFO org.nzbhydra.NzbHydra - Build timestamp: 2023-01-24 18:15 01:46:09.384 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Ignored because not a concrete top-level class: file [/org/nzbhydra/config/migration/ConfigMigrationStep.class] 01:46:09.384 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep003to004.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep004to005.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep005to006.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep006to007.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep007to008.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep008to009.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep009to010.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep010to011.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep011to012.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep012to013.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep013to014.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep014to015.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep015to016.class] 01:46:09.385 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep016to017.class] 01:46:09.386 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep017to018.class] 01:46:09.386 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep018to019.class] 01:46:09.409 [main] DEBUG org.nzbhydra.config.ConfigReaderWriter - Writing to file /config/nzbhydra.yml 01:46:10.248 [main] DEBUG org.nzbhydra.config.ConfigReaderWriter - Writing config took 858ms 01:46:10.248 [main] DEBUG org.nzbhydra.NzbHydra - Setting property browser.disabled to value true 01:46:10.270 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.host to 0.0.0.0 01:46:10.271 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.port to 5076 01:46:10.271 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.urlBase to / 01:46:10.271 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.ssl to false 01:46:10.271 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.databaseCompactTime to 15000 01:46:10.271 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.databaseRetentionTime to 1000 01:46:10.271 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.databaseWriteDelay to 5000 01:46:10.271 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.logging.consolelevel to INFO 01:46:10.271 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.logging.logfilelevel to INFO 01:46:10.271 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.logging.logMaxHistory to 30 .__ __. ________ .______ __ __ ____ ____ _______ .______ ___ ___ | \ | | | / | _ \ | | | | \ \ / / | \ | _ \ / \ |__ \ | \| | `---/ / | |_) || |__| | \ \/ / | .--. || |_) | / ^ \ ) | | . ` | / / | _ < | __ | \_ _/ | | | || / / /_\ \ / / | |\ | / /----.| |_) || | | | | | | '--' || |\ \----./ _____ \ / /_ |__| \__| /________||______/ |__| |__| |__| |_______/ | _| `._____/__/ \__\ |____| 2023-01-29 01:46:10.342 INFO --- [ main] org.nzbhydra.NzbHydra : Starting AOT-processed NzbHydra using Java 17.0.5 with PID 642 (/app/nzbhydra2/core started by abc in /app/nzbhydra2) 2023-01-29 01:46:10.345 INFO --- [ main] org.nzbhydra.NzbHydra : The following 1 profile is active: "default" 2023-01-29 01:46:10.440 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'hydraTaskConfiguration' of type [org.nzbhydra.tasks.HydraTaskConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.458 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'baseConfig' of type [org.nzbhydra.config.BaseConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.460 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'categoriesConfigValidator' of type [org.nzbhydra.config.validation.CategoriesConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.461 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'downloaderConfigValidator' of type [org.nzbhydra.config.validation.DownloaderConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.462 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'downloadingConfigValidator' of type [org.nzbhydra.config.validation.DownloadingConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.463 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'searchingConfigValidator' of type [org.nzbhydra.config.validation.SearchingConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.466 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'loggingConfigValidator' of type [org.nzbhydra.config.validation.LoggingConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.467 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'mainConfigValidator' of type [org.nzbhydra.config.validation.MainConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.469 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'userAuthConfigValidator' of type [org.nzbhydra.config.validation.UserAuthConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.469 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'authConfigValidator' of type [org.nzbhydra.config.validation.AuthConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.471 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'indexerConfigValidator' of type [org.nzbhydra.config.validation.IndexerConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.472 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'notificationConfigValidator' of type [org.nzbhydra.config.validation.NotificationConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.473 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'baseConfigValidator' of type [org.nzbhydra.config.validation.BaseConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.474 INFO --- [ main] org.nzbhydra.config.BaseConfigHandler : Using data folder /config 2023-01-29 01:46:10.829 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'baseConfigHandler' of type [org.nzbhydra.config.BaseConfigHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.831 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configProvider' of type [org.nzbhydra.config.ConfigProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.834 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'hydraGlobalMethodSecurityConfiguration' of type [org.nzbhydra.auth.HydraGlobalMethodSecurityConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.840 INFO --- [ main] a.HydraGlobalMethodSecurityConfiguration : Enabling auth type BASIC 2023-01-29 01:46:10.841 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.844 INFO --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'taskExecutor' of type [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-01-29 01:46:10.956 INFO --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 5076 (http) 2023-01-29 01:46:10.960 INFO --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 534 ms 2023-01-29 01:46:11.092 INFO --- [ main] o.s.boot.web.servlet.RegistrationBean : Filter characterEncodingFilter was not registered (possibly already registered?) 2023-01-29 01:46:11.097 INFO --- [ main] o.nzbhydra.database.DatabaseRecreation : Determined existing database to be version 2. No migration needed. 2023-01-29 01:46:11.191 INFO --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 9.10.2 by Redgate 2023-01-29 01:46:11.192 INFO --- [ main] o.f.c.internal.license.VersionPrinter : See what's new here: https://flywaydb.org/documentation/learnmore/releaseNotes#9.10.2 2023-01-29 01:46:11.192 INFO --- [ main] o.f.c.internal.license.VersionPrinter : 2023-01-29 01:46:11.192 WARN --- [ main] o.f.core.internal.util.FeatureDetector : Unable to scan location: /migration (unsupported protocol: resource) 2023-01-29 01:46:11.193 WARN --- [ main] o.f.c.i.s.classpath.ClassPathScanner : Unable to scan location: /migration (unsupported protocol: resource) 2023-01-29 01:46:11.194 INFO --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2023-01-29 01:46:11.252 INFO --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:file:/config/database/nzbhydra user=SA 2023-01-29 01:46:11.252 INFO --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2023-01-29 01:46:11.253 INFO --- [ main] o.f.c.i.database.base.BaseDatabaseType : Database: jdbc:h2:file:/config/database/nzbhydra (H2 2.1) 2023-01-29 01:46:11.255 INFO --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 2 migrations (execution time 00:00.000s) 2023-01-29 01:46:11.256 WARN --- [ main] w.s.c.ServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer': Found non-empty schema(s) "PUBLIC" but no schema history table. Use baseline() or set baselineOnMigrate to true to initialize the schema history table. 2023-01-29 01:46:11.256 INFO --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... Running UnRaid 6.11.5 Should I use a previous version of nzbhydra2 at the moment? Edited January 29, 2023 by DaveH Quote Link to comment
DaveH Posted January 29, 2023 Share Posted January 29, 2023 In the end, I backed up my config folder, wiped it, re-installed with the latest version and then restored a d/b backup and let it run the migration again and it all worked ok. Quote Link to comment
CyberMew Posted April 28, 2023 Share Posted April 28, 2023 (edited) I am noticing the container size is growing. It grew by 2gb over a couple months. Settings is linked to app data folder on cache drive already. Any idea what is going on? edit: a restart fixed it. I wonder if we need to restart it manually often. Edited April 28, 2023 by CyberMew Quote Link to comment
Fffrank Posted April 28, 2023 Share Posted April 28, 2023 9 minutes ago, CyberMew said: I am noticing the container size is growing. It grew by 2tb over a couple months. Settings is linked to app data folder on cache drive already. Any idea what is going on? Must be some kind of logging. There are settings for log rotation in the hydra interface (have to click the advanced settings toggle.). You can also launch a terminal into the running container to try and poke around. docker exec -it <container name> /bin/bash Quote Link to comment
Mattti1912 Posted May 11, 2023 Share Posted May 11, 2023 Hello out there:) i´ve got a problem.. i have installed nzbhydra on my server. But i have also put the traffic through my vpn container:) i followed point 24 in this guide: https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md my problem is that i cant connect it to sonarr?? i´ve tried to put in localhost:5076.. But it´s not working:(. What could the problem be?? And how do i solve it?? best regards Quote Link to comment
Fffrank Posted May 11, 2023 Share Posted May 11, 2023 39 minutes ago, Mattti1912 said: Hello out there:) i´ve got a problem.. i have installed nzbhydra on my server. But i have also put the traffic through my vpn container:) i followed point 24 in this guide: https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md my problem is that i cant connect it to sonarr?? i´ve tried to put in localhost:5076.. But it´s not working:(. What could the problem be?? And how do i solve it?? best regards Post a screenshot of your VPN docker config and your sonarr docker config Quote Link to comment
Mattti1912 Posted May 12, 2023 Share Posted May 12, 2023 (edited) Hello again, and thank you.. here is the files Edited May 12, 2023 by Mattti1912 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.