External file changes sync may be slow

Answered

Hello,

After the last update to 2016.3.2 I started to see the warning in the event log. I checked and I have the right system configuration. Im in Ubuntu 16.04 and I have a file /etc/sysctl.d/60-jetbrains.conf with fs.inotify.max_user_watches = 524288 on it.

The problem is im working with a big project and a module is an Ember module, I run externaly a builder that builds the app after a change (only deltas) and update a folder of a java web the project that is part of and ear. That ear is deployed on a jboss instance. After the update, due to the inotify error, that folder is not refresh by intellij and because of that is not deployed in jboss so I can't see the modifications. I have to synch the folder manually and it's very annoying.

Someone else have this error? Can I manually tell to Intellij to watch on an specific folder?

Thanks a lot,

Flavio. 

 

2
16 comments

What file system is used ? What is the error you get? Please share idea.log: https://intellij-support.jetbrains.com/hc/articles/207241085.

0

Hi Serge,

Thanks for the quick answer. I few things for clarification. I was using this configuration since Intellij 14 without problems. The external build modified the folder, the folder was updated and deployed to jboss. Only after the update I started to have the problem.

file system: Ext4

log:

2017-01-06 11:33:21,526 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
2017-01-06 11:33:21,544 [ 18] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-163.10154.41, 21 Dec 2016 10:21)
2017-01-06 11:33:21,544 [ 18] INFO - #com.intellij.idea.Main - OS: Linux (4.4.0-57-generic, amd64)
2017-01-06 11:33:21,544 [ 18] INFO - #com.intellij.idea.Main - JRE: 1.8.0_111-b14 (Oracle Corporation)
2017-01-06 11:33:21,544 [ 18] INFO - #com.intellij.idea.Main - JVM: 25.111-b14 (Java HotSpot(TM) 64-Bit Server VM)
2017-01-06 11:33:21,547 [ 21] INFO - #com.intellij.idea.Main - JVM Args: -Xbootclasspath/a:/home/pepe/java/idea-IU/lib/boot.jar -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Dawt.useSystemAAFontSettings=lcd -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -XX:ErrorFile=/home/pepe/java_error_in_IDEA_%p.log -XX:HeapDumpPath=/home/pepe/java_error_in_IDEA.hprof -Didea.paths.selector=IntelliJIdea2016.3 -Djb.vmOptionsFile=/home/pepe/.IntelliJIdea2016.3/idea64.vmoptions -Didea.jre.check=true
2017-01-06 11:33:21,547 [ 21] INFO - #com.intellij.idea.Main - ext: /usr/lib/jvm/java-8-oracle/jre/lib/ext: [sunpkcs11.jar, localedata.jar, nashorn.jar, meta-index, sunec.jar, jfxrt.jar, sunjce_provider.jar, dnsns.jar, jaccess.jar, zipfs.jar, cldrdata.jar]
2017-01-06 11:33:21,547 [ 21] INFO - #com.intellij.idea.Main - JNU charset: UTF-8
2017-01-06 11:33:21,557 [ 31] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 9 ms
2017-01-06 11:33:21,567 [ 41] INFO - #com.intellij.util.ui.JBUI - UI scale factor: 1.0
2017-01-06 11:33:21,921 [ 395] INFO - .intellij.idea.IdeaApplication - WM detected: Compiz
2017-01-06 11:33:22,286 [ 760] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor python-terminal-plugin.xml
2017-01-06 11:33:22,624 [ 1098] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor plugin-intelliLang.xml
2017-01-06 11:33:22,995 [ 1469] INFO - llij.ide.plugins.PluginManager - Plugin 'UI Designer' can't be loaded because: Plugin is disabled
2017-01-06 11:33:22,999 [ 1473] INFO - llij.ide.plugins.PluginManager - Plugin 'Heroku integration' can't be loaded because: Plugin is disabled
2017-01-06 11:33:22,999 [ 1473] INFO - llij.ide.plugins.PluginManager - Plugin 'OpenShift integration' can't be loaded because: Plugin is disabled
2017-01-06 11:33:23,000 [ 1474] INFO - llij.ide.plugins.PluginManager - Plugin 'CloudBees integration' can't be loaded because: Plugin is disabled
2017-01-06 11:33:23,000 [ 1474] INFO - llij.ide.plugins.PluginManager - Plugin 'Cloud Foundry integration' can't be loaded because: Plugin is disabled
2017-01-06 11:33:23,000 [ 1474] INFO - llij.ide.plugins.PluginManager - Plugin 'Android Support' can't be loaded because: Plugin is disabled
2017-01-06 11:33:23,105 [ 1579] INFO - llij.ide.plugins.PluginManager - 135 plugins initialized in 1025 ms
2017-01-06 11:33:23,106 [ 1580] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Ant Support (1.0), Application Servers View (0.2.0), AspectJ Support (1.2), Bytecode Viewer (0.1), CFML Support (3.53), CSS Support (163.10154.41), CVS Integration (11), ClearCase Integration (2.0), CoffeeScript (2.0), Copyright (8.1), Coverage (163.10154.41), Cucumber for Groovy (999.999), Cucumber for Java (999.999), DSM Analysis (1.0.0), Database Tools and SQL (1.0), Eclipse Integration (3.0), EditorConfig (163.10154.41), Emma (163.10154.41), Flash/Flex Support (163.10154.41), FreeMarker support (1.0), GWT Support (1.0), Geronimo Integration (1.0), Gherkin (999.999), Git Integration (8.1), GitHub (163.10154.41), GlassFish Integration (1.0), Google App Engine Integration (1.1.4), Gradle (163.10154.41), Grails (9.0), Groovy (9.0), Guice (8.0), HAML (163.10154.41), HTML Tools (2.0), Hibernate Support (1.0), I18n for Java (163.10154.41), IDEA CORE (163.10154.41), IntelliLang (8.0), J2ME (1.0), JBA Cloud Config (163.10154.41), JBoss Arquillian Support (1.0), JBoss Drools Support (1.0), JBoss Integration (1.0), JBoss Seam Pageflow Support (1.0), JBoss Seam Pages Support (1.0), JBoss Seam Support (1.0), JBoss Support (1.0), JBoss jBPM (2.0.0), JSR45 Integration (1.0), JUnit (1.0), Java Bytecode Decompiler (163.10154.41), Java EE: Batch Applications (1.0), Java EE: Bean Validation Support (1.1), Java EE: Contexts and Dependency Injection (1.1), Java EE: EJB, JPA, Servlets (1.0), Java EE: JMS, JSON Processing, Concurrency, Transaction (1.0), Java EE: Java Server Faces (2.2.X.), Java EE: RESTful Web Services (JAX-RS) (1.0), Java EE: Web Services (JAX-WS) (1.9), Java EE: WebSockets (1.0), Java Server Pages (JSP) Integration (1.0), JavaFX (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Jetty Integration (1.0), Kotlin (1.0.5-release-IJ2016.3-1), LESS support (163.10154.41), Markdown support (VERSION), Maven Integration (163.10154.41), Maven Integration Extension (163.10154.41), Osmorc (1.4.9), Perforce Integration (2.0), Persistence Frameworks Support (1.0), Playframework Support (1.0), Plugin DevKit (1.0), Properties Support (163.10154.41), QuirksMode (163.10154.41), REST Client (163.10154.41), Refactor-X (2.01), Remote Hosts Access (0.1), Resin Integration (8.1), SASS support (163.10154.41), SSH Remote Run (0.1), Settings Repository (163.10154.41), Spring AOP/@AspectJ (1.0), Spring Batch (1.0), Spring Boot (1.0), Spring Data (1.0), Spring Integration Patterns (1.0), Spring MVC (1.0), Spring OSGi (1.0), Spring Security (1.0), Spring Support (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Spring WebSocket (1.0), Spy-js (163.10154.41), Struts 1.x (2.0), Struts 2 (1.0), Stylus support (999.999), Subversion Integration (1.1), TFS Integration (999.999), Tapestry support (1.0), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), Thymeleaf (1.0), Time Tracking (1.0), Tomcat and TomEE Integration (1.0), UML Support (1.0), Vaadin Support (1.0), Velocity support (1.0), W3C Validators (2.0), WebLogic Integration (1.0), WebSphere Integration (1.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (163.10154.41), ZKM-Unscramble (1.0), dmServer Support (0.9.5), hg4idea (10.0)
2017-01-06 11:33:23,106 [ 1580] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: .ignore (1.6), BashSupport (1.6.4.163), Ember.js (2016.3.2-0), Handlebars/Mustache (163.9166.8), LiveEdit (163.10154.19), NodeJS (163.10154.19), Python (2016.3.163.125)
2017-01-06 11:33:23,106 [ 1580] INFO - llij.ide.plugins.PluginManager - Disabled plugins: Android Support (10.2.2), Cloud Foundry integration (1.0), CloudBees integration (1.0), Heroku integration (1.0), OpenShift integration (1.0), UI Designer (163.10154.41)
2017-01-06 11:33:23,986 [ 2460] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2017-01-06 11:33:24,089 [ 2563] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/pepe/java/idea-IU/bin/fsnotifier64
2017-01-06 11:33:24,096 [ 2570] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2017-01-06 11:33:24,137 [ 2611] INFO - pi.util.registry.RegistryState - Registry values changed by user:
2017-01-06 11:33:24,137 [ 2611] INFO - pi.util.registry.RegistryState - debugger.watches.in.variables = false
2017-01-06 11:33:25,396 [ 3870] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2017-01-06 11:33:25,435 [ 3909] INFO - gs.impl.UpdateCheckerComponent - channel: release
2017-01-06 11:33:25,734 [ 4208] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:247
2017-01-06 11:33:25,742 [ 4216] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:7
2017-01-06 11:33:25,819 [ 4293] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:71
2017-01-06 11:33:25,821 [ 4295] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:1
2017-01-06 11:33:25,934 [ 4408] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2017-01-06 11:33:26,673 [ 5147] INFO - plication.impl.ApplicationImpl - 100 application components initialized in 4596ms
2017-01-06 11:33:26,681 [ 5155] INFO - .intellij.idea.IdeaApplication - App initialization took 6039 ms
2017-01-06 11:33:27,256 [ 5730] INFO - pl$FileIndexDataInitialization - Initialization done:1513
2017-01-06 11:33:27,690 [ 6164] INFO - exImpl$StubIndexInitialization - Initialization done:434
2017-01-06 11:33:27,815 [ 6289] INFO - ellij.project.impl.ProjectImpl - 24 project components initialized in 554 ms
2017-01-06 11:33:27,816 [ 6290] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2017-01-06 11:33:28,109 [ 6583] INFO - CompilerWorkspaceConfiguration - Available processors: 8
2017-01-06 11:33:29,563 [ 8037] INFO - ellij.project.impl.ProjectImpl - 166 project components initialized in 2454 ms
2017-01-06 11:33:30,391 [ 8865] INFO - le.impl.ModuleManagerComponent - 22 module(s) loaded in 826 ms
2017-01-06 11:33:31,121 [ 9595] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@5dab7b04
2017-01-06 11:33:33,523 [ 11997] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@5d81c007
2017-01-06 11:33:33,763 [ 12237] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 1172ms; general responsiveness: ok; EDT responsiveness: ok
2017-01-06 11:33:35,550 [ 14024] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@235dc459
2017-01-06 11:33:37,077 [ 15551] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 3312ms; general responsiveness: ok; EDT responsiveness: 1/3 sluggish
2017-01-06 11:33:37,326 [ 15800] INFO - tartup.impl.StartupManagerImpl - /home/pepe/dev/max-advisor/.idea case-sensitivity: expected=true actual=true
2017-01-06 11:33:38,626 [ 17100] INFO - ution.rmi.RemoteProcessSupport - /usr/lib/jvm/java-8-oracle/jre/bin/java -Djava.awt.headless=true -Didea.version==2016.3.2 -Xmx768m -Didea.maven.embedder.version=3.3.9 -Dfile.encoding=UTF-8 -classpath /home/pepe/java/idea-IU/lib/resources_en.jar:/home/pepe/java/idea-IU/lib/log4j.jar:/home/pepe/java/idea-IU/lib/snappy-in-java-0.5.1.jar:/home/pepe/java/idea-IU/lib/jdom.jar:/home/pepe/java/idea-IU/lib/annotations.jar:/home/pepe/java/idea-IU/lib/util.jar:/home/pepe/java/idea-IU/lib/jna-platform.jar:/home/pepe/java/idea-IU/lib/oromatcher.jar:/home/pepe/java/idea-IU/lib/trove4j.jar:/home/pepe/java/idea-IU/lib/jna.jar:/home/pepe/java/idea-IU/plugins/maven/lib/lucene-core-2.4.1.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven-server-api.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3-server-common.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3-server-lib/nexus-indexer-3.0.4.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3-server-lib/nexus-indexer-artifact-1.0.1.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3-server-lib/archetype-catalog-2.2.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3-server-lib/archetype-common-2.2.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3-server-lib/maven-dependency-tree-1.2.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3-server-impl.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/maven-compat-3.3.9.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/org.eclipse.sisu.plexus-0.3.2.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/slf4j-api-1.7.5.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/maven-settings-builder-3.3.9.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/maven-plugin-api-3.3.9.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/aether-transport-wagon-1.0.2.v20150114.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/maven-builder-support-3.3.9.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/jsr250-api-1.0.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/aether-util-1.0.2.v20150114.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/cdi-api-1.0.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/plexus-interpolation-1.21.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/wagon-http-2.10-shaded.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/plexus-utils-3.0.22.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/maven-core-3.3.9.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/commons-lang3-3.4.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/javax.inject-1.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/maven-embedder-3.3.9.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/org.eclipse.sisu.inject-0.3.2.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/aether-connector-basic-1.0.2.v20150114.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/aopalliance-1.0.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/wagon-file-2.10.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/plexus-component-annotations-1.6.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/commons-io-2.2.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/maven-model-builder-3.3.9.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/maven-model-3.3.9.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/maven-repository-metadata-3.3.9.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/guava-18.0.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/maven-artifact-3.3.9.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/commons-cli-1.2.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/commons-lang-2.6.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/plexus-cipher-1.7.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/maven-aether-provider-3.3.9.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/maven-settings-3.3.9.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/plexus-sec-dispatcher-1.3.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/wagon-http-shared-2.10.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/slf4j-simple-1.7.5.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/jsoup-1.7.2.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/wagon-provider-api-2.10.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/aether-spi-1.0.2.v20150114.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/guice-4.0-no_aop.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/aether-api-1.0.2.v20150114.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/lib/aether-impl-1.0.2.v20150114.jar:/home/pepe/java/idea-IU/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar org.jetbrains.idea.maven.server.RemoteMavenServer
2017-01-06 11:33:39,170 [ 17644] INFO - ution.rmi.RemoteProcessSupport - Port/ID: 21104/Maven3ServerImpl2697a714
2017-01-06 11:33:41,977 [ 20451] INFO - tor.impl.FileEditorManagerImpl - Project opening took 14919 ms
2017-01-06 11:33:55,172 [ 33646] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 45ms; general responsiveness: ok; EDT responsiveness: ok
2017-01-06 11:33:55,314 [ 33788] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 57ms; general responsiveness: ok; EDT responsiveness: ok
2017-01-06 11:33:57,748 [ 36222] INFO - hint.version.JSHintVersionUtil - JSHint 2.9.1 is loaded from /home/pepe/.IntelliJIdea2016.3/system/javascript/jshint/jshint-2.9.1.js
2017-01-06 11:33:59,708 [ 38182] INFO - ter.rhino.RhinoFunctionManager - [ApplicationImpl pooled thread 3] JSHINT 2.9.1 script rhino compilation took 1907.14 ms
2017-01-06 11:34:00,533 [ 39007] INFO - ter.rhino.RhinoFunctionManager - [ApplicationImpl pooled thread 3] JSHINT 2.9.1 function extraction took 824.54 ms
2017-01-06 11:34:20,654 [ 59128] WARN - api.vfs.impl.local.FileWatcher - The current <b>inotify</b>(7) watch limit is too low. <a href="https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit">More details.</a>
2017-01-06 11:34:24,192 [ 62666] WARN - api.vfs.impl.local.FileWatcher - Project files cannot be watched (are they under network mount?)
2017-01-06 11:34:24,192 [ 62666] INFO - tartup.impl.StartupManagerImpl - unwatched roots: [/home/pepe/dev/max-advisor/com.exagens.max.admin-ear, /home/pepe/dev/max-advisor, /home/pepe/dev/max-advisor/com.exagens.max.advisor-ear, /home/pepe/dev/max-advisor/com.exagens.max.business, /home/pepe/dev/max-advisor/com.exagens.max.business.connector.api, /home/pepe/dev/max-advisor/com.exagens.max.business.connector.apollo, /home/pepe/dev/max-advisor/com.exagens.max.business.connector.exagensbank, /home/pepe/dev/max-advisor/com.exagens.max.business.connector.mock, /home/pepe/dev/max-advisor/com.exagens.max.business.database, /home/pepe/dev/max-advisor/com.exagens.max.business.web, /home/pepe/dev/max-advisor/com.exagens.max.business.web.client, /home/pepe/dev/max-advisor/com.exagens.max.console.business, /home/pepe/dev/max-advisor/com.exagens.max.demo.advisor-ear, /home/pepe/dev/max-advisor/com.exagens.max.demo.bank-ear, /home/pepe/dev/max-advisor/com.exagens.max.demo.bank.business, /home/pepe/dev/max-advisor/com.exagens.max.demo.bank.web, /home/pepe/dev/max-advisor/com.exagens.max.apollo-ear, /home/pepe/dev/max-advisor/com.exagens.max.business.help, /home/pepe/dev/max-advisor/com.exagens.max.tools, /home/pepe/dev/max-advisor/com.exagens.max.uaparser, /home/pepe/dev/max-advisor/com.exagens.max.web.marketing, /home/pepe/dev/max-advisor/com.exagens.max.web.marketing.media]
2017-01-06 11:34:24,192 [ 62666] INFO - tartup.impl.StartupManagerImpl - manual watches: [/home/pepe/dev/max-advisor]

0

Please provide the output from

 

cat /proc/sys/fs/inotify/max_user_watches

 

Can you confirm that the problem doesn't occur if you rollback to 2016.3.1 (or the version you have used before)?

0

cat /proc/sys/fs/inotify/max_user_watches
524288

How can I easily rollback? I need to download the previos version and replace it right?

 

0

Can you send me a link to the version 2016.2?

Thanks.

0

Is there any resolution to this issue ?  I'm having a similar problem on Centos 7 running in VMWare guest accessing shared folders on Windows 10 Host.

PHPStorm version 2019.1.2

Thanks,

 

0

Native file watcher (fsnotifier) will not work for the shared and network folders, it's OS technical limitation. The only solution is to keep the projects on the local file system.

0

In the Centos, there directories are mapped as local drives... Is there any way to disable Native File watcher (fsnotifier),  OR at least exclude some directories ?

 

0

Add -Didea.filewatcher.disabled=true in Help | Edit Custom VM Options and restart the IDE.

6

OK ! Finally we got a solution. Thank you !!

1

-Didea.filewatcher.disabled=true in Help | Edit Custom VM Options 

Only supress the warning dialog,Scanning files to index is still slow.Takes m about 10 mins

0

Sima Yi What is the OS and how the project's folder is mounted? 

Dows it help to clear system caches and reset project's indexes (File | Invalidate caches)? 

If no, please quit IntelliJ IDEA, clean logs folder, reproduce the issue and share the newly generated logs compressed via YouTrack: https://youtrack.jetbrains.com/newIssue?project=IDEA

0

I have this issue, my drive is local, not on the network, I am on a Linux machine with multiple drives, my workspace is not in the OS's drive, but in the other drives (that are anyway installed on the PC), does that justify why it is slow?

In other words my workspace is not in /home/* but in /media/* (and so the OS and workspace are in different drives).

0

Please contact support at https://intellij-support.jetbrains.com/hc/requests/new with the logs (Help | Collect Logs and Diagnostic Data) and the output from `./fsnotifier --selftest` command in the IDE bin subdirectory.

0

Please sign in to leave a comment.