how to print the number of file open or the number of proces lazarus / 3-General ---------------------------------------------------------------------- onionsjk · 2008-02-24 07:45 Hi, I have made a program in 0.94 under  linux(unbuntu 7.04). It uses postgresql+ZEOS component and has several timers which uses TProcess. I am getting message "Failed to Fork process" after one day running. There must be a point that process is left unclosed.  I am unsure whether it coms from. So I need to print the current number of files open and number of process open. Any help would be appreciated.  Thank onionsjk