Sybase DC35823-01-1500-04 manual Stopping servers

Models: DC35823-01-1500-04

1 150
Download 150 pages 34.25 Kb
Page 44
Image 44
kill -9

Stopping servers

If Adaptive Server is configured with a memory size that is greater than the MAXSHMSEGSIZE parameter in the operating system then Adaptive Server may create additional shared memory segments and for every additional shared memory segment that it creates, an additional file with SERVER_NAME.srg[N] (where N ranges from 0 – N), is created under $SYBASE/$SYBASE_ASE.

When Adaptive Server is shut down in a normal manner, the shared memory files are automatically removed. If Adaptive Server crashes or is stopped with the kill -9command, these files are not deleted. You need read and write permissions on these files to restart Adaptive Server after a crash or a command, because Adaptive Server must be able to overwrite the previously created shared memory files.

If Adaptive Server or Backup Server is killed abnormally it also leaves shared memory segments. Use the ipcs and ipcrm commands to identify and remove these shared memory segments that have “NATTACH” count as “0”.

See the UNIX man pages for more information about ipcs and ipcrm.

28

Adaptive Server Enterprise

Page 44
Image 44
Sybase DC35823-01-1500-04 manual Stopping servers