Can anybody offer some help. We have developed a client-server
application where the client starts one or more servers using the
system() function. The servers respond, as is normal, to requests
made by the client. Communication between the client and the server/s
is via shared memory. Our client and server/s combination has worked
well on a single processor machine (Sun Ultrasparc 60 running Solaris
2.6). Unfortunately, when we try to run the same client-server
application on a Sun multi-processor machine one of the servers will
crash for no apparent reason. Each time we try to run the program it
will crash at a different point. When we monitor the running client
and server/s we note that the cpu that the client and server/s
processes are running on, at a given point in time, are frequently
different. I suspect that switching processors in this way, could be
contributing or indeed the cause of the problem.
I'm therefore, wishing to find out whether it is possible to force the
client and the server/s to run on a single processor on a
multiprocesor machine and that this processor should be the same for
both the client and the server/s.
I would appreciate any help that anyone can give me on this problem.
Many thanks.
Regards,
Adrian.