Mysterious growing remote processes

William E. Davidsen Jr davidsen at steinmetz.ge.com
Mon Feb 13 22:35:10 AEST 1989


  I have been developing an application under Xenix/386, and have
recently been letting a few users test it. When I run the application
from the console, accounting shows that the average process size is
about 115k. When run from remote dialin the size is larger, 300-1400k.

  I haven't a clue why this should be so... there is no dynamic
allocation of memory in the program, and no recursion. It's not a matter
of how the user interract, because I can dial in and force the same
growth doing my normal activities.

  Looking at the accounting, there is no obvious connection between the
average size and the amount of i/o, the connect time, the CPU time, or
the connecting line baudrate.

  The program performs simple transaction processing, take one command
from the user, accept or return information, possibly update a database,
and repeat until user disconnect. I confess I haven't a clue what this
is doing, hopefully someone else will have seen something like this and
give me a hint.
-- 
	bill davidsen		(wedu at ge-crd.arpa)
  {uunet | philabs}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me



More information about the Comp.unix.xenix mailing list