"Narayanan Subramaniam Iyer" <bunix@rediffmail.com> writes:
> 1) When 3 or 4 clients connect to this server, the pids are created and
> those pids are not killed even after the client disconnects.
In that case your clients are not really disconnecting. Take a closer
look at your client-side software.
regards, tom lane