Originally posted by xoggoth
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
test please delete
Collapse
This is a sticky topic.
X
X
Collapse
-
-
-
-
Just watched the last two episodes of Modus series 2, convinced the theme tune could almost belong in a Bond movie.
TFBSZ…Maybe we ain’t that young anymoreComment
-
I've been getting very confused tonight, because something was slinging task invocations into my Celery queue that used an old task that has now moved, and therefore the invocations failed. But none of the current code that invokes such tasks was using the old task.
In the end, I stopped all the background processes that might have anything to do with it, yet these task invocations still kept on coming. I had no idea where they might be coming from
Finally I grepped the process list - and lo and behold, no less than three processes were running the task-invoking code, all with a parent process ID of 1, and at least one of them clearly using the old task
It turns out that a process can get taken over by the root process if it's otherwise healthy but its parent process dies. At three points in the past, the supervisord process must have died and left these zombie processes running, which were of course unknown to the new instance of supervisord when it was restarted by systemd. (I don't even use supervisord any more - it's all under systemd now.)
So I killed the zombies gracefully, and everything went back to normal
Tomorrow, I'm going to implement my plan to just spin up a new server every few days and dispose of the old one. If I'd done that already, it would have saved me hours of digging around in Linux internals this evening
Goodnight allComment
-
-
-
-
Morning denizens
Grey out
BUT - and this constitutes "a nice change" - it isn't freezing coldComment
-
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Expert Accounting for Contractors: Trusted by thousands Today 14:47
- Finish the song lyric Today 12:05
- A quick read of the taxman’s Spotlight 67 may not be enough Today 09:27
- Contractor MVL Solution from SFP Yesterday 12:53
- Gary Lineker and HMRC broker IR35 settlement on the hush Yesterday 09:10
- IT contractor jobs market sinks to four-year low in November Dec 10 09:30
- Joke of the Day Dec 9 14:57
- How company directors can offset employer NIC rising to 15% Dec 9 10:30
- Contractors, seen Halifax’s 18-month fixed rate remortgage? Dec 5 09:59
- Contractors, don’t be fooled by HMRC Spotlight 67 on MSCs Dec 4 09:20
Comment