I am not sure how a process can have “several” parent processes, since
this would imply that it has been started by more than one process, which
doesn’t make sense. I even find it hard to imagine a process even having
ONE “parent”, particularly because Windows doesn’t really have the concept
of a process parent unless you create a process group, and that takes a
special effort. It is also meaningless to say you are using CreateProcess
without showing us the exact call plus the deinitions and values of all
variables involved, because it is impossible to tell, from the vague
handwave, whether or not yoy have actually crated a process group. The
concept of “parent” is most frequently one that exists solely in the mind
of the programmer.
Whenever you get a message about quota, this suggests that there is some
administrative limit in place, which has nothing to do with either memory
or disk space. You should probably investigate the administrative limits.
I do not know where these are set.
A more serious question is why you would want to create 80 prccesses; this
sounds like a port of a bad Unix design (unix programmers, of which I was
once one, just LOVE to create processes)
Since the concept of “parent” is largely irrelevant, you should first
investigate what administrative limits are in place. Note that with the
concept of process group, the quota policy of the first process in the
group (loosele, the “parent”) is applied to all processes that it creates.
joe
Hi,
I have an application that calls CreateProcess 80 times. Under a
protected environment, the application has several parent processes. In
that case, CreateProcess fails with ERROR_NOT_ENOUGH_QUOTA. The computer
has plenty of memory and disk space.
The error does not appear if the application is launched from the
Explorer. I would like to find out which of the parents are influencing
the application quota.
Thanks for your time.
Calin
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer