Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
DSS will not die with a regular kill on Linux
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DSS will not die with a regular kill on Linux



Hi, folks. I package DarwinStreamingServer for Mandriva. Doing some work
on the package today, I noticed the initscript could not shut the server
down properly. I investigated. It turns out that when the server is
launched, two processes are run, one as root, one as dss (or qtss,
upstream, I expect, we patch stuff to dss). If you try and kill them
both simultaneously with a regular SIGTERM, the one that runs as root
does not die. The other one does, but it is immediately respawned by the
root process (reminds me of some Windows spyware I know...)

The only way to actually kill both processes is to use a SIGKILL, which
is obviously not ideal. For now I've patched our initscript to stop the
service this way, but it'd be much better if they stopped properly on a
SIGTERM.

Is this a general issue, or something specific to us (MDV) for some
reason? Anyone have any ideas on fixing it? Thanks!
--
adamw

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.