- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
There is a fixed pseudo-handle that can be used in process-related Win32 API calls to refer to the current process, but you shouldn't normally be calling them directly from C#, and it isn't a process ID either.
Admin
and Tamil is Indian .
Unless of course , you are a rebellious Tamil nationalist .
Admin
The REAL WTF is the missing "process monitoring" script.
There is monit, God, you can use upstart.
But monitoring key business process by a boss and wait for his e-mail to manually start it? This is TRWTF!!
Admin
Over the course of a day, if the process is respawning somewhat often, the PID at a given time will for all intents and purposes be random. Over years as in this case: definitely. This is one of the fundamental pillars of probability theory, enabling us to use theoretically perfect random ("stochastic", really) variables to describe real life processes. So the "assumed random" limitation is not really a limitation.
Admin
How much will management pay for a project to "stabilise" the platform? This is just the quality equivalent of the well known speed-up-loop, the "sleep" you take out to convince others that important development just happened.
Admin
Right or wrong, akismet thinks my comment is spam. Verto.
Admin
Since when does 'kari' == 'curry'?
It is exactly as I said.
Admin
I don't think that he was trying to refute he, he was trying to add something on without going into the history of the Tamil Tigers (not the ones from Detroit).
Admin
Except the default is SIGTERM (that's what the kill that happens at 22:12 in the article sends).
Captcha: wisi. I'm a wisi guy today.
Admin
I've worked with server platforms that spawn and recycle thousands of children a day. Haven't you guys ever worked with Apache httpd 1.3? It was only the dominant web server for fifteen years.
Admin
Admin
Admin
I figure he's calling it Turkish pizza because that's what the places that sell it call it, so you'll probably have to blame some Turkish-American person from the latter half of the 20th century rather than the submitter or Remy Porter.
Admin
TRWTF is, other than that incorrect cron, why the core application hanged, instead of shutdown, if the cause was a cron, like other mentioned, was probably not the culprit.
Image-captcha-so-2003: nimis : Nimis (Slovene: Neme) is a town and comune of 2,817 located in the Italian province of Udine, about near to the border with Slovenia. It is situated at the foot of Mount Bernadia, home to a World War I Italian fort and a sweet white wine, Ramandolo.
Admin
The author also forgot that there's a username field. Thus what this does is: at 22:12 each night run '21342' as the user called 'kill'.
Also, as noted by others, given that the service was not interrupted, its PID could not have stayed 21342 for all of the kills (though killall or pkill, or whatever could have worked).
Admin
Maybe they're in the UK, which would make UTC local.
Admin
12 22 * * * kill 21342
That particular cron line will run a job at 22:12 (e.g. 10 in the evening, not at midday)
Admin
Clearly, it was not the best solution for whatever problem it was solving, but I would suspect it was a developer who could drop unreviewed scripts into production, but was not allowed to touch production itself, and was trying to correct an earlier error that had resulted in a process that he was motivated to clean up quietly. I'm a developer myself, and I know we can't be trusted.
Admin
Admin
The real WTF is "Steve restarted the service before investigating"
Admin
Admin
Late to this party, but I feel compelled to point out that for some reason, nobody jumped on the other RWTF:
When looking for the cause of a crash, one would scrutinize the syslog, which (among other things), keeps tabs on cron jobs. A job issuing a random kill should have stood out.
Admin
Or he just ssh'd from mac into Linux server. Didn't think about that?