Hi,

We have a server program that logs by streaming the log messages to
cout/cerr.  cout and cerr are redirected to a log file by using freopen
on stdout and stderr (done by the parent process after fork, but before
exec).

The server program has many instances running concurrently, logging to
the same file.

This all works fine most of the time, but occassionally, when under
heavy load, the cout/cerr streaming stops working.  Any log messages
written using fprintf still work.

This is all compiled using gcc 3.4.4 on Solaris 9.

Any ideas anyone?

Al
_______________________________________________
Help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to