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
- Autumn Budget 2024: Reeves raids contractor take-home pay Oct 31 14:11
- How Autumn Budget 2024 affects homes, property and mortgages Oct 31 09:23
- Autumn Budget 2024: Reeves raids contractor take-home pay Oct 31 09:20
- Autumn Budget 2024: Umbrella companies hit, Employer NICs hiked, and BADR heading for 18% Oct 30 16:54
- Autumn Budget 2024: chancellor’s full speech Oct 30 16:34
- RecExpo got told this about Labour’s Employment Rights Bill… Oct 30 09:10
- A limited company just got one over HMRC on VAT; here’s how Oct 29 09:24
- Business Account with ANNA Money Oct 28 15:51
- Top 5 Autumn Budget areas for IT contractors to tick off Oct 28 09:30
- Top 5 umbrella company expenses things to still do in 2024 under 2016's T&S rules Oct 24 08:21
Comment