Menu

#154 kill -9 does not remove shared memory segments

V1.2 Beta
open
General (19)
5
2008-04-18
2008-04-18
No

How to reproduce:
Start the csqlserver.
Open another terminal.
run ps -ef | grep csqlserver
kill -9 <pid of csqlserver>
server running in another terminal gets killed.
run csqlserver again.

Observed behavior:
it fails with the following message
5326:3086379344:DatabaseManagerImpl.cxx:106:Shared Memory already exists
5326:3086379344:DatabaseManagerImpl.cxx:108:Shared memory create failed
System Database Initialization failed

Expected behavior:
The server should start cleanly without any error.

Solution:
The shared memory segments created during start up do not get removed from the system. Hence the error Shared Memory already exists' appear.

Shared memory segments created during startup should be removed gracefully when server gets killed.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.