Topic:
Peak operation on socket failed, Volume processing has terminated with error.
Description:
Running Variance Cube and get error message: Peak operation on socket failed, Volume processing has terminated with error.
Solution:
There are 2 possibilities for this error: 1.) Check to see that in File > Survey that you have selected more than one line to do the variance cube processing on. 2.) Shared memory segments need to be increased on the workstation. For networked Sun architecture, the default of 6 segments for shared memory needs to be changed to 25. To do this, do the following : A) Increase the number of shared memory segments. To do this you must change the kernal config file. 1. cd /sys/sun4m 2. cd conf 3. Edit the GENERIC file or the copied version (whichever is later). To increase the shared memory parameter SHMSIZE, add in the following line to the bottom of the file (unless it already exists then change it ) options SHMSIZE= (NEW VALUE HERE) Please remember that the value for SHMSIZE is in kilobytes and that the default is set to 1024. If you wish to increase it to 2 megabytes, the value would be 2048. To increase the shared memory parameter SHMMNI, add in the following line to the bottom of the file ( again change it if it exists). This should be set to 25. options SHMMNI= 25 4. Reboot the machine Any and all changes to these parameters are based on the assumption that the above file contains the following entries uncommented: options IPCMESSAGE #System V IPC message facility options IPCSEMAPHORE #System V IPC semaphore facility options IPCSHMEM #System V IPC shared-memory facility B) After the above is accomplished, remove all HTP* files from your home directory. C) run ipcs (This will produce a list of memory ids that are allocated) run ipcrm -m (memory id) -m (memory id) For example: IPC status from worf as of Tue Jun 6 17:28:22 1995 T ID KEY MODE OWNER GROUP Message Queues: Shared Memory: m 900 0x00000000 --rw-rw---- tdl gqs m 101 0x00000000 --rw-rw---- tdl gqs m 102 0x00000000 --rw-rw---- tdl gqs m 103 0x00000000 --rw-rw---- tdl gqs m 104 0x00000000 --rw-rw---- tdl gqs m 105 0x00000000 --rw-rw---- tdl gqs m 506 0x00000000 --rw-rw---- tdl gqs m 507 0x00000000 --rw-rw---- tdl gqs m 509 0x00000000 --rw-rw---- tdl gqs Semaphores: Then run ipcrm -m 900 -m 101 -m 102 -m 103 -m 104 -m 105 -m 506 -m 507 -m 508 -m 509
Last Modified on: 07-APR-00