....
> usage, so you can keep limits pretty much low, thus not being affected
>
> by so-called "DoS".
>
>
>
> Nevertheless any ideas on how to fix our glob(3)?
>
Setting limits doesn't help. Better fix libc
Fix:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gen/glob.c.diff?r1=1.23.4.1&r2=1.23.4.2&f=h