Domain socket problem

2007-12-24 22:12:00

Hi all,
one of our applications is using domain sockets to transfer data between two
processes.
After 10 messages (if nobody is reading) the sending process will crash
(_so_send())
or if the sending process is faster then the reading process.

In Linux we solved the problem by increasing the message queue of the
sockets:
echo "50" > /proc/sys/net/unix/max_dgram_qlen

Is there a similar way in Solaris_8 to do this?
Is there a way to check and monitor the socket buffers?

I tried ndd but didn't find any useful parameter

ndd -get /dev/udp udp_max_buf
says: 262144

How to require the sending process to check the buffer first before it send
a message to the socket?

cu
Pierre

Comments

Got something to say?

You must be logged in to post a comment.