#35 vhdl-tool server testing

Open
opened 1 month ago by marek · 1 comments
marek commented 1 month ago

Hi,

This is more a setup question and I guess not an issue.

I have a spare linux(ubuntuOS) machine where I have installed

LSP, Sublimelinter, and vhdl-tool executable visible in $path.

Before testing the tool in the editor, I ran a quick test as suggested

from terminal to validate the conf file. After parsing all files, I hit

an error of not space available in device. Later it simply hangs

Am I missing a flag for compilation? or do I need to reconfigure something

in the operative systeM?


marek@marekpc:~/Project$ vhdl-tool server

Creating socket

Killing existing server

Reading files ... Done (0.2112 s)

CPUs: 4

Parsing done (30.2105 s)

(344 of 344) fpga_file_top.vhd ... ... ... Found 3 libraries

Successfully parsed 327 files

Creating database ... Done (0.0381 s)

vhdl-tool: addWatch: resource exhausted (No space left on device)

^C marek@marekpc:~/Project$


Hi, This is more a setup question and I guess not an issue. I have a spare linux(ubuntuOS) machine where I have installed LSP, Sublimelinter, and vhdl-tool executable visible in $path. Before testing the tool in the editor, I ran a quick test as suggested from terminal to validate the conf file. After parsing all files, I hit an error of not space available in device. Later it simply hangs Am I missing a flag for compilation? or do I need to reconfigure something in the operative systeM? -------------- marek@marekpc:~/Project$ vhdl-tool server Creating socket Killing existing server Reading files ... Done (0.2112 s) CPUs: 4 Parsing done (30.2105 s) (344 of 344) fpga_file_top.vhd ... ... ... Found 3 libraries Successfully parsed 327 files Creating database ... Done (0.0381 s) vhdl-tool: addWatch: resource exhausted (No space left on device) ^C marek@marekpc:~/Project$ --------------
vhdl-tool commented 4 days ago
Owner

It looks like it's not able to watch the VHDL files on disk for changes. It's possible your kernel is configured to have too few inotify resources.

You can check this with:

$ cat /proc/sys/fs/inotify/max_user_watches

And increase it with:

$ sudo sysctl fs.inotify.max_user_watches=1048576

Hopefully, increasing it should resolve the problem.

BTW, its actually supposed to hang after parsing all the files. It is now ready to respond to json-rpc requests. I will clarify this in the docs.

It looks like it's not able to watch the VHDL files on disk for changes. It's possible your kernel is configured to have too few inotify resources. You can check this with: $ cat /proc/sys/fs/inotify/max_user_watches And increase it with: $ sudo sysctl fs.inotify.max_user_watches=1048576 Hopefully, increasing it should resolve the problem. BTW, its actually supposed to hang after parsing all the files. It is now ready to respond to json-rpc requests. I will clarify this in the docs.
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.