~dannypsnl

Taiwan

https://g0v.social/@dannypsnl

巫術 • 展開

https://dannypsnl.me

Trackers

~dannypsnl/violet-dev

Last active 1 year, 6 months ago

#132 Too many open files (caused by assets) a month ago

Comment by ~dannypsnl on ~jonsterling/forester

ulimit -n can get the number, if can ensure these descriptors will not live long (e.g. same as the whole process live time), then I think can make a queue that accessing file will be blocked when the queue is full, until some descriptors been closed.

#132 Too many open files (caused by assets) a month ago

on ~jonsterling/forester

~dannypsnl Although, it would be nice to verify that you indeed have more assets than the output of ulimit -n. On my system that number is 99999...

#132 Too many open files (caused by assets) a month ago

Ticket created by ~dannypsnl on ~jonsterling/forester

The error I face is

Fatal error: exception Eio.Io Multiple_io
- Multiple_io
  - Multiple_io
    - Multiple_io
      - Multiple_io
        - Multiple_io
          - Multiple_io
            - Multiple_io
              - Multiple_io
                - Multiple_io
                  - Multiple_io
                    - Multiple_io
                      - Multiple_io
                        - Unix_error (Too many open files, "openat",

and follows many file-paths in assets/.

I check the lib/compiler/Phases.ml, then I found a place that max_fiber is not set, once I add the limit then the error is solved.

#10 syntax: let pattern binding 6 months ago

Comment by ~dannypsnl on ~dannypsnl/violet-dev

REPORTED RESOLVED CLOSED

#8 pattern of pair 6 months ago

Comment by ~dannypsnl on ~dannypsnl/violet-dev

REPORTED RESOLVED CLOSED

#1 complete SIT (inductive types) 6 months ago

Comment by ~dannypsnl on ~dannypsnl/violet-dev

REPORTED RESOLVED CLOSED

#19 pattern matching on type, only for inductive types 6 months ago

Comment by ~dannypsnl on ~dannypsnl/violet-dev

This is actually a problematic solution

#19 pattern matching on type, only for inductive types 6 months ago

Comment by ~dannypsnl on ~dannypsnl/violet-dev

REPORTED RESOLVED CLOSED

#18 record access syntax `.field` 6 months ago

Comment by ~dannypsnl on ~dannypsnl/violet-dev

REPORTED RESOLVED CLOSED

#20 `require` statement 6 months ago

Comment by ~dannypsnl on ~dannypsnl/violet-dev

REPORTED RESOLVED CLOSED