Panicing here a bit. Have a service running under windows XP that does two 
things.

First it runs an Indy TCPServer. Uses this for communication with remote
control apps.

Second, it runs manages a bunch a extremely cpu intensive processes,
starting them and stopping them as requested. It does this largely so
console application (written in fortran) can be started on machine startup
and run in background.

Now, first indicartion of problem was when got error from service as it
tried to start these processes.
System error - insufficient resources etc.

hmm. Not a memory problem. pretty of main memory, memory usage by
the service unchanging and small. Stop service, uninstall, install, start.
Fails to start. This time the event log says TCP Server failed to start -
"Address and port already in use". Say what?? The server was uninstalled.
Anyone know why address and port might be tied up. I have stopped and
started the service many many times without problems. Had to reboot in the
end.

The out of resources. What a strategy for finding out what resources its out
of? Does writing output to a filestream opened on "NL:" actually consume
any resource??

Any ideas welcome.



----------------------------------------------------------
Phil Scadden, Institute of Geological and Nuclear Sciences
764 Cumberland St, Private Bag 1930, Dunedin, New Zealand
Ph +64 3 4799663, fax +64 3 477 5232

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to