something no very clean in /proc directory

Sometimes, I don’t know the exact circumstances but when a process is in
an abnormal state (!?!), psin is eating the memory until the maximum and
exit.
In a prog of mine, I use the example you give about
procmgr_event_notify() to know if a particular process is alive or not.
This morning, after having closed a phindows which seemed not respond, I
saw the memory bargraph (on another console of course!) going to the
maximum until my program be killed.
As you can see in the doc about procmgr_event_notify() (where you can
see that a closedir() is missing), the only thing done is the doc is
readding /proc. So I think that sometimes, it’s possible to go round in
circle in /proc.

What’s your opinion?

Regards, Alain.