Someone turn off the server by cutting power of the server.<br>When the machine is power on, I found my twisted application could not start and emit the following error.<br><br><div style="margin-left: 40px;">Another twistd server is running, PID 3398<br>
<br>This could either be a previously started instance of your application or a<br>different application entirely. To start a new one, either run it in some other<br>directory, or use the --pidfile and --logfile parameters to avoid clashes.<br>
</div><br>After I deleted twistd.pid, it could start normally.<br><br>I checked if there is process with PID 3398, but there wasn&#39;t.<br><br>What might cause this problem?  How to avoid it?<br><br>--<br>look to the things around you,the immediate world around you, if you are alive,it will mean something to you ——Paul Strand<br>