2014-11-29 16 views
5

Ubuntu 14.04 LTS'de en yeni tipafe aktivatörü var. Ayrıca Scala/SBT vb. En son sürümüne de sahibim.Activator Active Stocks başlatıcı uygulaması java.io.IOException ile çalıştırılamıyor mu?

Active Stocks uygulamasına başladığımda aşağıdaki hatayla karşılaşıyorum java.io.IOException: User limit of inotify watches reached. Ben bu nedir hiçbir fikri ...

[email protected]:~/code/activestocks$ ./activator 
[info] Loading project definition from /home/bravegag/code/activestocks/project 
[info] Set current project to reactive-stocks (in build file:/home/bravegag/code/activestocks/) 
[reactive-stocks] $ ~run 

java.io.IOException: User limit of inotify watches reached 
    at sun.nio.fs.LinuxWatchService$Poller.implRegister(LinuxWatchService.java:261) 
    at sun.nio.fs.AbstractPoller.processRequests(AbstractPoller.java:260) 
    at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:326) 
    at java.lang.Thread.run(Thread.java:745) 
[trace] Stack trace suppressed: run last compile:run for the full output. 
[error] (compile:run) java.lang.reflect.InvocationTargetException 
[error] Total time: 0 s, completed Nov 29, 2014 4:57:15 PM 
1. Waiting for source changes... (press enter to interrupt) 

denetleme OS görüyorum limitleri:

[email protected]:~$ cat /proc/sys/fs/inotify/max_user_instances 
128 
bravega[email protected]:~$ cat /proc/sys/fs/inotify/max_user_watches 
8192 
+1

Bu değeri yükseltmeyi denediniz: sudo sysctl fs.inotify.max_user_watches = 30000'? – Salem

+0

Evet, gerçekten bunu /etc/sysctl.conf içine koymak problemi kalıcı olarak çözüyor ... cevap ve kabul edeceğim. –

cevap

13

benim soloution ama onun ait olduğu anwser olması her zaman güzel:

$ sudo sysctl fs.inotify.max_user_watches=30000 

sorunu yakın bir şekilde çözecektir. O $ activator run zamanki gibi çalıştıktan sonra http://www.la-samhna.de/samhain/manual/finotify.html

:

aksi basitçe fs.inotify.max_user_watches=30000 ekleyerek /etc/sysctl.conf değeri set aslında burada bulunabilir olmuyorsa ne

Referansları (yeni satır unutmayın).

İlgili konular